LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
CFAlgoVolumeOverlap.h
Go to the documentation of this file.
1
14
#ifndef RECOTOOL_CFALGOVOLUMEOVERLAP_H
15
#define RECOTOOL_CFALGOVOLUMEOVERLAP_H
16
17
#include "
larreco/RecoAlg/CMTool/CMToolBase/CFloatAlgoBase.h
"
18
#include <math.h>
19
#include "
larreco/RecoAlg/ClusterRecoUtil/Polygon2D.h
"
20
21
namespace
cmtool
{
27
class
CFAlgoVolumeOverlap
:
public
CFloatAlgoBase
{
28
29
public
:
30
32
CFAlgoVolumeOverlap
();
33
35
virtual
~CFAlgoVolumeOverlap
(){};
36
37
//
38
// Author should be aware of 3 functions at least: Float, 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
47
virtual
float
Float
(
const
std::vector<const cluster::ClusterParamsAlg*> &clusters);
48
53
virtual
void
Report
();
54
56
virtual
void
Reset
();
57
59
void
SetVerbose
(
bool
on ) {
_verbose
= on; }
60
62
void
SetDebug
(
bool
on ) {
_debug
= on; }
63
65
void
SetUseAllPlanes
(
bool
on ) {
_UseAllPlanes
= on; }
66
67
private
:
68
69
double
_w2cm
,
_t2cm
;
70
bool
_verbose
;
71
bool
_debug
;
72
bool
_UseAllPlanes
;
//If True matching only if clusters.size() == 3)
73
};
74
75
76
}
77
#endif
78
// end of doxygen group
79
cmtool::CFAlgoVolumeOverlap::CFAlgoVolumeOverlap
CFAlgoVolumeOverlap()
Default constructor.
Definition:
CFAlgoVolumeOverlap.cxx:10
Polygon2D.h
2D polygon object
cmtool::CFAlgoVolumeOverlap::Reset
virtual void Reset()
Function to reset the algorithm instance, called together with manager's Reset()
Definition:
CFAlgoVolumeOverlap.cxx:22
cmtool::CFAlgoVolumeOverlap::Float
virtual float Float(const std::vector< const cluster::ClusterParamsAlg * > &clusters)
Definition:
CFAlgoVolumeOverlap.cxx:28
CFloatAlgoBase.h
Class def header for a class CFloatAlgoBase.
cmtool::CFAlgoVolumeOverlap
Definition:
CFAlgoVolumeOverlap.h:27
cmtool::CFAlgoVolumeOverlap::_verbose
bool _verbose
Definition:
CFAlgoVolumeOverlap.h:70
cmtool::CFAlgoVolumeOverlap::_UseAllPlanes
bool _UseAllPlanes
Definition:
CFAlgoVolumeOverlap.h:72
cmtool::CFAlgoVolumeOverlap::_t2cm
double _t2cm
Definition:
CFAlgoVolumeOverlap.h:69
cmtool::CFAlgoVolumeOverlap::_w2cm
double _w2cm
Definition:
CFAlgoVolumeOverlap.h:69
cmtool::CFloatAlgoBase
Definition:
CFloatAlgoBase.h:27
cmtool::CFAlgoVolumeOverlap::SetDebug
void SetDebug(bool on)
Function to set debug output.
Definition:
CFAlgoVolumeOverlap.h:62
cmtool::CFAlgoVolumeOverlap::Report
virtual void Report()
Definition:
CFAlgoVolumeOverlap.cxx:316
cmtool::CFAlgoVolumeOverlap::SetUseAllPlanes
void SetUseAllPlanes(bool on)
Function to set if _UseAllPlanes is on/off.
Definition:
CFAlgoVolumeOverlap.h:65
cmtool::CFAlgoVolumeOverlap::~CFAlgoVolumeOverlap
virtual ~CFAlgoVolumeOverlap()
Default destructor.
Definition:
CFAlgoVolumeOverlap.h:35
cmtool
Definition:
CFAlgo3DAngle.cxx:6
cmtool::CFAlgoVolumeOverlap::_debug
bool _debug
Definition:
CFAlgoVolumeOverlap.h:71
cmtool::CFAlgoVolumeOverlap::SetVerbose
void SetVerbose(bool on)
Function to set verbose output.
Definition:
CFAlgoVolumeOverlap.h:59
larreco
v06_64_02
source
larreco
RecoAlg
CMTool
CMTAlgMatch
CFAlgoVolumeOverlap.h
Generated on Thu Jul 26 2018 13:10:12 for LArSoft by
1.8.11