Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
larreco
larreco
RecoAlg
CMTool
CMTAlgMerge
CBAlgoFake.h
Go to the documentation of this file.
1
/**
2
* \file CBAlgoFake.h
3
*
4
* \ingroup CMTool
5
*
6
* \brief Class def header for a class CBAlgoFake
7
*
8
* @author kazuhiro
9
*/
10
11
/** \addtogroup CMTool
12
13
@{*/
14
#ifndef RECOTOOL_CBALGOFAKE_H
15
#define RECOTOOL_CBALGOFAKE_H
16
17
#include "
larreco/RecoAlg/CMTool/CMToolBase/CBoolAlgoBase.h
"
18
#include "
larreco/RecoAlg/ClusterRecoUtil/ClusterParamsAlg.h
"
19
20
namespace
cmtool
{
21
/**
22
\class CBAlgoFake
23
An abstract fake class for merging algorithm. Having this fake class helps
24
to have a better overall design of various merging for iterative approach.
25
The algorithms are run through CMergeManager.
26
*/
27
class
CBAlgoFake
:
public
CBoolAlgoBase
{
28
29
public
:
30
31
/// Default constructor
32
CBAlgoFake
();
33
34
/// Default destructor
35
virtual
~CBAlgoFake
(){};
36
37
/**
38
Core function: given the ClusterParamsAlg input, return whether a cluster should be
39
merged or not.
40
*/
41
virtual
bool
Bool
(const ::cluster::ClusterParamsAlg &cluster1,
42
const ::cluster::ClusterParamsAlg &cluster2);
43
44
/// Function to reset the algorithm instance ... maybe implemented via child class
45
virtual
void
Reset
(){}
46
47
protected
:
48
49
bool
_flip
;
50
int
_ctr
;
51
};
52
}
53
54
#endif
55
/** @} */
// end of doxygen group
CBoolAlgoBase.h
Class def header for algorithm classes for CMergeManager.
cmtool::CBoolAlgoBase
Definition:
CBoolAlgoBase.h:27
cmtool::CBAlgoFake
Definition:
CBAlgoFake.h:27
cmtool::CBAlgoFake::CBAlgoFake
CBAlgoFake()
Default constructor.
Definition:
CBAlgoFake.cxx:6
cmtool::CBAlgoFake::Reset
virtual void Reset()
Function to reset the algorithm instance ... maybe implemented via child class.
Definition:
CBAlgoFake.h:45
ClusterParamsAlg.h
cmtool
Definition:
CFAlgoQRatio.cxx:3
cmtool::CBAlgoFake::~CBAlgoFake
virtual ~CBAlgoFake()
Default destructor.
Definition:
CBAlgoFake.h:35
cmtool::CBAlgoFake::_ctr
int _ctr
Definition:
CBAlgoFake.h:50
cmtool::CBAlgoFake::Bool
virtual bool Bool(const ::cluster::ClusterParamsAlg &cluster1, const ::cluster::ClusterParamsAlg &cluster2)
Definition:
CBAlgoFake.cxx:15
cmtool::CBAlgoFake::_flip
bool _flip
Definition:
CBAlgoFake.h:49
Generated by
1.8.11