#include <CBoolAlgoBase.h>
Public Member Functions | |
CBoolAlgoBase () | |
Default constructor. More... | |
virtual | ~CBoolAlgoBase () |
Default destructor. More... | |
virtual bool | Bool (const ::cluster::ClusterParamsAlg &cluster1, const ::cluster::ClusterParamsAlg &cluster2) |
Public Member Functions inherited from cmtool::CMAlgoBase | |
CMAlgoBase () | |
virtual | ~CMAlgoBase ()=default |
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 > &) |
virtual void | EventEnd () |
virtual void | IterationBegin (const std::vector< cluster::ClusterParamsAlg > &) |
virtual void | IterationEnd () |
virtual void | Report () |
void | SetAnaFile (TFile *fout) |
Setter function for an output plot TFile pointer. More... | |
virtual void | SetVerbose (bool doit=true) |
Setter function for verbosity. More... | |
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... | |
An abstract base class for merging algorithm. Having this base class helps to have a better overall design of various merging for iterative approach. The algorithms are run through CMergeManager.
Definition at line 27 of file CBoolAlgoBase.h.
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Core function: given the CPAN input, return whether a cluster should be merged or not.
Reimplemented in cmtool::CBAlgoArray, cmtool::CBAlgoPolyShortestDist, cmtool::CBAlgoStartTrack, cmtool::CBAlgoProhibitAllTracks, cmtool::CBAlgoMergeTinyWithBig, cmtool::CBAlgoStartNearEnd, cmtool::CBAlgoProhibitBigClusters, cmtool::CBAlgoCenterOfMass, cmtool::CBAlgoCenterOfMassSmall, cmtool::CBAlgoFake, cmtool::CBAlgoAngleIncompat, cmtool::CBAlgoAngleSeparate, cmtool::CBAlgoMergeAll, cmtool::CBAlgoOutOfConeSeparate, cmtool::CBAlgoAngleCompat, cmtool::CBAlgoPolyContain, cmtool::CBAlgoPolyHitOverlap, cmtool::CBAlgoPolyOverlap, and cmtool::CBAlgoAngleAlign.
Definition at line 41 of file CBoolAlgoBase.h.