LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
CFAlgoWireOverlap.h
Go to the documentation of this file.
1
14
#ifndef RECOTOOL_CFALGOWIREOVERLAP_H
15
#define RECOTOOL_CFALGOWIREOVERLAP_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
CFAlgoWireOverlap
:
public
CFloatAlgoBase
{
28
29
public
:
30
32
CFAlgoWireOverlap
();
33
35
virtual
~CFAlgoWireOverlap
(){};
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
}
78
#endif
79
// end of doxygen group
80
Polygon2D.h
2D polygon object
cmtool::CFAlgoWireOverlap::CFAlgoWireOverlap
CFAlgoWireOverlap()
Default constructor.
Definition:
CFAlgoWireOverlap.cxx:10
CFloatAlgoBase.h
Class def header for a class CFloatAlgoBase.
cmtool::CFAlgoWireOverlap::_t2cm
double _t2cm
Definition:
CFAlgoWireOverlap.h:69
cmtool::CFAlgoWireOverlap::SetUseAllPlanes
void SetUseAllPlanes(bool on)
Function to set if _UseAllPlanes is on/off.
Definition:
CFAlgoWireOverlap.h:65
cmtool::CFAlgoWireOverlap
Definition:
CFAlgoWireOverlap.h:27
cmtool::CFAlgoWireOverlap::_debug
bool _debug
Definition:
CFAlgoWireOverlap.h:71
cmtool::CFAlgoWireOverlap::_w2cm
double _w2cm
Definition:
CFAlgoWireOverlap.h:69
cmtool::CFAlgoWireOverlap::Report
virtual void Report()
Definition:
CFAlgoWireOverlap.cxx:305
cmtool::CFAlgoWireOverlap::~CFAlgoWireOverlap
virtual ~CFAlgoWireOverlap()
Default destructor.
Definition:
CFAlgoWireOverlap.h:35
cmtool::CFAlgoWireOverlap::Float
virtual float Float(const std::vector< const cluster::ClusterParamsAlg * > &clusters)
Definition:
CFAlgoWireOverlap.cxx:28
cmtool::CFloatAlgoBase
Definition:
CFloatAlgoBase.h:27
cmtool::CFAlgoWireOverlap::_UseAllPlanes
bool _UseAllPlanes
Definition:
CFAlgoWireOverlap.h:72
cmtool::CFAlgoWireOverlap::Reset
virtual void Reset()
Function to reset the algorithm instance, called together with manager's Reset()
Definition:
CFAlgoWireOverlap.cxx:22
cmtool::CFAlgoWireOverlap::_verbose
bool _verbose
Definition:
CFAlgoWireOverlap.h:70
cmtool
Definition:
CFAlgo3DAngle.cxx:6
cmtool::CFAlgoWireOverlap::SetDebug
void SetDebug(bool on)
Function to set debug output.
Definition:
CFAlgoWireOverlap.h:62
cmtool::CFAlgoWireOverlap::SetVerbose
void SetVerbose(bool on)
Function to set verbose output.
Definition:
CFAlgoWireOverlap.h:59
larreco
v07_10_02
source
larreco
RecoAlg
CMTool
CMTAlgMatch
CFAlgoWireOverlap.h
Generated on Wed Dec 12 2018 14:42:57 for LArSoft by
1.8.11