Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
larana
larana
OpticalDetector
FlashHypothesisComparison.h
Go to the documentation of this file.
1
#ifndef FLASHHYPOTHESISCOMPARISON_H
2
#define FLASHHYPOTHESISCOMPARISON_H
3
4
/*!
5
* Title: FlashHypothesisComparison Class
6
* Author: Wes Ketchum (wketchum@lanl.gov)
7
*
8
* Description:
9
* Class for comparing a flash hypothesis to MC truth (via SimPhotonCounter).
10
* Needs a flash hypothesis and a SimPhotonCounter object as input.
11
* Outputs a Tree with relevent info.
12
*/
13
14
#include "
FlashHypothesis.h
"
15
#include "
SimPhotonCounter.h
"
16
#include "
FlashUtilities.h
"
17
18
class
TTree;
19
class
TH1F;
20
21
namespace
opdet
{
22
23
class
SimPhotonCounter;
24
25
class
FlashHypothesisComparison
{
26
27
public
:
28
FlashHypothesisComparison
(){}
29
30
void
SetOutputObjects
(TTree*,
31
TH1F*,TH1F*,TH1F*,
32
TH1F*,TH1F*,TH1F*,
33
TH1F*,TH1F*,TH1F*,
34
const
unsigned
int
,
35
bool
fill
=
true
);
36
37
void
RunComparison
(
const
unsigned
int
,
38
const
unsigned
int
,
39
const
FlashHypothesisCollection
&,
40
const
SimPhotonCounter
&,
41
const
std::vector<float>&,
42
const
std::vector<float>&);
43
44
private
:
45
46
FlashUtilities
fUtil
;
47
48
void
FillFlashHypothesisInfo
(
const
FlashHypothesisCollection
&,
49
const
std::vector<float>&,
50
const
std::vector<float>&);
51
52
void
FillSimPhotonCounterInfo
(
const
SimPhotonCounter
&,
53
const
std::vector<float>&,
54
const
std::vector<float>&);
55
56
void
FillComparisonInfo
(
const
FlashHypothesisCollection
&,
57
const
SimPhotonCounter
&);
58
59
bool
fFillTree
;
60
TTree*
fTree
;
61
62
TH1F*
fHypHist_p
;
63
TH1F*
fSimHist_p
;
64
TH1F*
fCompareHist_p
;
65
TH1F*
fHypHist_l
;
66
TH1F*
fSimHist_l
;
67
TH1F*
fCompareHist_l
;
68
TH1F*
fHypHist_t
;
69
TH1F*
fSimHist_t
;
70
TH1F*
fCompareHist_t
;
71
72
unsigned
int
fRun
;
73
unsigned
int
fEvent
;
74
75
float
fHypPEs_p
;
76
float
fHypPEsError_p
;
77
float
fSimPEs_p
;
78
float
fHypY_p
;
79
float
fSimY_p
;
80
float
fHypRMSY_p
;
81
float
fSimRMSY_p
;
82
float
fHypZ_p
;
83
float
fSimZ_p
;
84
float
fHypRMSZ_p
;
85
float
fSimRMSZ_p
;
86
float
fCompare_p
;
87
88
float
fHypPEs_l
;
89
float
fHypPEsError_l
;
90
float
fSimPEs_l
;
91
float
fHypY_l
;
92
float
fSimY_l
;
93
float
fHypRMSY_l
;
94
float
fSimRMSY_l
;
95
float
fHypZ_l
;
96
float
fSimZ_l
;
97
float
fHypRMSZ_l
;
98
float
fSimRMSZ_l
;
99
float
fCompare_l
;
100
101
float
fHypPEs_t
;
102
float
fHypPEsError_t
;
103
float
fSimPEs_t
;
104
float
fHypY_t
;
105
float
fSimY_t
;
106
float
fHypRMSY_t
;
107
float
fSimRMSY_t
;
108
float
fHypZ_t
;
109
float
fSimZ_t
;
110
float
fHypRMSZ_t
;
111
float
fSimRMSZ_t
;
112
float
fCompare_t
;
113
};
114
115
}
116
117
118
#endif
opdet::FlashHypothesisComparison::fSimHist_t
TH1F * fSimHist_t
Definition:
FlashHypothesisComparison.h:69
opdet::FlashHypothesisComparison::fCompare_p
float fCompare_p
Definition:
FlashHypothesisComparison.h:86
FlashHypothesis.h
opdet::FlashHypothesisComparison::fHypZ_l
float fHypZ_l
Definition:
FlashHypothesisComparison.h:95
opdet::FlashHypothesisComparison::fSimZ_t
float fSimZ_t
Definition:
FlashHypothesisComparison.h:109
opdet::FlashHypothesisComparison::fSimHist_l
TH1F * fSimHist_l
Definition:
FlashHypothesisComparison.h:66
opdet::FlashHypothesisComparison::fSimRMSY_l
float fSimRMSY_l
Definition:
FlashHypothesisComparison.h:94
opdet::FlashHypothesisComparison::fHypPEsError_p
float fHypPEsError_p
Definition:
FlashHypothesisComparison.h:76
opdet
Definition:
AverageWaveform_module.cc:41
opdet::FlashHypothesisComparison::fHypPEsError_t
float fHypPEsError_t
Definition:
FlashHypothesisComparison.h:102
opdet::FlashHypothesisComparison::fSimZ_l
float fSimZ_l
Definition:
FlashHypothesisComparison.h:96
opdet::FlashHypothesisComparison::fSimRMSZ_p
float fSimRMSZ_p
Definition:
FlashHypothesisComparison.h:85
opdet::FlashHypothesisComparison::fHypRMSZ_t
float fHypRMSZ_t
Definition:
FlashHypothesisComparison.h:110
opdet::FlashHypothesisComparison::fRun
unsigned int fRun
Definition:
FlashHypothesisComparison.h:72
opdet::FlashHypothesisComparison::FillSimPhotonCounterInfo
void FillSimPhotonCounterInfo(const SimPhotonCounter &, const std::vector< float > &, const std::vector< float > &)
Definition:
FlashHypothesisComparison.cxx:192
opdet::FlashHypothesisComparison::fSimZ_p
float fSimZ_p
Definition:
FlashHypothesisComparison.h:83
opdet::FlashHypothesisComparison::fSimRMSZ_t
float fSimRMSZ_t
Definition:
FlashHypothesisComparison.h:111
opdet::FlashHypothesisComparison::fSimY_t
float fSimY_t
Definition:
FlashHypothesisComparison.h:105
opdet::FlashHypothesisComparison::fSimHist_p
TH1F * fSimHist_p
Definition:
FlashHypothesisComparison.h:63
opdet::FlashHypothesisComparison::FillComparisonInfo
void FillComparisonInfo(const FlashHypothesisCollection &, const SimPhotonCounter &)
Definition:
FlashHypothesisComparison.cxx:219
opdet::FlashHypothesisComparison::fSimRMSY_t
float fSimRMSY_t
Definition:
FlashHypothesisComparison.h:107
opdet::FlashUtilities
Definition:
FlashUtilities.h:21
opdet::FlashHypothesisComparison::fHypY_p
float fHypY_p
Definition:
FlashHypothesisComparison.h:78
opdet::FlashHypothesisComparison::fSimPEs_p
float fSimPEs_p
Definition:
FlashHypothesisComparison.h:77
opdet::FlashHypothesisComparison::fSimY_l
float fSimY_l
Definition:
FlashHypothesisComparison.h:92
opdet::FlashHypothesisComparison::fHypRMSY_t
float fHypRMSY_t
Definition:
FlashHypothesisComparison.h:106
opdet::FlashHypothesisComparison::fSimPEs_t
float fSimPEs_t
Definition:
FlashHypothesisComparison.h:103
SimPhotonCounter.h
opdet::FlashHypothesisComparison::fSimPEs_l
float fSimPEs_l
Definition:
FlashHypothesisComparison.h:90
opdet::FlashHypothesisComparison::fHypY_t
float fHypY_t
Definition:
FlashHypothesisComparison.h:104
opdet::FlashHypothesisComparison::fHypPEs_l
float fHypPEs_l
Definition:
FlashHypothesisComparison.h:88
FlashUtilities.h
opdet::FlashHypothesisComparison::fHypPEsError_l
float fHypPEsError_l
Definition:
FlashHypothesisComparison.h:89
opdet::FlashHypothesisComparison::fEvent
unsigned int fEvent
Definition:
FlashHypothesisComparison.h:73
opdet::FlashHypothesisComparison::fTree
TTree * fTree
Definition:
FlashHypothesisComparison.h:60
opdet::FlashHypothesisCollection
Definition:
FlashHypothesis.h:73
opdet::FlashHypothesisComparison::SetOutputObjects
void SetOutputObjects(TTree *, TH1F *, TH1F *, TH1F *, TH1F *, TH1F *, TH1F *, TH1F *, TH1F *, TH1F *, const unsigned int, bool fill=true)
Definition:
FlashHypothesisComparison.cxx:22
opdet::FlashHypothesisComparison::fCompareHist_t
TH1F * fCompareHist_t
Definition:
FlashHypothesisComparison.h:70
opdet::FlashHypothesisComparison::fCompare_t
float fCompare_t
Definition:
FlashHypothesisComparison.h:112
opdet::FlashHypothesisComparison::fCompareHist_l
TH1F * fCompareHist_l
Definition:
FlashHypothesisComparison.h:67
opdet::FlashHypothesisComparison::fHypRMSY_l
float fHypRMSY_l
Definition:
FlashHypothesisComparison.h:93
opdet::FlashHypothesisComparison::fHypHist_l
TH1F * fHypHist_l
Definition:
FlashHypothesisComparison.h:65
opdet::FlashHypothesisComparison::fSimY_p
float fSimY_p
Definition:
FlashHypothesisComparison.h:79
opdet::FlashHypothesisComparison::fHypPEs_p
float fHypPEs_p
Definition:
FlashHypothesisComparison.h:75
opdet::FlashHypothesisComparison::FlashHypothesisComparison
FlashHypothesisComparison()
Definition:
FlashHypothesisComparison.h:28
translator.fill
def fill(s)
Definition:
translator.py:93
opdet::FlashHypothesisComparison::fCompareHist_p
TH1F * fCompareHist_p
Definition:
FlashHypothesisComparison.h:64
opdet::FlashHypothesisComparison::fHypRMSY_p
float fHypRMSY_p
Definition:
FlashHypothesisComparison.h:80
opdet::FlashHypothesisComparison::fHypY_l
float fHypY_l
Definition:
FlashHypothesisComparison.h:91
opdet::SimPhotonCounter
Definition:
SimPhotonCounter.h:17
opdet::FlashHypothesisComparison::fCompare_l
float fCompare_l
Definition:
FlashHypothesisComparison.h:99
opdet::FlashHypothesisComparison::fHypZ_t
float fHypZ_t
Definition:
FlashHypothesisComparison.h:108
opdet::FlashHypothesisComparison::RunComparison
void RunComparison(const unsigned int, const unsigned int, const FlashHypothesisCollection &, const SimPhotonCounter &, const std::vector< float > &, const std::vector< float > &)
Definition:
FlashHypothesisComparison.cxx:139
opdet::FlashHypothesisComparison::fUtil
FlashUtilities fUtil
Definition:
FlashHypothesisComparison.h:46
opdet::FlashHypothesisComparison::fFillTree
bool fFillTree
Definition:
FlashHypothesisComparison.h:59
opdet::FlashHypothesisComparison::fSimRMSZ_l
float fSimRMSZ_l
Definition:
FlashHypothesisComparison.h:98
opdet::FlashHypothesisComparison::FillFlashHypothesisInfo
void FillFlashHypothesisInfo(const FlashHypothesisCollection &, const std::vector< float > &, const std::vector< float > &)
Definition:
FlashHypothesisComparison.cxx:163
opdet::FlashHypothesisComparison::fHypHist_p
TH1F * fHypHist_p
Definition:
FlashHypothesisComparison.h:62
opdet::FlashHypothesisComparison::fHypPEs_t
float fHypPEs_t
Definition:
FlashHypothesisComparison.h:101
opdet::FlashHypothesisComparison
Definition:
FlashHypothesisComparison.h:25
opdet::FlashHypothesisComparison::fSimRMSY_p
float fSimRMSY_p
Definition:
FlashHypothesisComparison.h:81
opdet::FlashHypothesisComparison::fHypHist_t
TH1F * fHypHist_t
Definition:
FlashHypothesisComparison.h:68
opdet::FlashHypothesisComparison::fHypZ_p
float fHypZ_p
Definition:
FlashHypothesisComparison.h:82
opdet::FlashHypothesisComparison::fHypRMSZ_l
float fHypRMSZ_l
Definition:
FlashHypothesisComparison.h:97
opdet::FlashHypothesisComparison::fHypRMSZ_p
float fHypRMSZ_p
Definition:
FlashHypothesisComparison.h:84
Generated by
1.8.11