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
src
JetHistoPtTool.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 "
AthenaMonitoringKernel/Monitored.h
"
6
#include "
JetMonitoring/JetHistoPtTool.h
"
7
#include "
JetMonitoring/JetMonitoringAlg.h
"
8
9
10
JetHistoPtTool::JetHistoPtTool
(
const
std::string&
type
,
const
std::string &
name
,
const
IInterface*
parent
):
11
AthAlgTool
(
type
,
name
,
parent
)
12
13
{
14
declareInterface<IJetHistoFiller>(
this
);
15
16
17
}
18
19
StatusCode
JetHistoPtTool::processJetContainer
(
const
JetMonitoringAlg
& parentAlg,
const
xAOD::JetContainer
&
jets
,
const
EventContext& )
const
{
20
21
std::vector<float> jetPt_v;
22
for
(
const
auto
*
const
jetItr :
jets
) {
23
jetPt_v.push_back(jetItr->pt()/1000.);
24
}
25
auto
jetPt =
Monitored::Collection
(
"jetPt"
, jetPt_v);
26
parentAlg.
fill
(
m_group
, jetPt);
27
28
return
StatusCode::SUCCESS;
29
}
JetHistoPtTool::processJetContainer
virtual StatusCode processJetContainer(const JetMonitoringAlg &parentAlg, const xAOD::JetContainer &jets, const EventContext &) const
Definition:
JetHistoPtTool.cxx:19
defineDB.jets
jets
Definition:
JetTagCalibration/share/defineDB.py:24
JetHistoPtTool::m_group
Gaudi::Property< std::string > m_group
Definition:
JetHistoPtTool.h:30
python.CaloAddPedShiftConfig.type
type
Definition:
CaloAddPedShiftConfig.py:42
Monitored::Collection
ValuesCollection< T > Collection(std::string name, const T &collection)
Declare a monitored (double-convertible) collection.
Definition:
MonitoredCollection.h:38
JetHistoPtTool.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
AthMonitorAlgorithm::fill
void fill(const ToolHandle< GenericMonitoringTool > &groupHandle, std::vector< std::reference_wrapper< Monitored::IMonitoredVariable >> &&variables) const
Fills a vector of variables to a group by reference.
DataVector
Derived DataVector<T>.
Definition:
DataVector.h:794
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
JetMonitoringAlg
Definition:
JetMonitoringAlg.h:26
JetHistoPtTool::JetHistoPtTool
JetHistoPtTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition:
JetHistoPtTool.cxx:10
JetMonitoringAlg.h
AthAlgTool
Definition:
AthAlgTool.h:26
Generated on Fri Mar 14 2025 21:12:52 for ATLAS Offline Software by
1.8.18