#include <CFAlgoQRatio.h>
Public Member Functions | |
CFAlgoQRatio () | |
Default constructor. More... | |
float | Float (util::GeometryUtilities const &, const std::vector< const cluster::ClusterParamsAlg * > &clusters) override |
void | Report () override |
void | Reset () override |
Function to reset the algorithm instance, called together with manager's Reset() More... | |
void | SetQRatioCut (float cut) |
Setter for the minimum value for charge ratio (below this value Float() returns -1) More... | |
Public Member Functions inherited from cmtool::CMAlgoBase | |
CMAlgoBase () | |
virtual | ~CMAlgoBase ()=default |
virtual void | EventBegin (const std::vector< cluster::ClusterParamsAlg > &) |
virtual void | EventEnd () |
virtual void | IterationBegin (const std::vector< cluster::ClusterParamsAlg > &) |
virtual void | IterationEnd () |
void | SetAnaFile (TFile *fout) |
Setter function for an output plot TFile pointer. More... | |
virtual void | SetVerbose (bool doit=true) |
Setter function for verbosity. More... | |
Protected Attributes | |
float | _qratio_cut |
Protected Attributes inherited from cmtool::CMAlgoBase | |
TFile * | _fout |
TFile pointer to an output file. More... | |
bool | _verbose |
Boolean to choose verbose mode. Turned on if CMergeManager/CMatchManager's verbosity level is >= kPerMerging. More... | |
User implementation for CFloatAlgoBase class This algorithm compares charge ratio of clusters to find a match
Definition at line 25 of file CFAlgoQRatio.h.
cmtool::CFAlgoQRatio::CFAlgoQRatio | ( | ) |
|
overridevirtual |
Core function: given a set of CPANs, return a float which indicates the compatibility the cluster combination.
Reimplemented from cmtool::CFloatAlgoBase.
Definition at line 20 of file CFAlgoQRatio.cxx.
|
overridevirtual |
Optional function: called after each iterative approach if a manager class is run with verbosity level <= kPerIteration. Maybe useful for debugging.
Reimplemented from cmtool::CMAlgoBase.
Definition at line 72 of file CFAlgoQRatio.cxx.
|
overridevirtual |
Function to reset the algorithm instance, called together with manager's Reset()
Reimplemented from cmtool::CMAlgoBase.
Definition at line 14 of file CFAlgoQRatio.cxx.
|
inline |
Setter for the minimum value for charge ratio (below this value Float() returns -1)
Definition at line 55 of file CFAlgoQRatio.h.
|
protected |
Definition at line 61 of file CFAlgoQRatio.h.