LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
CMAlgoBase.h
Go to the documentation of this file.
1
14
#ifndef RECOTOOL_CMALGOBASE_H
15
#define RECOTOOL_CMALGOBASE_H
16
17
#include "
larreco/RecoAlg/ClusterRecoUtil/ClusterParamsAlg.h
"
18
#include <vector>
19
20
class
TFile;
21
22
namespace
cmtool
{
23
30
class
CMAlgoBase
{
31
public
:
32
CMAlgoBase
()
33
{
34
_fout
= 0;
35
_verbose
=
false
;
36
}
37
virtual
~CMAlgoBase
() =
default
;
38
40
virtual
void
Reset
() {}
41
45
virtual
void
EventBegin
(
const
std::vector<cluster::ClusterParamsAlg>&) {}
46
50
virtual
void
EventEnd
() {}
51
57
virtual
void
IterationBegin
(
const
std::vector<cluster::ClusterParamsAlg>&) {}
58
62
virtual
void
IterationEnd
() {}
63
69
virtual
void
Report
() {}
70
72
void
SetAnaFile
(TFile* fout) {
_fout
= fout; }
73
75
virtual
void
SetVerbose
(
bool
doit =
true
) {
_verbose
= doit; }
76
77
protected
:
79
TFile*
_fout
;
80
82
bool
_verbose
;
83
};
84
85
}
86
87
#endif
88
// end of doxygen group
cmtool::CMAlgoBase::Report
virtual void Report()
Definition:
CMAlgoBase.h:69
cmtool::CMAlgoBase::_fout
TFile * _fout
TFile pointer to an output file.
Definition:
CMAlgoBase.h:79
cmtool::CMAlgoBase::EventEnd
virtual void EventEnd()
Definition:
CMAlgoBase.h:50
cmtool::CMAlgoBase::CMAlgoBase
CMAlgoBase()
Definition:
CMAlgoBase.h:32
cmtool::CMAlgoBase::Reset
virtual void Reset()
Function to reset the algorithm instance called within CMergeManager/CMatchManager's Reset() ...
Definition:
CMAlgoBase.h:40
ClusterParamsAlg.h
cmtool::CMAlgoBase::~CMAlgoBase
virtual ~CMAlgoBase()=default
cmtool::CMAlgoBase::SetAnaFile
void SetAnaFile(TFile *fout)
Setter function for an output plot TFile pointer.
Definition:
CMAlgoBase.h:72
cmtool::CMAlgoBase
Definition:
CMAlgoBase.h:30
cmtool
Definition:
CFAlgoQRatio.cxx:3
cmtool::CMAlgoBase::SetVerbose
virtual void SetVerbose(bool doit=true)
Setter function for verbosity.
Definition:
CMAlgoBase.h:75
cmtool::CMAlgoBase::IterationBegin
virtual void IterationBegin(const std::vector< cluster::ClusterParamsAlg > &)
Definition:
CMAlgoBase.h:57
cmtool::CMAlgoBase::IterationEnd
virtual void IterationEnd()
Definition:
CMAlgoBase.h:62
cmtool::CMAlgoBase::_verbose
bool _verbose
Boolean to choose verbose mode. Turned on if CMergeManager/CMatchManager's verbosity level is >= kPer...
Definition:
CMAlgoBase.h:82
cmtool::CMAlgoBase::EventBegin
virtual void EventBegin(const std::vector< cluster::ClusterParamsAlg > &)
Definition:
CMAlgoBase.h:45
larreco
v09_25_00
source
larreco
RecoAlg
CMTool
CMToolBase
CMAlgoBase.h
Generated on Thu May 2 2024 20:59:47 for LArSoft by
1.8.11