Public Member Functions | List of all members
cmtool::CBAlgoMergeAll Class Reference

#include <CBAlgoMergeAll.h>

Inheritance diagram for cmtool::CBAlgoMergeAll:
cmtool::CBoolAlgoBase cmtool::CMAlgoBase

Public Member Functions

 CBAlgoMergeAll ()
 Default constructor. More...
 
virtual ~CBAlgoMergeAll ()
 Default destructor. More...
 
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...
 
- 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 ()
 
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...
 

Detailed Description

Merges all clusters: maybe useful to test how well a cluster-separating algorithm has performed

Definition at line 26 of file CBAlgoMergeAll.h.

Constructor & Destructor Documentation

cmtool::CBAlgoMergeAll::CBAlgoMergeAll ( )

Default constructor.

Definition at line 6 of file CBAlgoMergeAll.cxx.

6  : CBoolAlgoBase()
7  //----------------------------------------
8  {
9 
10  }
CBoolAlgoBase()
Default constructor.
Definition: CBoolAlgoBase.h:32
virtual cmtool::CBAlgoMergeAll::~CBAlgoMergeAll ( )
inlinevirtual

Default destructor.

Definition at line 34 of file CBAlgoMergeAll.h.

34 {};

Member Function Documentation

bool cmtool::CBAlgoMergeAll::Bool ( const ::cluster::ClusterParamsAlg cluster1,
const ::cluster::ClusterParamsAlg cluster2 
)
virtual

Core function: given the ClusterParamsAlg input, return whether a cluster should be merged or not.

Reimplemented from cmtool::CBoolAlgoBase.

Definition at line 13 of file CBAlgoMergeAll.cxx.

16  {
17  if(cluster1.GetNHits() && cluster2.GetNHits()) return true;
18  else return false;
19  }
virtual void cmtool::CBAlgoMergeAll::Reset ( void  )
inlinevirtual

Function to reset the algorithm instance ... maybe implemented via child class.

Reimplemented from cmtool::CMAlgoBase.

Definition at line 44 of file CBAlgoMergeAll.h.

44 {}

The documentation for this class was generated from the following files: