LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
CFAlgoShowerCompat.h
Go to the documentation of this file.
1
18
#ifndef CFALGOSHOWERCOMPAT_HH
19
#define CFALGOSHOWERCOMPAT_HH
20
21
class
TFile;
22
class
TTree;
23
24
#include "
larreco/RecoAlg/CMTool/CMToolBase/CFloatAlgoBase.h
"
25
26
namespace
cmtool
{
32
class
CFAlgoShowerCompat
:
public
CFloatAlgoBase
{
33
public
:
35
CFAlgoShowerCompat
();
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
float
Float
(
util::GeometryUtilities
const
&,
48
const
std::vector<const cluster::ClusterParamsAlg*>& clusters)
override
;
49
54
void
Report
()
override
;
55
57
void
Reset
()
override
;
58
59
void
PrintClusterInfo
(
const
cluster::ClusterParamsAlg
& c);
60
61
void
WriteHaxFile
()
62
{
63
_fout_hax
->cd();
64
_ana_tree
->Write();
65
_fout_hax
->Close();
66
};
67
71
//virtual void EventBegin(const std::vector<cluster::ClusterParamsAlg> &clusters);
72
76
//virtual void EventEnd();
77
83
//virtual void IterationBegin(const std::vector<cluster::ClusterParamsAlg> &clusters);
84
88
//virtual void IterationEnd();
89
90
private
:
91
TTree*
_ana_tree
;
92
double
_o_ang_avg
;
93
double
_o_ang_rms
;
94
double
_o_ang_wt_avg
;
95
double
_o_ang_wt_rms
;
96
double
_max_trackness
;
97
double
_max_len_over_width
;
98
double
_min_oa_over_len
;
99
double
_max_poly_perim_over_A
;
100
double
_min_modhitdens
;
101
102
TFile*
_fout_hax
;
103
};
104
}
105
#endif
106
// end of doxygen group
cmtool::CFAlgoShowerCompat::_min_oa_over_len
double _min_oa_over_len
Definition:
CFAlgoShowerCompat.h:98
cmtool::CFAlgoShowerCompat::_max_len_over_width
double _max_len_over_width
Definition:
CFAlgoShowerCompat.h:97
cmtool::CFAlgoShowerCompat::Float
float Float(util::GeometryUtilities const &, const std::vector< const cluster::ClusterParamsAlg * > &clusters) override
Definition:
CFAlgoShowerCompat.cxx:39
cmtool::CFAlgoShowerCompat::_ana_tree
TTree * _ana_tree
Definition:
CFAlgoShowerCompat.h:66
util::GeometryUtilities
Definition:
GeometryUtilities.h:37
CFloatAlgoBase.h
Class def header for a class CFloatAlgoBase.
cluster::ClusterParamsAlg
Definition:
ClusterParamsAlg.h:24
cmtool::CFAlgoShowerCompat::_min_modhitdens
double _min_modhitdens
Definition:
CFAlgoShowerCompat.h:100
cmtool::CFAlgoShowerCompat::Report
void Report() override
Definition:
CFAlgoShowerCompat.cxx:98
cmtool::CFAlgoShowerCompat::WriteHaxFile
void WriteHaxFile()
Definition:
CFAlgoShowerCompat.h:61
cmtool::CFAlgoShowerCompat::_o_ang_avg
double _o_ang_avg
Definition:
CFAlgoShowerCompat.h:92
cmtool::CFAlgoShowerCompat::_o_ang_wt_avg
double _o_ang_wt_avg
Definition:
CFAlgoShowerCompat.h:94
cmtool::CFAlgoShowerCompat::_max_trackness
double _max_trackness
Definition:
CFAlgoShowerCompat.h:96
cmtool::CFAlgoShowerCompat::Reset
void Reset() override
Function to reset the algorithm instance, called together with manager's Reset()
Definition:
CFAlgoShowerCompat.cxx:34
cmtool::CFAlgoShowerCompat
Definition:
CFAlgoShowerCompat.h:32
cmtool::CFAlgoShowerCompat::_fout_hax
TFile * _fout_hax
Definition:
CFAlgoShowerCompat.h:102
cmtool::CFAlgoShowerCompat::PrintClusterInfo
void PrintClusterInfo(const cluster::ClusterParamsAlg &c)
Definition:
CFAlgoShowerCompat.cxx:102
cmtool::CFAlgoShowerCompat::_o_ang_wt_rms
double _o_ang_wt_rms
Definition:
CFAlgoShowerCompat.h:95
cmtool::CFloatAlgoBase
Definition:
CFloatAlgoBase.h:32
cmtool
Definition:
CFAlgoQRatio.cxx:3
cmtool::CFAlgoShowerCompat::_o_ang_rms
double _o_ang_rms
Definition:
CFAlgoShowerCompat.h:93
cmtool::CFAlgoShowerCompat::CFAlgoShowerCompat
CFAlgoShowerCompat()
Default constructor.
Definition:
CFAlgoShowerCompat.cxx:9
cmtool::CFAlgoShowerCompat::_max_poly_perim_over_A
double _max_poly_perim_over_A
Definition:
CFAlgoShowerCompat.h:99
larreco
v09_25_00
source
larreco
RecoAlg
CMTool
CMTAlgMatch
CFAlgoShowerCompat.h
Generated on Thu May 2 2024 20:59:46 for LArSoft by
1.8.11