LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
CPAlgoIgnoreTracks.h
Go to the documentation of this file.
1
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
{
27
class
CPAlgoIgnoreTracks
:
public
CPriorityAlgoBase
{
28
29
public
:
31
CPAlgoIgnoreTracks
();
32
34
virtual
~CPAlgoIgnoreTracks
(){};
35
36
//
37
// Author should be aware of 3 functions at least: Priority, Report,
38
// and Reset. More possibly-useful functions can be found in the later
39
// part but commented out. All of these functions are virtual and defined
40
// in the base class.
41
46
virtual
float
Priority
(const ::cluster::ClusterParamsAlg&
cluster
);
47
52
virtual
void
Report
();
53
55
virtual
void
Reset
();
56
60
//virtual void EventBegin(const std::vector<cluster::ClusterParamsAlg> &clusters);
61
65
//virtual void EventEnd();
66
72
//virtual void IterationBegin(const std::vector<cluster::ClusterParamsAlg> &clusters);
73
77
//virtual void IterationEnd();
78
80
bool
IsTrack
(const ::cluster::ClusterParamsAlg& cluster);
81
83
void
SetMinHits
(
size_t
BAKA) {
_min_hits
= BAKA; }
84
void
SetMinModHitDens
(Double_t AHO) {
_min_mod_hit_dens
= AHO; }
85
void
SetMinMHitWires
(Double_t BOKE) {
_min_multihit_wires
= BOKE; }
86
void
SetMinPrincipal
(Double_t HEKOKI) {
_min_principal
= HEKOKI; }
87
88
protected
:
89
size_t
_min_hits
;
90
Double_t
_min_mod_hit_dens
;
91
Double_t
_min_multihit_wires
;
92
Double_t
_min_principal
;
93
};
94
}
95
#endif
96
// end of doxygen group
cmtool::CPAlgoIgnoreTracks::_min_multihit_wires
Double_t _min_multihit_wires
Definition:
CPAlgoIgnoreTracks.h:91
cmtool::CPAlgoIgnoreTracks::IsTrack
bool IsTrack(const ::cluster::ClusterParamsAlg &cluster)
Function to check if cluster is a track.
Definition:
CPAlgoIgnoreTracks.cxx:43
cmtool::CPAlgoIgnoreTracks::SetMinModHitDens
void SetMinModHitDens(Double_t AHO)
Definition:
CPAlgoIgnoreTracks.h:84
cmtool::CPAlgoIgnoreTracks::_min_principal
Double_t _min_principal
Definition:
CPAlgoIgnoreTracks.h:92
cmtool::CPAlgoIgnoreTracks
Definition:
CPAlgoIgnoreTracks.h:27
cluster
Cluster finding and building.
Definition:
SmallClusterFilter_module.cc:34
cmtool::CPriorityAlgoBase
Definition:
CPriorityAlgoBase.h:27
cmtool::CPAlgoIgnoreTracks::SetMinMHitWires
void SetMinMHitWires(Double_t BOKE)
Definition:
CPAlgoIgnoreTracks.h:85
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:89
cmtool::CPAlgoIgnoreTracks::SetMinPrincipal
void SetMinPrincipal(Double_t HEKOKI)
Definition:
CPAlgoIgnoreTracks.h:86
cmtool::CPAlgoIgnoreTracks::SetMinHits
void SetMinHits(size_t BAKA)
Setter for track-like parameters.
Definition:
CPAlgoIgnoreTracks.h:83
cmtool::CPAlgoIgnoreTracks::Priority
virtual float Priority(const ::cluster::ClusterParamsAlg &cluster)
Definition:
CPAlgoIgnoreTracks.cxx:25
cmtool::CPAlgoIgnoreTracks::Report
virtual void Report()
Definition:
CPAlgoIgnoreTracks.cxx:39
cmtool
Definition:
CFAlgoQRatio.cxx:3
cmtool::CPAlgoIgnoreTracks::_min_mod_hit_dens
Double_t _min_mod_hit_dens
Definition:
CPAlgoIgnoreTracks.h:90
cmtool::CPAlgoIgnoreTracks::~CPAlgoIgnoreTracks
virtual ~CPAlgoIgnoreTracks()
Default destructor.
Definition:
CPAlgoIgnoreTracks.h:34
cmtool::CPAlgoIgnoreTracks::Reset
virtual void Reset()
Function to reset the algorithm instance, called together with manager's Reset()
Definition:
CPAlgoIgnoreTracks.cxx:20
larreco
v09_25_00
source
larreco
RecoAlg
CMTool
CMTAlgPriority
CPAlgoIgnoreTracks.h
Generated on Thu May 2 2024 20:59:47 for LArSoft by
1.8.11