LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "CFAlgoStartPointCompat.h"
Public Member Functions | |
CFAlgoStartPointCompat () | |
Default constructor. More... | |
virtual | ~CFAlgoStartPointCompat () |
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... | |
void | SetVerbose (bool on) |
Function to set verbose output. 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 | |
TFile * | _fout |
TFile pointer to an output file. More... | |
Private Attributes | |
double | _w2cm |
double | _t2cm |
bool | _verbose |
User implementation for CFloatAlgoBase class doxygen documentation!
Definition at line 26 of file CFAlgoStartPointCompat.h.
cmtool::CFAlgoStartPointCompat::CFAlgoStartPointCompat | ( | ) |
Default constructor.
Definition at line 10 of file CFAlgoStartPointCompat.cxx.
References _t2cm, _w2cm, SetVerbose(), util::GeometryUtilities::TimeToCm(), and util::GeometryUtilities::WireToCm().
|
inlinevirtual |
Default destructor.
Definition at line 34 of file CFAlgoStartPointCompat.h.
|
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 |
Core function: given a set of CPANs, return a float which indicates the compatibility the cluster combination.
Reimplemented from cmtool::CFloatAlgoBase.
Definition at line 27 of file CFAlgoStartPointCompat.cxx.
References _t2cm, _verbose, _w2cm, e, geo::GeometryCore::IntersectionPoint(), min, and geo::GeometryCore::NearestWire().
Referenced by ~CFAlgoStartPointCompat().
|
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 each iterative approach if a manager class is run with verbosity level <= kPerIteration. Maybe useful for debugging.
Reimplemented from cmtool::CMAlgoBase.
Definition at line 224 of file CFAlgoStartPointCompat.cxx.
Referenced by ~CFAlgoStartPointCompat().
|
virtual |
Function to reset the algorithm instance, called together with manager's Reset()
Reimplemented from cmtool::CMAlgoBase.
Definition at line 20 of file CFAlgoStartPointCompat.cxx.
Referenced by ~CFAlgoStartPointCompat().
|
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().
|
inlinevirtual |
Function to set verbose output.
Reimplemented from cmtool::CMAlgoBase.
Definition at line 58 of file CFAlgoStartPointCompat.h.
References _verbose.
Referenced by CFAlgoStartPointCompat().
|
protectedinherited |
TFile pointer to an output file.
Definition at line 85 of file CMAlgoBase.h.
Referenced by cmtool::CMAlgoBase::CMAlgoBase(), and cmtool::CMAlgoBase::SetAnaFile().
|
private |
Definition at line 62 of file CFAlgoStartPointCompat.h.
Referenced by CFAlgoStartPointCompat(), and Float().
|
private |
Definition at line 64 of file CFAlgoStartPointCompat.h.
Referenced by Float(), and SetVerbose().
|
private |
Definition at line 62 of file CFAlgoStartPointCompat.h.
Referenced by CFAlgoStartPointCompat(), and Float().