Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
larreco
larreco
RecoAlg
CMTool
CMTAlgMatch
CFAlgoTimeOverlap.h
Go to the documentation of this file.
1
/**
2
* \file CFAlgoTimeOverlap.h
3
*
4
* \ingroup CMTool
5
*
6
* \brief Class def header for a class CFAlgoTimeOverlap
7
*
8
* @author ariana hackenburg
9
*/
10
11
/** \addtogroup CMTool
12
13
@{*/
14
#ifndef RECOTOOL_CFALGOTIMEOVERLAP_H
15
#define RECOTOOL_CFALGOTIMEOVERLAP_H
16
17
#include "
larreco/RecoAlg/CMTool/CMToolBase/CFloatAlgoBase.h
"
18
19
namespace
cmtool
{
20
/**
21
\class CFAlgoTimeOverlap
22
User implementation for CFloatAlgoBase class
23
doxygen documentation!
24
*/
25
class
CFAlgoTimeOverlap
:
public
CFloatAlgoBase
{
26
27
public
:
28
/// Default constructor
29
CFAlgoTimeOverlap
();
30
31
/**This algorithm calculates the difference between start and end times for merged clusters,
32
and compares across planes to form matches.
33
*/
34
float
Float
(
util::GeometryUtilities
const
&,
35
const
std::vector<const cluster::ClusterParamsAlg*>& clusters)
override
;
36
37
void
38
SetStartTimeCut
(
float
start_time)
39
{
40
_start_time_cut
= start_time;
41
}
42
43
void
44
SetRatioCut
(
float
ratio
)
45
{
46
_time_ratio_cut
=
ratio
;
47
}
48
49
//Order the theta, phi, hits per plane to make cuts convenient
50
/*
51
virtual void SetMaxMiddleMin(const double first, const double second, const double third,
52
double &most, double &middle, double &least) ;
53
*/
54
void
55
SetDebug
(
bool
debug
)
56
{
57
_debug
=
debug
;
58
}
59
60
void
61
SetVerbose
(
bool
verbose
)
override
62
{
63
_verbose
=
verbose
;
64
}
65
66
void
67
RequireThreePlanes
(
bool
doit)
68
{
69
_require_3planes
= doit;
70
}
71
72
void
Report
()
override
;
73
74
void
Reset
()
override
;
75
76
protected
:
77
float
_time_ratio_cut
;
78
float
_start_time_cut
;
79
bool
_debug
;
80
bool
_verbose
;
81
bool
_require_3planes
;
82
};
83
}
84
#endif
85
/** @} */
// end of doxygen group
cmtool::CFAlgoTimeOverlap::SetStartTimeCut
void SetStartTimeCut(float start_time)
Definition:
CFAlgoTimeOverlap.h:38
util::GeometryUtilities
Definition:
GeometryUtilities.h:35
CFloatAlgoBase.h
Class def header for a class CFloatAlgoBase.
cmtool::CFAlgoTimeOverlap::_require_3planes
bool _require_3planes
Definition:
CFAlgoTimeOverlap.h:81
ValidateOpDetReco.ratio
ratio
Definition:
ValidateOpDetReco.py:614
cmtool::CFAlgoTimeOverlap::SetVerbose
void SetVerbose(bool verbose) override
Setter function for verbosity.
Definition:
CFAlgoTimeOverlap.h:61
cmtool::CFAlgoTimeOverlap::_verbose
bool _verbose
Definition:
CFAlgoTimeOverlap.h:80
python.larbatch_posix.debug
string debug
Definition:
larbatch_posix.py:142
train.verbose
verbose
Definition:
train.py:477
cmtool::CFAlgoTimeOverlap::_start_time_cut
float _start_time_cut
Definition:
CFAlgoTimeOverlap.h:78
cmtool::CFloatAlgoBase
Definition:
CFloatAlgoBase.h:30
cmtool::CFAlgoTimeOverlap::RequireThreePlanes
void RequireThreePlanes(bool doit)
Definition:
CFAlgoTimeOverlap.h:67
cmtool::CFAlgoTimeOverlap::SetDebug
void SetDebug(bool debug)
Definition:
CFAlgoTimeOverlap.h:55
cmtool::CFAlgoTimeOverlap::SetRatioCut
void SetRatioCut(float ratio)
Definition:
CFAlgoTimeOverlap.h:44
cmtool::CFAlgoTimeOverlap
Definition:
CFAlgoTimeOverlap.h:25
cmtool::CFAlgoTimeOverlap::_debug
bool _debug
Definition:
CFAlgoTimeOverlap.h:79
cmtool
Definition:
CFAlgoQRatio.cxx:3
cmtool::CFAlgoTimeOverlap::_time_ratio_cut
float _time_ratio_cut
Definition:
CFAlgoTimeOverlap.h:77
cmtool::CFAlgoTimeOverlap::Report
void Report() override
Definition:
CFAlgoTimeOverlap.cxx:228
cmtool::CFAlgoTimeOverlap::CFAlgoTimeOverlap
CFAlgoTimeOverlap()
Default constructor.
Definition:
CFAlgoTimeOverlap.cxx:6
cmtool::CFAlgoTimeOverlap::Reset
void Reset() override
Function to reset the algorithm instance called within CMergeManager/CMatchManager's Reset() ...
Definition:
CFAlgoTimeOverlap.cxx:18
cmtool::CFAlgoTimeOverlap::Float
float Float(util::GeometryUtilities const &, const std::vector< const cluster::ClusterParamsAlg * > &clusters) override
Definition:
CFAlgoTimeOverlap.cxx:24
Generated by
1.8.11