#include <CBAlgoStartNearEnd.h>
Public Member Functions | |
CBAlgoStartNearEnd () | |
Default constructor. More... | |
virtual | ~CBAlgoStartNearEnd () |
Default destructor. More... | |
void | SetMaxStartEndSeparation (double d) |
void | SetMaxAngle (double a) |
void | SetMinHits (size_t n) |
virtual bool | Bool (const ::cluster::ClusterParamsAlg &cluster1, const ::cluster::ClusterParamsAlg &cluster2) |
virtual void | Reset () |
Function to reset the algorithm instance ... maybe implemented via child class. More... | |
virtual void | Report () |
Function to report what's going on per merging. More... | |
Public Member Functions inherited from cmtool::CBoolAlgoBase | |
CBoolAlgoBase () | |
Default constructor. More... | |
virtual | ~CBoolAlgoBase () |
Default destructor. More... | |
Public Member Functions inherited from cmtool::CMAlgoBase | |
CMAlgoBase () | |
virtual | ~CMAlgoBase ()=default |
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... | |
virtual void | SetVerbose (bool doit=true) |
Setter function for verbosity. More... | |
Protected Attributes | |
double | _maxopeningangle |
double | _separation |
size_t | _MinHits |
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... | |
Merge if start point of one is near end point of another and require angle compatibility
Definition at line 26 of file CBAlgoStartNearEnd.h.
cmtool::CBAlgoStartNearEnd::CBAlgoStartNearEnd | ( | ) |
Default constructor.
Definition at line 6 of file CBAlgoStartNearEnd.cxx.
|
inlinevirtual |
|
virtual |
Core function: given the CPAN input, return whether a cluster should be merged or not.
Reimplemented from cmtool::CBoolAlgoBase.
Definition at line 16 of file CBAlgoStartNearEnd.cxx.
|
virtual |
Function to report what's going on per merging.
Reimplemented from cmtool::CMAlgoBase.
Definition at line 59 of file CBAlgoStartNearEnd.cxx.
|
inlinevirtual |
Function to reset the algorithm instance ... maybe implemented via child class.
Reimplemented from cmtool::CMAlgoBase.
Definition at line 51 of file CBAlgoStartNearEnd.h.
|
inline |
Definition at line 43 of file CBAlgoStartNearEnd.h.
|
inline |
Core function: given the ClusterParamsAlg input, return whether a cluster should be merged or not.
Definition at line 41 of file CBAlgoStartNearEnd.h.
|
inline |
Definition at line 45 of file CBAlgoStartNearEnd.h.
|
protected |
Definition at line 58 of file CBAlgoStartNearEnd.h.
|
protected |
Definition at line 60 of file CBAlgoStartNearEnd.h.
|
protected |
Definition at line 59 of file CBAlgoStartNearEnd.h.