LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "CFAlgoChargeDistrib.h"
Public Member Functions | |
CFAlgoChargeDistrib () | |
Default constructor. More... | |
virtual | ~CFAlgoChargeDistrib () |
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... | |
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 Member Functions | |
float | TProfConvol (std::vector< util::PxHit > hita, std::vector< util::PxHit > hitb) |
void | SetVerbose (bool on) |
Setter function for verbosity. More... | |
void | SetDebug (bool on) |
Private Attributes | |
bool | _verbose |
bool | _debug |
User implementation for CFloatAlgoBase class doxygen documentation!
Definition at line 25 of file CFAlgoChargeDistrib.h.
cmtool::CFAlgoChargeDistrib::CFAlgoChargeDistrib | ( | ) |
Default constructor.
Definition at line 10 of file CFAlgoChargeDistrib.cxx.
References SetDebug(), and SetVerbose().
|
inlinevirtual |
Default destructor.
Definition at line 33 of file CFAlgoChargeDistrib.h.
References Float(), Report(), Reset(), and TProfConvol().
|
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 25 of file CFAlgoChargeDistrib.cxx.
References _verbose, c1, c2, and TProfConvol().
Referenced by ~CFAlgoChargeDistrib().
|
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 81 of file CFAlgoChargeDistrib.cxx.
Referenced by ~CFAlgoChargeDistrib().
|
virtual |
Function to reset the algorithm instance, called together with manager's Reset()
Reimplemented from cmtool::CMAlgoBase.
Definition at line 18 of file CFAlgoChargeDistrib.cxx.
Referenced by ~CFAlgoChargeDistrib().
|
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().
|
inlineprivate |
Definition at line 62 of file CFAlgoChargeDistrib.h.
References _debug.
Referenced by CFAlgoChargeDistrib().
|
inlineprivatevirtual |
Setter function for verbosity.
Reimplemented from cmtool::CMAlgoBase.
Definition at line 60 of file CFAlgoChargeDistrib.h.
References _verbose.
Referenced by CFAlgoChargeDistrib().
|
private |
Definition at line 89 of file CFAlgoChargeDistrib.cxx.
References _debug, _verbose, detinfo::DetectorProperties::NumberTimeSamples(), and util::GeometryUtilities::TimeToCm().
Referenced by Float(), and ~CFAlgoChargeDistrib().
|
private |
Definition at line 65 of file CFAlgoChargeDistrib.h.
Referenced by SetDebug(), and TProfConvol().
|
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 64 of file CFAlgoChargeDistrib.h.
Referenced by Float(), SetVerbose(), and TProfConvol().