LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
CFAlgoStartTimeCompat.h
Go to the documentation of this file.
1
14
#ifndef RECOTOOL_CFALGOSTARTTIMECOMPAT_H
15
#define RECOTOOL_CFALGOSTARTTIMECOMPAT_H
16
17
#include "
larreco/RecoAlg/CMTool/CMToolBase/CFloatAlgoBase.h
"
18
#include <math.h>
19
20
namespace
cmtool
{
26
class
CFAlgoStartTimeCompat
:
public
CFloatAlgoBase
{
27
28
public
:
29
31
CFAlgoStartTimeCompat
();
32
34
virtual
~CFAlgoStartTimeCompat
(){};
35
36
//
37
// Author should be aware of 3 functions at least: Float, 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
Float
(
const
std::vector<const cluster::ClusterParamsAlg*> &clusters);
47
52
virtual
void
Report
();
53
55
virtual
void
Reset
();
56
58
void
SetVerbose
(
bool
on ) {
_verbose
= on; }
59
61
void
SetTimeDist
(
double
t ) {
_timeDist
= t; }
62
63
private
:
64
65
double
_w2cm
,
_t2cm
;
66
bool
_verbose
;
67
double
_timeDist
;
// Max separation in time between start points [cm]
68
};
69
70
71
}
72
#endif
73
// end of doxygen group
74
cmtool::CFAlgoStartTimeCompat::Float
virtual float Float(const std::vector< const cluster::ClusterParamsAlg * > &clusters)
Definition:
CFAlgoStartTimeCompat.cxx:27
cmtool::CFAlgoStartTimeCompat
Definition:
CFAlgoStartTimeCompat.h:26
CFloatAlgoBase.h
Class def header for a class CFloatAlgoBase.
cmtool::CFAlgoStartTimeCompat::CFAlgoStartTimeCompat
CFAlgoStartTimeCompat()
Default constructor.
Definition:
CFAlgoStartTimeCompat.cxx:10
cmtool::CFAlgoStartTimeCompat::Report
virtual void Report()
Definition:
CFAlgoStartTimeCompat.cxx:193
cmtool::CFAlgoStartTimeCompat::SetVerbose
void SetVerbose(bool on)
Function to set verbose output.
Definition:
CFAlgoStartTimeCompat.h:58
cmtool::CFAlgoStartTimeCompat::_t2cm
double _t2cm
Definition:
CFAlgoStartTimeCompat.h:65
cmtool::CFAlgoStartTimeCompat::Reset
virtual void Reset()
Function to reset the algorithm instance, called together with manager's Reset()
Definition:
CFAlgoStartTimeCompat.cxx:21
cmtool::CFAlgoStartTimeCompat::_w2cm
double _w2cm
Definition:
CFAlgoStartTimeCompat.h:65
cmtool::CFloatAlgoBase
Definition:
CFloatAlgoBase.h:27
cmtool::CFAlgoStartTimeCompat::_verbose
bool _verbose
Definition:
CFAlgoStartTimeCompat.h:66
cmtool::CFAlgoStartTimeCompat::~CFAlgoStartTimeCompat
virtual ~CFAlgoStartTimeCompat()
Default destructor.
Definition:
CFAlgoStartTimeCompat.h:34
cmtool
Definition:
CFAlgo3DAngle.cxx:6
cmtool::CFAlgoStartTimeCompat::SetTimeDist
void SetTimeDist(double t)
Function to set verbose output.
Definition:
CFAlgoStartTimeCompat.h:61
cmtool::CFAlgoStartTimeCompat::_timeDist
double _timeDist
Definition:
CFAlgoStartTimeCompat.h:67
larreco
v07_10_02
source
larreco
RecoAlg
CMTool
CMTAlgMatch
CFAlgoStartTimeCompat.h
Generated on Wed Dec 12 2018 14:42:57 for LArSoft by
1.8.11