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
PhysicsValidation
PhysValMonitoring
src
METPlots.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 <utility>
6
7
8
9
#include "
METPlots.h
"
10
11
using
CLHEP::GeV
;
12
13
namespace
PhysVal
{
14
15
METPlots::METPlots
(
PlotBase
* pParent,
const
std::string&
sDir
, std::string sParticleType):
PlotBase
(pParent,
sDir
),
16
m_sParticleType(std::move(sParticleType))
17
{}
18
19
void
METPlots::initializePlots
(){
20
met_ex
=
Book1D
(
"Ex"
,
"MET "
+
m_sParticleType
+
" Ex; E_{x}^{miss} ;Events"
, 100, 0., 400);
21
met_ey
=
Book1D
(
"Ey"
,
"MET "
+
m_sParticleType
+
" Ey; E_{y}^{miss} ;Events"
, 100, 0., 400);
22
met_et
=
Book1D
(
"Et"
,
"MET "
+
m_sParticleType
+
" Et; E_{t}^{miss} ;Events"
, 100, 0., 400);
23
met_sumet
=
Book1D
(
"SumEt"
,
"MET "
+
m_sParticleType
+
" Ex; #Sum E_{t} ;Events"
, 100, 0., 2000);
24
}
25
26
void
METPlots::fill
(
const
xAOD::MissingET
*
met
,
const
xAOD::EventInfo
*
evt
) {
27
28
met_ex
->Fill(
met
->mpx()/
GeV
,
evt
->beamSpotWeight());
29
met_ey
->Fill(
met
->mpy()/
GeV
,
evt
->beamSpotWeight());
30
met_et
->Fill(
met
->met()/
GeV
,
evt
->beamSpotWeight());
31
met_sumet
->Fill(
met
->sumet()/
GeV
,
evt
->beamSpotWeight());
32
33
}
34
}
METPlots.h
GeV
#define GeV
Definition:
PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx:17
PlotBase
Definition:
PlotBase.h:34
PhysVal::METPlots::met_ey
TH1 * met_ey
Definition:
METPlots.h:23
python.copyTCTOutput.sDir
sDir
Definition:
copyTCTOutput.py:60
PhysVal::METPlots::fill
void fill(const xAOD::MissingET *met, const xAOD::EventInfo *evt)
Definition:
METPlots.cxx:26
LArG4FSStartPointFilter.evt
evt
Definition:
LArG4FSStartPointFilter.py:42
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
PhysVal::METPlots::met_et
TH1 * met_et
Definition:
METPlots.h:24
met
Definition:
IMETSignificance.h:24
PhysVal::METPlots::met_sumet
TH1 * met_sumet
Definition:
METPlots.h:25
xAOD::MissingET_v1
Principal data object for Missing ET.
Definition:
MissingET_v1.h:25
PhysVal::METPlots::met_ex
TH1 * met_ex
Definition:
METPlots.h:22
PhysVal
Definition:
BTagPlots.cxx:13
xAOD::EventInfo_v1
Class describing the basic event information.
Definition:
EventInfo_v1.h:43
PhysVal::METPlots::METPlots
METPlots(PlotBase *pParent, const std::string &sDir, std::string sParticleType="RefFinal")
Definition:
METPlots.cxx:15
PhysVal::METPlots::initializePlots
virtual void initializePlots()
Definition:
METPlots.cxx:19
PhysVal::METPlots::m_sParticleType
std::string m_sParticleType
Definition:
METPlots.h:21
Generated on Sat Apr 19 2025 21:14:53 for ATLAS Offline Software by
1.8.18