LArSoft
v06_85_00
Liquid Argon Software toolkit - http://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
#include "
larreco/RecoAlg/CMTool/CMToolBase/CFloatAlgoBase.h
"
22
#include "TTree.h"
23
#include "TFile.h"
24
25
namespace
cmtool
{
31
class
CFAlgoShowerCompat
:
public
CFloatAlgoBase
{
32
33
public
:
34
36
CFAlgoShowerCompat
();
37
39
virtual
~CFAlgoShowerCompat
(){};
40
41
//
42
// Author should be aware of 3 functions at least: Float, Report,
43
// and Reset. More possibly-useful functions can be found in the later
44
// part but commented out. All of these functions are virtual and defined
45
// in the base class.
46
51
virtual
float
Float
(
const
std::vector<const cluster::ClusterParamsAlg*> &clusters);
52
57
virtual
void
Report
();
58
60
virtual
void
Reset
();
61
62
void
PrintClusterInfo
(
const
cluster::ClusterParamsAlg
&c);
63
64
void
WriteHaxFile
()
65
{
66
_fout_hax
->cd();
67
_ana_tree
->Write();
68
_fout_hax
->Close();
69
};
70
71
75
//virtual void EventBegin(const std::vector<cluster::ClusterParamsAlg> &clusters);
76
80
//virtual void EventEnd();
81
87
//virtual void IterationBegin(const std::vector<cluster::ClusterParamsAlg> &clusters);
88
92
//virtual void IterationEnd();
93
94
private
:
95
96
TTree*
_ana_tree
;
97
double
_o_ang_avg
;
98
double
_o_ang_rms
;
99
double
_o_ang_wt_avg
;
100
double
_o_ang_wt_rms
;
101
double
_max_trackness
;
102
double
_max_len_over_width
;
103
double
_min_oa_over_len
;
104
double
_max_poly_perim_over_A
;
105
double
_min_modhitdens
;
106
107
TFile*
_fout_hax
;
108
109
};
110
}
111
#endif
112
// end of doxygen group
113
cmtool::CFAlgoShowerCompat::_min_oa_over_len
double _min_oa_over_len
Definition:
CFAlgoShowerCompat.h:103
cmtool::CFAlgoShowerCompat::_max_len_over_width
double _max_len_over_width
Definition:
CFAlgoShowerCompat.h:102
cmtool::CFAlgoShowerCompat::_ana_tree
TTree * _ana_tree
Definition:
CFAlgoShowerCompat.h:69
CFloatAlgoBase.h
Class def header for a class CFloatAlgoBase.
cluster::ClusterParamsAlg
Definition:
ClusterParamsAlg.h:42
cmtool::CFAlgoShowerCompat::~CFAlgoShowerCompat
virtual ~CFAlgoShowerCompat()
Default destructor.
Definition:
CFAlgoShowerCompat.h:39
cmtool::CFAlgoShowerCompat::_min_modhitdens
double _min_modhitdens
Definition:
CFAlgoShowerCompat.h:105
cmtool::CFAlgoShowerCompat::Float
virtual float Float(const std::vector< const cluster::ClusterParamsAlg * > &clusters)
Definition:
CFAlgoShowerCompat.cxx:43
cmtool::CFAlgoShowerCompat::WriteHaxFile
void WriteHaxFile()
Definition:
CFAlgoShowerCompat.h:64
cmtool::CFAlgoShowerCompat::_o_ang_avg
double _o_ang_avg
Definition:
CFAlgoShowerCompat.h:97
cmtool::CFAlgoShowerCompat::_o_ang_wt_avg
double _o_ang_wt_avg
Definition:
CFAlgoShowerCompat.h:99
cmtool::CFAlgoShowerCompat::_max_trackness
double _max_trackness
Definition:
CFAlgoShowerCompat.h:101
cmtool::CFAlgoShowerCompat
Definition:
CFAlgoShowerCompat.h:31
cmtool::CFAlgoShowerCompat::_fout_hax
TFile * _fout_hax
Definition:
CFAlgoShowerCompat.h:107
cmtool::CFAlgoShowerCompat::PrintClusterInfo
void PrintClusterInfo(const cluster::ClusterParamsAlg &c)
Definition:
CFAlgoShowerCompat.cxx:105
cmtool::CFAlgoShowerCompat::Reset
virtual void Reset()
Function to reset the algorithm instance, called together with manager's Reset()
Definition:
CFAlgoShowerCompat.cxx:36
cmtool::CFAlgoShowerCompat::_o_ang_wt_rms
double _o_ang_wt_rms
Definition:
CFAlgoShowerCompat.h:100
cmtool::CFloatAlgoBase
Definition:
CFloatAlgoBase.h:27
cmtool
Definition:
CFAlgo3DAngle.cxx:6
cmtool::CFAlgoShowerCompat::_o_ang_rms
double _o_ang_rms
Definition:
CFAlgoShowerCompat.h:98
cmtool::CFAlgoShowerCompat::CFAlgoShowerCompat
CFAlgoShowerCompat()
Default constructor.
Definition:
CFAlgoShowerCompat.cxx:10
cmtool::CFAlgoShowerCompat::Report
virtual void Report()
Definition:
CFAlgoShowerCompat.cxx:99
cmtool::CFAlgoShowerCompat::_max_poly_perim_over_A
double _max_poly_perim_over_A
Definition:
CFAlgoShowerCompat.h:104
larreco
v06_64_02
source
larreco
RecoAlg
CMTool
CMTAlgMatch
CFAlgoShowerCompat.h
Generated on Thu Jul 26 2018 13:10:12 for LArSoft by
1.8.11