Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
PhysicsAnalysis
ElectronPhotonID
ElectronPhotonFourMomentumCorrection
src
dumpAllSystematics.h
Go to the documentation of this file.
1
2
3
/*
4
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#ifndef DUMPALLSYSTEMATICS_H
8
#define DUMPALLSYSTEMATICS_H
9
10
#include <vector>
11
#include <string>
12
13
// Gaudi/Athena include(s):
14
#include "
AthenaBaseComps/AthAlgorithm.h
"
15
#include "
AsgTools/ToolHandle.h
"
16
17
#include "TTree.h"
18
19
// Local include(s):
20
#include "
EgammaAnalysisInterfaces/IEgammaCalibrationAndSmearingTool.h
"
21
22
class
DumpAllSystematics
:
public
AthAlgorithm
{
23
24
public
:
26
DumpAllSystematics
(
const
std::string&
name
, ISvcLocator* svcLoc );
27
28
virtual
StatusCode
initialize
();
29
virtual
StatusCode
execute
();
30
virtual
StatusCode
finalize
();
31
32
std::string
m_particle_name
;
33
std::string
m_reco_container_name
;
34
bool
m_keep_one
;
35
36
private
:
37
enum class
ParticleType
38
{
39
ELECTRON
,
40
PHOTON
41
};
42
ParticleType
m_particle_type
=
ParticleType::ELECTRON
;
43
44
TTree*
m_tree
{};
45
46
StatusCode
do_truth
(
const
xAOD::Egamma
&
particle
);
47
StatusCode
do_egamma
(
const
xAOD::Egamma
&
particle
);
48
StatusCode
do_energy
(
xAOD::Egamma
&
particle
,
int
itool);
49
50
unsigned
long
long
m_EventNumber
{};
51
uint32_t
m_RunNumber
{};
52
int
m_instance_index
{};
53
float
m_actualIntPerXing
{};
54
float
m_averageIntPerXing
{};
55
float
m_truth_pt
{};
56
float
m_truth_phi
{};
57
float
m_truth_eta
{};
58
float
m_truth_E
{};
59
int
m_truth_pdgId
{};
60
int
m_truth_parent_pdgId
{};
61
bool
m_truth_matched
{};
62
bool
m_truth_isConv
{};
63
float
m_truth_Rconv
{};
64
int
m_npv
{};
65
66
float
m_cl_phi
{};
67
float
m_cl_eta
{};
68
float
m_cl_etaCalo
{};
69
float
m_cl_rawcl_Es0
{};
70
float
m_cl_rawcl_Es1
{};
71
float
m_cl_rawcl_Es2
{};
72
float
m_cl_rawcl_Es3
{};
73
float
m_cl_E
{};
74
float
m_ph_Rconv
{};
75
int
m_ph_convFlag
{};
76
float
m_wstot
{};
77
78
std::vector<float>
m_nominal_E
;
79
std::vector<float>
m_energy_variations_sum_up
;
80
std::vector<float>
m_energy_variations_sum_down
;
81
std::vector<std::vector<float> >
m_energy_variations
;
82
83
84
ToolHandleArray<CP::IEgammaCalibrationAndSmearingTool>
m_EgammaCalibrationAndSmearingTools
;
85
86
};
// class testAthenaEgammaCalibTool
87
88
#endif // DUMPALLSYSTEMATICS_H
DumpAllSystematics::m_cl_rawcl_Es2
float m_cl_rawcl_Es2
Definition:
dumpAllSystematics.h:71
DumpAllSystematics::m_RunNumber
uint32_t m_RunNumber
Definition:
dumpAllSystematics.h:51
DumpAllSystematics::m_truth_isConv
bool m_truth_isConv
Definition:
dumpAllSystematics.h:62
DumpAllSystematics::m_energy_variations
std::vector< std::vector< float > > m_energy_variations
Definition:
dumpAllSystematics.h:81
DumpAllSystematics::m_cl_rawcl_Es3
float m_cl_rawcl_Es3
Definition:
dumpAllSystematics.h:72
DumpAllSystematics::do_energy
StatusCode do_energy(xAOD::Egamma &particle, int itool)
Definition:
dumpAllSystematics.cxx:315
DumpAllSystematics::ParticleType
ParticleType
Definition:
dumpAllSystematics.h:38
Trk::ParticleSwitcher::particle
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
Definition:
ParticleHypothesis.h:76
DumpAllSystematics::m_truth_Rconv
float m_truth_Rconv
Definition:
dumpAllSystematics.h:63
DumpAllSystematics::m_truth_matched
bool m_truth_matched
Definition:
dumpAllSystematics.h:61
xAOD::uint32_t
setEventNumber uint32_t
Definition:
EventInfo_v1.cxx:127
DumpAllSystematics::m_npv
int m_npv
Definition:
dumpAllSystematics.h:64
DumpAllSystematics::m_ph_convFlag
int m_ph_convFlag
Definition:
dumpAllSystematics.h:75
DumpAllSystematics::do_truth
StatusCode do_truth(const xAOD::Egamma &particle)
Definition:
dumpAllSystematics.cxx:266
DumpAllSystematics::m_nominal_E
std::vector< float > m_nominal_E
Definition:
dumpAllSystematics.h:78
DumpAllSystematics
Definition:
dumpAllSystematics.h:22
xAOD::Egamma_v1
Definition:
Egamma_v1.h:56
DumpAllSystematics::execute
virtual StatusCode execute()
Definition:
dumpAllSystematics.cxx:191
AthAlgorithm.h
IEgammaCalibrationAndSmearingTool.h
DumpAllSystematics::m_ph_Rconv
float m_ph_Rconv
Definition:
dumpAllSystematics.h:74
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DumpAllSystematics::m_truth_E
float m_truth_E
Definition:
dumpAllSystematics.h:58
DumpAllSystematics::DumpAllSystematics
DumpAllSystematics(const std::string &name, ISvcLocator *svcLoc)
Regular Algorithm constructor.
Definition:
dumpAllSystematics.cxx:35
DumpAllSystematics::m_cl_E
float m_cl_E
Definition:
dumpAllSystematics.h:73
DumpAllSystematics::m_energy_variations_sum_up
std::vector< float > m_energy_variations_sum_up
Definition:
dumpAllSystematics.h:79
DumpAllSystematics::m_EgammaCalibrationAndSmearingTools
ToolHandleArray< CP::IEgammaCalibrationAndSmearingTool > m_EgammaCalibrationAndSmearingTools
Definition:
dumpAllSystematics.h:84
AthAlgorithm
Definition:
AthAlgorithm.h:47
DumpAllSystematics::ParticleType::PHOTON
@ PHOTON
DumpAllSystematics::m_averageIntPerXing
float m_averageIntPerXing
Definition:
dumpAllSystematics.h:54
DumpAllSystematics::m_tree
TTree * m_tree
Definition:
dumpAllSystematics.h:44
DumpAllSystematics::m_cl_rawcl_Es1
float m_cl_rawcl_Es1
Definition:
dumpAllSystematics.h:70
DumpAllSystematics::m_actualIntPerXing
float m_actualIntPerXing
Definition:
dumpAllSystematics.h:53
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:240
DumpAllSystematics::m_cl_rawcl_Es0
float m_cl_rawcl_Es0
Definition:
dumpAllSystematics.h:69
DumpAllSystematics::m_energy_variations_sum_down
std::vector< float > m_energy_variations_sum_down
Definition:
dumpAllSystematics.h:80
DumpAllSystematics::m_truth_pdgId
int m_truth_pdgId
Definition:
dumpAllSystematics.h:59
DumpAllSystematics::m_instance_index
int m_instance_index
Definition:
dumpAllSystematics.h:52
DumpAllSystematics::m_truth_pt
float m_truth_pt
Definition:
dumpAllSystematics.h:55
DumpAllSystematics::initialize
virtual StatusCode initialize()
Definition:
dumpAllSystematics.cxx:45
DumpAllSystematics::m_cl_etaCalo
float m_cl_etaCalo
Definition:
dumpAllSystematics.h:68
DumpAllSystematics::m_truth_phi
float m_truth_phi
Definition:
dumpAllSystematics.h:56
DumpAllSystematics::m_reco_container_name
std::string m_reco_container_name
Definition:
dumpAllSystematics.h:33
DumpAllSystematics::do_egamma
StatusCode do_egamma(const xAOD::Egamma &particle)
Definition:
dumpAllSystematics.cxx:299
DumpAllSystematics::m_wstot
float m_wstot
Definition:
dumpAllSystematics.h:76
DumpAllSystematics::m_particle_type
ParticleType m_particle_type
Definition:
dumpAllSystematics.h:42
ToolHandle.h
DumpAllSystematics::m_keep_one
bool m_keep_one
Definition:
dumpAllSystematics.h:34
DumpAllSystematics::m_particle_name
std::string m_particle_name
Definition:
dumpAllSystematics.h:32
DumpAllSystematics::m_cl_phi
float m_cl_phi
Definition:
dumpAllSystematics.h:66
DumpAllSystematics::m_truth_parent_pdgId
int m_truth_parent_pdgId
Definition:
dumpAllSystematics.h:60
DumpAllSystematics::m_cl_eta
float m_cl_eta
Definition:
dumpAllSystematics.h:67
DumpAllSystematics::finalize
virtual StatusCode finalize()
Definition:
dumpAllSystematics.cxx:183
DumpAllSystematics::ParticleType::ELECTRON
@ ELECTRON
DumpAllSystematics::m_truth_eta
float m_truth_eta
Definition:
dumpAllSystematics.h:57
DumpAllSystematics::m_EventNumber
unsigned long long m_EventNumber
Definition:
dumpAllSystematics.h:50
Generated on Wed Apr 9 2025 21:09:53 for ATLAS Offline Software by
1.8.18