LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "CFAlgoTimeOverlap.h"
Public Member Functions | |
CFAlgoTimeOverlap () | |
Default constructor. More... | |
virtual | ~CFAlgoTimeOverlap () |
Default destructor. More... | |
virtual float | Float (const std::vector< const cluster::ClusterParamsAlg * > &clusters) |
void | SetStartTimeCut (float start_time) |
void | SetRatioCut (float ratio) |
void | SetDebug (bool debug) |
void | SetVerbose (bool verbose) |
Setter function for verbosity. More... | |
void | RequireThreePlanes (bool doit) |
virtual void | Report () |
virtual void | Reset () |
Function to reset the algorithm instance called within CMergeManager/CMatchManager's Reset() ... maybe implemented via child class. 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... | |
Protected Attributes | |
float | _time_ratio_cut |
float | _start_time_cut |
bool | _debug |
bool | _verbose |
bool | _require_3planes |
TFile * | _fout |
TFile pointer to an output file. More... | |
User implementation for CFloatAlgoBase class doxygen documentation!
Definition at line 25 of file CFAlgoTimeOverlap.h.
cmtool::CFAlgoTimeOverlap::CFAlgoTimeOverlap | ( | ) |
Default constructor.
Definition at line 9 of file CFAlgoTimeOverlap.cxx.
References RequireThreePlanes(), SetDebug(), SetRatioCut(), SetStartTimeCut(), and SetVerbose().
|
inlinevirtual |
|
inlinevirtualinherited |
Optional function: called at the beginning of 1st iteration. This is called per event.
Reimplemented in cmtool::CFAlgoArray, cmtool::CPAlgoArray, cmtool::CBAlgoArray, and cmtool::CBAlgoPolyShortestDist.
Definition at line 45 of file CMAlgoBase.h.
Referenced by cmtool::CMergeManager::EventBegin().
|
inlinevirtualinherited |
Optional function: called at the end of event ... after the last merging iteration is over.
Reimplemented in cmtool::CFAlgoArray, cmtool::CPAlgoArray, and cmtool::CBAlgoArray.
Definition at line 51 of file CMAlgoBase.h.
Referenced by cmtool::CMatchManager::EventEnd(), and cmtool::CMergeManager::EventEnd().
|
virtual |
This algorithm calculates the difference between start and end times for merged clusters, and compares across planes to form matches.
Reimplemented from cmtool::CFloatAlgoBase.
Definition at line 27 of file CFAlgoTimeOverlap.cxx.
References _debug, _require_3planes, _start_time_cut, _time_ratio_cut, and _verbose.
Referenced by ~CFAlgoTimeOverlap().
|
inlinevirtualinherited |
Optional function: called at the beggining of each iteration over all pairs of clusters. 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.
Reimplemented in cmtool::CFAlgoArray, cmtool::CPAlgoArray, and cmtool::CBAlgoArray.
Definition at line 59 of file CMAlgoBase.h.
Referenced by cmtool::CMatchManager::EventBegin(), cmtool::CMatchManager::IterationBegin(), and cmtool::CMergeManager::IterationBegin().
|
inlinevirtualinherited |
Optional function: called at the end of each iteration over all pairs of clusters.
Reimplemented in cmtool::CFAlgoArray, cmtool::CPAlgoArray, and cmtool::CBAlgoArray.
Definition at line 65 of file CMAlgoBase.h.
Referenced by cmtool::CMatchManager::IterationEnd(), and cmtool::CMergeManager::IterationEnd().
|
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 237 of file CFAlgoTimeOverlap.cxx.
Referenced by RequireThreePlanes().
|
inline |
Definition at line 54 of file CFAlgoTimeOverlap.h.
References _require_3planes, Report(), and Reset().
Referenced by CFAlgoTimeOverlap().
|
virtual |
Function to reset the algorithm instance called within CMergeManager/CMatchManager's Reset() ... maybe implemented via child class.
Reimplemented from cmtool::CMAlgoBase.
Definition at line 20 of file CFAlgoTimeOverlap.cxx.
Referenced by RequireThreePlanes().
|
inlineinherited |
Setter function for an output plot TFile pointer.
Definition at line 77 of file CMAlgoBase.h.
References cmtool::CMAlgoBase::_fout.
Referenced by cmtool::CMergeManager::EventBegin().
|
inline |
Definition at line 50 of file CFAlgoTimeOverlap.h.
References _debug, and tca::debug.
Referenced by CFAlgoTimeOverlap().
|
inline |
Definition at line 42 of file CFAlgoTimeOverlap.h.
References _time_ratio_cut.
Referenced by CFAlgoTimeOverlap().
|
inline |
Definition at line 40 of file CFAlgoTimeOverlap.h.
References _start_time_cut.
Referenced by CFAlgoTimeOverlap().
|
inlinevirtual |
Setter function for verbosity.
Reimplemented from cmtool::CMAlgoBase.
Definition at line 52 of file CFAlgoTimeOverlap.h.
References _verbose.
Referenced by CFAlgoTimeOverlap().
|
protected |
Definition at line 63 of file CFAlgoTimeOverlap.h.
Referenced by Float(), and SetDebug().
|
protectedinherited |
TFile pointer to an output file.
Definition at line 85 of file CMAlgoBase.h.
Referenced by cmtool::CMAlgoBase::CMAlgoBase(), and cmtool::CMAlgoBase::SetAnaFile().
|
protected |
Definition at line 65 of file CFAlgoTimeOverlap.h.
Referenced by Float(), and RequireThreePlanes().
|
protected |
Definition at line 62 of file CFAlgoTimeOverlap.h.
Referenced by Float(), and SetStartTimeCut().
|
protected |
Definition at line 61 of file CFAlgoTimeOverlap.h.
Referenced by Float(), and SetRatioCut().
|
protected |
Definition at line 64 of file CFAlgoTimeOverlap.h.
Referenced by Float(), and SetVerbose().