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
Jet
JetMonitoring
Root
JetHistoBase.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
JetMonitoring/JetHistoBase.h
"
6
#include <algorithm>
7
8
#include "TH1F.h"
9
#include "TString.h"
10
JetHistoBase::JetHistoBase
(
const
std::string&
n
) :
HistoGroupBase
(
n
)
11
{
12
declareInterface<JetHistoBase>(
this
);
13
14
}
15
16
StatusCode
JetHistoBase::initialize
() {
17
18
//if(m_histoDir=="") {m_histoDir = "Jets/"; m_histoDir+=m_inputContainer+"/";}
19
return
StatusCode::SUCCESS;
20
}
21
22
23
24
int
JetHistoBase::fillHistosFromContainer
(
const
xAOD::JetContainer
& cont,
float
weight
){
25
int
count
=0;
26
for
(
const
xAOD::Jet
*
jet
: cont ){
count
+=
fillHistosFromJet
( *
jet
,
weight
);}
27
return
count
;
28
}
29
30
int
JetHistoBase::fillHistosFromJet
(
const
xAOD::Jet
&,
float
/*weight*/
) {
return
0;}
31
32
int
JetHistoBase::finalizeHistos
() {
return
0;}
33
34
// void JetHistoBase::setContainerAndDir(const std::string& cont, const std::string& dir){
35
// m_histoDir = dir;
36
// m_inputContainer = cont;
37
// if(m_histoDir=="") {m_histoDir = "Jets/"; m_histoDir+=m_inputContainer+"/";}
38
// }
39
40
JetHistoBase.h
HistoGroupBase
Definition:
HistoGroupBase.h:27
JetHistoBase::JetHistoBase
JetHistoBase(const std::string &t)
Definition:
JetHistoBase.cxx:10
JetHistoBase::fillHistosFromJet
virtual int fillHistosFromJet(const xAOD::Jet &j, float)
Definition:
JetHistoBase.cxx:30
JetHistoBase::fillHistosFromContainer
virtual int fillHistosFromContainer(const xAOD::JetContainer &cont, float weight)
Definition:
JetHistoBase.cxx:24
XMLtoHeader.count
count
Definition:
XMLtoHeader.py:85
dqt_zlumi_pandas.weight
int weight
Definition:
dqt_zlumi_pandas.py:189
jet
Definition:
JetCalibTools_PlotJESFactors.cxx:23
beamspotman.n
n
Definition:
beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DataVector
Derived DataVector<T>.
Definition:
DataVector.h:794
xAOD::Jet_v1
Class describing a jet.
Definition:
Jet_v1.h:57
JetHistoBase::initialize
virtual StatusCode initialize()
Dummy implementation of the initialisation function.
Definition:
JetHistoBase.cxx:16
JetHistoBase::finalizeHistos
virtual int finalizeHistos()
Definition:
JetHistoBase.cxx:32
Generated on Sun Mar 16 2025 21:12:44 for ATLAS Offline Software by
1.8.18