#include <CFAlgoTimeProf.h>
Public Member Functions | |
CFAlgoTimeProf () | |
Default constructor. More... | |
virtual | ~CFAlgoTimeProf () |
Default destructor. More... | |
virtual float | Float (const std::vector< const cluster::ClusterParamsAlg * > &clusters) |
virtual void | Report () |
virtual void | Reset () |
Function to reset the algorithm instance, called together with manager's Reset() More... | |
Public Member Functions inherited from cmtool::CFloatAlgoBase | |
CFloatAlgoBase () | |
Default constructor. More... | |
virtual | ~CFloatAlgoBase () |
Default destructor. More... | |
Public Member Functions inherited from cmtool::CMAlgoBase | |
CMAlgoBase () | |
Default constructor. More... | |
virtual | ~CMAlgoBase () |
Default destructor. More... | |
virtual void | EventBegin (const std::vector< cluster::ClusterParamsAlg > &clusters) |
virtual void | EventEnd () |
virtual void | IterationBegin (const std::vector< cluster::ClusterParamsAlg > &clusters) |
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... | |
Private Member Functions | |
float | TProfCompare (std::vector< util::PxHit > hita, std::vector< util::PxHit > hitb) |
Additional Inherited Members | |
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 doxygen documentation!
Definition at line 25 of file CFAlgoTimeProf.h.
cmtool::CFAlgoTimeProf::CFAlgoTimeProf | ( | ) |
Default constructor.
Definition at line 10 of file CFAlgoTimeProf.cxx.
|
virtual |
|
virtual |
Core function: given the CPAN input, return whether a cluster should be merged or not.
Reimplemented from cmtool::CFloatAlgoBase.
Definition at line 30 of file CFAlgoTimeProf.cxx.
|
virtual |
Optional function: called after Bool() function is called for all possible cluster pairs by CMergeManager/CMatchManager IFF run with verbosity level kPerIteration. Maybe useful for debugging.
Reimplemented from cmtool::CMAlgoBase.
Definition at line 211 of file CFAlgoTimeProf.cxx.
|
virtual |
Function to reset the algorithm instance, called together with manager's Reset()
Reimplemented from cmtool::CMAlgoBase.
Definition at line 23 of file CFAlgoTimeProf.cxx.
|
private |
Optional function: called at the beginning of 1st iteration. This is called per event. Optional function: called at the end of event ... after the last merging iteration is over. Optional function: called at the beggining of each iterative loop. This provides all clusters' information in case the algorithm need them. Note this is called per iteration which may be more than once per event. Optional function: called at the end of each iterative loop.
Definition at line 137 of file CFAlgoTimeProf.cxx.