Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
srcs
larreco
larreco
RecoAlg
CMTool
CMTAlgPriority
CPAlgoIgnoreTracks.h
Go to the documentation of this file.
1
/**
2
* \file CPAlgoIgnoreTracks.h
3
*
4
* \ingroup CMTool
5
*
6
* \brief Class def header for a class CPAlgoIgnoreTracks
7
*
8
* @author davidkaleko
9
*/
10
11
/** \addtogroup CMTool
12
13
@{*/
14
#ifndef RECOTOOL_CPALGOIGNORETRACKS_H
15
#define RECOTOOL_CPALGOIGNORETRACKS_H
16
17
#include "
larreco/RecoAlg/CMTool/CMToolBase/CPriorityAlgoBase.h
"
18
19
#include "RtypesCore.h"
20
21
namespace
cmtool {
22
/**
23
\class CPAlgoIgnoreTracks
24
User implementation for CPriorityAlgoBase class
25
doxygen documentation!
26
*/
27
class
CPAlgoIgnoreTracks
:
public
CPriorityAlgoBase
{
28
29
public
:
30
31
/// Default constructor
32
CPAlgoIgnoreTracks
();
33
34
/// Default destructor
35
virtual
~CPAlgoIgnoreTracks
(){};
36
37
//
38
// Author should be aware of 3 functions at least: Priority, Report,
39
// and Reset. More possibly-useful functions can be found in the later
40
// part but commented out. All of these functions are virtual and defined
41
// in the base class.
42
43
/**
44
Core function: given the CPAN input, return a float which indicates
45
the user-defined priority for analysis.
46
*/
47
virtual
float
Priority
(const ::cluster::ClusterParamsAlg &
cluster
);
48
49
/**
50
Optional function: called after each iterative approach if a manager class is
51
run with verbosity level <= kPerIteration. Maybe useful for debugging.
52
*/
53
virtual
void
Report
();
54
55
/// Function to reset the algorithm instance, called together with manager's Reset()
56
virtual
void
Reset
();
57
58
/**
59
Optional function: called at the beginning of 1st iteration. This is called per event.
60
*/
61
//virtual void EventBegin(const std::vector<cluster::ClusterParamsAlg> &clusters);
62
63
/**
64
Optional function: called at the end of event ... after the last merging iteration is over.
65
*/
66
//virtual void EventEnd();
67
68
/**
69
Optional function: called at the beggining of each iterative loop.
70
This provides all clusters' information in case the algorithm need them. Note this
71
is called per iteration which may be more than once per event.
72
*/
73
//virtual void IterationBegin(const std::vector<cluster::ClusterParamsAlg> &clusters);
74
75
/**
76
Optional function: called at the end of each iterative loop.
77
*/
78
//virtual void IterationEnd();
79
80
/// Function to check if cluster is a track
81
bool
IsTrack
(const ::cluster::ClusterParamsAlg &
cluster
);
82
83
/// Setter for track-like parameters
84
void
SetMinHits
(
size_t
BAKA) {
_min_hits
= BAKA; }
85
void
SetMinModHitDens
(Double_t AHO) {
_min_mod_hit_dens
= AHO; }
86
void
SetMinMHitWires
(Double_t BOKE) {
_min_multihit_wires
= BOKE; }
87
void
SetMinPrincipal
(Double_t HEKOKI) {
_min_principal
= HEKOKI; }
88
89
90
protected
:
91
92
size_t
_min_hits
;
93
Double_t
_min_mod_hit_dens
;
94
Double_t
_min_multihit_wires
;
95
Double_t
_min_principal
;
96
97
};
98
}
99
#endif
100
/** @} */
// end of doxygen group
cluster
process_name cluster
Definition:
cheaterreco.fcl:51
cmtool::CPAlgoIgnoreTracks::_min_multihit_wires
Double_t _min_multihit_wires
Definition:
CPAlgoIgnoreTracks.h:94
cmtool::CPAlgoIgnoreTracks::IsTrack
bool IsTrack(const ::cluster::ClusterParamsAlg &cluster)
Function to check if cluster is a track.
Definition:
CPAlgoIgnoreTracks.cxx:48
cmtool::CPAlgoIgnoreTracks::SetMinModHitDens
void SetMinModHitDens(Double_t AHO)
Definition:
CPAlgoIgnoreTracks.h:85
cmtool::CPAlgoIgnoreTracks::_min_principal
Double_t _min_principal
Definition:
CPAlgoIgnoreTracks.h:95
cmtool::CPAlgoIgnoreTracks
Definition:
CPAlgoIgnoreTracks.h:27
cmtool::CPriorityAlgoBase
Definition:
CPriorityAlgoBase.h:27
cmtool::CPAlgoIgnoreTracks::SetMinMHitWires
void SetMinMHitWires(Double_t BOKE)
Definition:
CPAlgoIgnoreTracks.h:86
CPriorityAlgoBase.h
Class def header for a class CPriorityAlgoBase.
cmtool::CPAlgoIgnoreTracks::CPAlgoIgnoreTracks
CPAlgoIgnoreTracks()
Default constructor.
Definition:
CPAlgoIgnoreTracks.cxx:8
cmtool::CPAlgoIgnoreTracks::_min_hits
size_t _min_hits
Definition:
CPAlgoIgnoreTracks.h:92
cmtool::CPAlgoIgnoreTracks::SetMinPrincipal
void SetMinPrincipal(Double_t HEKOKI)
Definition:
CPAlgoIgnoreTracks.h:87
cmtool::CPAlgoIgnoreTracks::SetMinHits
void SetMinHits(size_t BAKA)
Setter for track-like parameters.
Definition:
CPAlgoIgnoreTracks.h:84
cmtool::CPAlgoIgnoreTracks::Priority
virtual float Priority(const ::cluster::ClusterParamsAlg &cluster)
Definition:
CPAlgoIgnoreTracks.cxx:27
cmtool::CPAlgoIgnoreTracks::Report
virtual void Report()
Definition:
CPAlgoIgnoreTracks.cxx:41
cmtool::CPAlgoIgnoreTracks::_min_mod_hit_dens
Double_t _min_mod_hit_dens
Definition:
CPAlgoIgnoreTracks.h:93
cmtool::CPAlgoIgnoreTracks::~CPAlgoIgnoreTracks
virtual ~CPAlgoIgnoreTracks()
Default destructor.
Definition:
CPAlgoIgnoreTracks.h:35
cmtool::CPAlgoIgnoreTracks::Reset
virtual void Reset()
Function to reset the algorithm instance, called together with manager's Reset()
Definition:
CPAlgoIgnoreTracks.cxx:20
Generated by
1.8.5