LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
CFAlgoQRatio.h
Go to the documentation of this file.
1
14
#ifndef RECOTOOL_CFALGOQRATIO_H
15
#define RECOTOOL_CFALGOQRATIO_H
16
17
#include "
larreco/RecoAlg/CMTool/CMToolBase/CFloatAlgoBase.h
"
18
19
namespace
cmtool
{
25
class
CFAlgoQRatio
:
public
CFloatAlgoBase
{
26
27
public
:
29
CFAlgoQRatio
();
30
31
//
32
// Author should be aware of 3 functions at least: Float, Report,
33
// and Reset. More possibly-useful functions can be found in the later
34
// part but commented out. All of these functions are virtual and defined
35
// in the base class.
36
41
float
Float
(
util::GeometryUtilities
const
&,
42
const
std::vector<const cluster::ClusterParamsAlg*>& clusters)
override
;
43
48
void
Report
()
override
;
49
51
void
Reset
()
override
;
52
54
void
SetQRatioCut
(
float
cut) {
_qratio_cut
= cut; }
55
56
protected
:
57
float
_qratio_cut
;
58
};
59
}
60
#endif
61
// end of doxygen group
util::GeometryUtilities
Definition:
GeometryUtilities.h:37
CFloatAlgoBase.h
Class def header for a class CFloatAlgoBase.
cmtool::CFAlgoQRatio::SetQRatioCut
void SetQRatioCut(float cut)
Setter for the minimum value for charge ratio (below this value Float() returns -1) ...
Definition:
CFAlgoQRatio.h:54
cmtool::CFAlgoQRatio::Report
void Report() override
Definition:
CFAlgoQRatio.cxx:69
cmtool::CFAlgoQRatio
Definition:
CFAlgoQRatio.h:25
cmtool::CFAlgoQRatio::CFAlgoQRatio
CFAlgoQRatio()
Default constructor.
Definition:
CFAlgoQRatio.cxx:6
cmtool::CFAlgoQRatio::_qratio_cut
float _qratio_cut
Definition:
CFAlgoQRatio.h:57
cmtool::CFAlgoQRatio::Float
float Float(util::GeometryUtilities const &, const std::vector< const cluster::ClusterParamsAlg * > &clusters) override
Definition:
CFAlgoQRatio.cxx:18
cmtool::CFloatAlgoBase
Definition:
CFloatAlgoBase.h:32
cmtool::CFAlgoQRatio::Reset
void Reset() override
Function to reset the algorithm instance, called together with manager's Reset()
Definition:
CFAlgoQRatio.cxx:13
cmtool
Definition:
CFAlgoQRatio.cxx:3
larreco
v09_25_00
source
larreco
RecoAlg
CMTool
CMTAlgMatch
CFAlgoQRatio.h
Generated on Thu May 2 2024 20:59:46 for LArSoft by
1.8.11