LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "CFAlgoTimeOverlap.h"
Public Member Functions | |
CFAlgoTimeOverlap () | |
Default constructor. More... | |
float | Float (util::GeometryUtilities const &, const std::vector< const cluster::ClusterParamsAlg * > &clusters) override |
void | SetStartTimeCut (float start_time) |
void | SetRatioCut (float ratio) |
void | SetDebug (bool debug) |
void | SetVerbose (bool verbose) override |
Setter function for verbosity. More... | |
void | RequireThreePlanes (bool doit) |
void | Report () override |
void | Reset () override |
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 > &) |
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... | |
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 6 of file CFAlgoTimeOverlap.cxx.
References RequireThreePlanes(), SetDebug(), SetRatioCut(), SetStartTimeCut(), and SetVerbose().
|
inlinevirtualinherited |
Optional function: called at the beginning of 1st iteration. This is called per event.
Reimplemented in 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::CPAlgoArray, and cmtool::CBAlgoArray.
Definition at line 50 of file CMAlgoBase.h.
Referenced by cmtool::CMatchManager::EventEnd(), and cmtool::CMergeManager::EventEnd().
|
overridevirtual |
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 22 of file CFAlgoTimeOverlap.cxx.
References _debug, _require_3planes, _start_time_cut, _time_ratio_cut, and _verbose.
|
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::CPAlgoArray, and cmtool::CBAlgoArray.
Definition at line 57 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::CPAlgoArray, and cmtool::CBAlgoArray.
Definition at line 62 of file CMAlgoBase.h.
Referenced by cmtool::CMatchManager::IterationEnd(), and cmtool::CMergeManager::IterationEnd().
|
overridevirtual |
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 225 of file CFAlgoTimeOverlap.cxx.
Referenced by RequireThreePlanes().
|
inline |
Definition at line 50 of file CFAlgoTimeOverlap.h.
References _require_3planes, Report(), and Reset().
Referenced by CFAlgoTimeOverlap().
|
overridevirtual |
Function to reset the algorithm instance called within CMergeManager/CMatchManager's Reset() ... maybe implemented via child class.
Reimplemented from cmtool::CMAlgoBase.
Definition at line 17 of file CFAlgoTimeOverlap.cxx.
Referenced by RequireThreePlanes().
|
inlineinherited |
Setter function for an output plot TFile pointer.
Definition at line 72 of file CMAlgoBase.h.
References cmtool::CMAlgoBase::_fout.
Referenced by cmtool::CMergeManager::EventBegin().
|
inline |
Definition at line 46 of file CFAlgoTimeOverlap.h.
References _debug, and tca::debug.
Referenced by CFAlgoTimeOverlap().
|
inline |
Definition at line 39 of file CFAlgoTimeOverlap.h.
References _time_ratio_cut.
Referenced by CFAlgoTimeOverlap().
|
inline |
Definition at line 37 of file CFAlgoTimeOverlap.h.
References _start_time_cut.
Referenced by CFAlgoTimeOverlap().
|
inlineoverridevirtual |
Setter function for verbosity.
Reimplemented from cmtool::CMAlgoBase.
Definition at line 48 of file CFAlgoTimeOverlap.h.
References _verbose.
Referenced by CFAlgoTimeOverlap().
|
protected |
Definition at line 59 of file CFAlgoTimeOverlap.h.
Referenced by Float(), and SetDebug().
|
protectedinherited |
TFile pointer to an output file.
Definition at line 79 of file CMAlgoBase.h.
Referenced by cmtool::CMAlgoBase::CMAlgoBase(), and cmtool::CMAlgoBase::SetAnaFile().
|
protected |
Definition at line 61 of file CFAlgoTimeOverlap.h.
Referenced by Float(), and RequireThreePlanes().
|
protected |
Definition at line 58 of file CFAlgoTimeOverlap.h.
Referenced by Float(), and SetStartTimeCut().
|
protected |
Definition at line 57 of file CFAlgoTimeOverlap.h.
Referenced by Float(), and SetRatioCut().
|
protected |
Definition at line 60 of file CFAlgoTimeOverlap.h.
Referenced by Float(), and SetVerbose().