LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
CMatchManager.h
Go to the documentation of this file.
1
14
#ifndef RECOTOOL_CMATCHMANAGER_H
15
#define RECOTOOL_CMATCHMANAGER_H
16
17
#include <stddef.h>
18
19
#include "
larreco/RecoAlg/CMTool/CMToolBase/CMManagerBase.h
"
20
#include "
larreco/RecoAlg/CMTool/CMToolBase/CMatchBookKeeper.h
"
21
22
namespace
cmtool
{
23
24
class
CFloatAlgoBase;
30
class
CMatchManager
:
public
CMManagerBase
{
31
32
private
:
34
CMatchManager
();
35
36
public
:
37
CMatchManager
(
size_t
nplanes);
38
40
virtual
~CMatchManager
() {}
41
43
virtual
void
Reset
();
44
46
void
AddMatchAlgo
(
CFloatAlgoBase
* algo) {
_match_algo
= algo; }
47
49
const
CMatchBookKeeper
&
GetBookKeeper
()
const
{
return
_book_keeper
; }
50
51
protected
:
52
//
53
// FMWK functions override
54
//
55
57
virtual
void
EventBegin
();
58
60
virtual
void
IterationBegin
();
61
63
virtual
bool
IterationProcess
(
util::GeometryUtilities
const
& gser);
64
66
virtual
void
IterationEnd
();
67
69
virtual
void
EventEnd
();
70
71
protected
:
73
CMatchBookKeeper
_book_keeper
;
74
76
::cmtool::CFloatAlgoBase
*
_match_algo
;
77
79
size_t
_nplanes
;
80
};
81
}
82
83
#endif
84
// end of doxygen group
cmtool::CMatchManager::EventEnd
virtual void EventEnd()
FMWK function called @ end of Process()
Definition:
CMatchManager.cxx:64
CMatchBookKeeper.h
Class def header for a class CMatchBookKeeper.
cmtool::CMatchManager::Reset
virtual void Reset()
Method to reset itself.
Definition:
CMatchManager.cxx:33
util::GeometryUtilities
Definition:
GeometryUtilities.h:37
cmtool::CMatchManager::_match_algo
::cmtool::CFloatAlgoBase * _match_algo
Merging algorithm.
Definition:
CMatchManager.h:76
cmtool::CMManagerBase
Definition:
CMManagerBase.h:41
cmtool::CMatchManager::CMatchManager
CMatchManager()
Default constructor is private because we need an argument to configure w/ # planes in the detector...
Definition:
CMatchManager.cxx:21
cmtool::CMatchManager::AddMatchAlgo
void AddMatchAlgo(CFloatAlgoBase *algo)
A simple method to add an algorithm for merging.
Definition:
CMatchManager.h:46
cmtool::CMatchManager::_book_keeper
CMatchBookKeeper _book_keeper
Book keeper instance.
Definition:
CMatchManager.h:73
cmtool::CMatchManager::IterationProcess
virtual bool IterationProcess(util::GeometryUtilities const &gser)
FMWK function called @ iterative loop inside Process()
Definition:
CMatchManager.cxx:172
cmtool::CMatchManager::EventBegin
virtual void EventBegin()
FMWK function called @ beginning of Process()
Definition:
CMatchManager.cxx:41
cmtool::CMatchManager::~CMatchManager
virtual ~CMatchManager()
Default destructor.
Definition:
CMatchManager.h:40
cmtool::CMatchManager::GetBookKeeper
const CMatchBookKeeper & GetBookKeeper() const
A method to obtain book keeper.
Definition:
CMatchManager.h:49
cmtool::CMatchBookKeeper
Definition:
CMatchBookKeeper.h:26
cmtool::CMatchManager
Definition:
CMatchManager.h:30
cmtool::CFloatAlgoBase
Definition:
CFloatAlgoBase.h:32
cmtool::CMatchManager::IterationEnd
virtual void IterationEnd()
FMWK function called @ end of iterative loop inside Process()
Definition:
CMatchManager.cxx:58
cmtool
Definition:
CFAlgoQRatio.cxx:3
cmtool::CMatchManager::IterationBegin
virtual void IterationBegin()
FMWK function called @ beginning of iterative loop inside Process()
Definition:
CMatchManager.cxx:52
CMManagerBase.h
Class def header for a class CMManagerBase.
cmtool::CMatchManager::_nplanes
size_t _nplanes
Number of planes.
Definition:
CMatchManager.h:79
larreco
v09_25_00
source
larreco
RecoAlg
CMTool
CMToolBase
CMatchManager.h
Generated on Thu May 2 2024 20:59:47 for LArSoft by
1.8.11