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
Reconstruction
egamma
EgammaPhysValMonitoring
src
PhotonAmbPlots.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
PhotonAmbPlots.h
"
6
#include "
MCTruthClassifier/MCTruthClassifierDefs.h
"
7
8
namespace
Egamma
{
9
10
11
PhotonAmbPlots::PhotonAmbPlots
(
PlotBase
* pParent,
const
std::string&
sDir
,
const
std::string& sParticleType):
PlotBase
(pParent,
sDir
),
12
m_oKinAllPlots(this,
"All/KinPlots/"
,
"Reco "
+ sParticleType +
" Photon"
),
13
m_oShowerShapesAllPlots(this,
"All/ShowerShapesPlots/"
, sParticleType +
" Photon"
),
14
m_sParticleType(sParticleType),
15
m_nParticles(nullptr),
16
m_nParticles_weighted(nullptr)
17
{}
18
19
void
PhotonAmbPlots::initializePlots
(){
20
m_nParticles
=
Book1D
(
"n"
,
"Number of "
+
m_sParticleType
+
"s;#"
+
m_sParticleType
+
"s;Events"
, 15, 0., 15.);
21
m_nParticles_weighted
=
Book1D
(
"n_weighted"
,
"Number of "
+
m_sParticleType
+
"s;#"
+
m_sParticleType
+
"s;Events"
, 15, 0., 15.);
22
}
23
24
void
PhotonAmbPlots::fill
(
const
xAOD::Photon
& photon,
const
xAOD::EventInfo
& eventInfo,
bool
/*isPrompt*/
) {
25
//if(!isPrompt) ;//return;
26
27
m_oKinAllPlots
.
fill
(photon,eventInfo);
28
m_oShowerShapesAllPlots
.
fill
(photon,eventInfo);
29
30
}
31
}
Egamma::ShowerShapesPlots::fill
void fill(const xAOD::Egamma &egamma, const xAOD::EventInfo &eventInfo)
Definition:
ShowerShapesPlots.cxx:154
PlotBase
Definition:
PlotBase.h:34
Egamma
Definition:
ClusMomentumPlots.cxx:11
Egamma::PhotonAmbPlots::PhotonAmbPlots
PhotonAmbPlots(PlotBase *pParent, const std::string &sDir, const std::string &sParticleType)
Definition:
PhotonAmbPlots.cxx:11
python.copyTCTOutput.sDir
sDir
Definition:
copyTCTOutput.py:60
Egamma::PhotonAmbPlots::m_oShowerShapesAllPlots
Egamma::ShowerShapesPlots m_oShowerShapesAllPlots
Definition:
PhotonAmbPlots.h:24
Egamma::PhotonAmbPlots::m_nParticles
TH1 * m_nParticles
Definition:
PhotonAmbPlots.h:28
PhotonAmbPlots.h
PlotBase::Book1D
TH1D * Book1D(const std::string &name, const std::string &labels, int nBins, float start, float end, bool prependDir=true)
Book a TH1D histogram.
Definition:
PlotBase.cxx:94
Egamma::PhotonAmbPlots::m_oKinAllPlots
Egamma::KinematicsPlots m_oKinAllPlots
Definition:
PhotonAmbPlots.h:23
MCTruthClassifierDefs.h
Egamma::PhotonAmbPlots::m_nParticles_weighted
TH1 * m_nParticles_weighted
Definition:
PhotonAmbPlots.h:29
Egamma::KinematicsPlots::fill
void fill(const xAOD::IParticle &part, const xAOD::EventInfo &eventInfo)
Definition:
Reconstruction/egamma/EgammaPhysValMonitoring/src/KinematicsPlots.cxx:28
xAOD::EventInfo_v1
Class describing the basic event information.
Definition:
EventInfo_v1.h:43
xAOD::Photon_v1
Definition:
Photon_v1.h:37
Egamma::PhotonAmbPlots::m_sParticleType
std::string m_sParticleType
Definition:
PhotonAmbPlots.h:26
Egamma::PhotonAmbPlots::fill
void fill(const xAOD::Photon &photon, const xAOD::EventInfo &eventInfo, bool isPrompt)
Definition:
PhotonAmbPlots.cxx:24
Egamma::PhotonAmbPlots::initializePlots
virtual void initializePlots()
Definition:
PhotonAmbPlots.cxx:19
Generated on Thu Mar 13 2025 21:16:20 for ATLAS Offline Software by
1.8.18