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
DerivationFramework
DerivationFrameworkTools
DerivationFrameworkTools
DeltaRTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// DeltaRTool.h, (c) ATLAS Detector software
8
9
#ifndef DERIVATIONFRAMEWORK_DELTARTOOL_H
10
#define DERIVATIONFRAMEWORK_DELTARTOOL_H
11
12
#include <string>
13
14
#include "
AthenaBaseComps/AthAlgTool.h
"
15
#include "
DerivationFrameworkInterfaces/IAugmentationTool.h
"
16
17
#include "
ExpressionEvaluation/ExpressionParserUser.h
"
18
19
#include "
StoreGate/ReadHandleKey.h
"
20
#include "
xAODBase/IParticleContainer.h
"
21
22
23
namespace
DerivationFramework
{
24
25
enum
EDeltaRToolParser
{
kDeltaRToolParser1
,
kDeltaRToolParser2
,
kDeltaRToolParserNum
};
26
class
DeltaRTool
:
public
extends<ExpressionParserUser<AthAlgTool,kDeltaRToolParserNum>, IAugmentationTool> {
27
public
:
28
DeltaRTool
(
const
std::string&
t
,
const
std::string&
n
,
const
IInterface*
p
);
29
30
StatusCode
initialize
();
31
StatusCode
finalize
();
32
virtual
StatusCode
addBranches
()
const
;
33
34
private
:
35
std::string
m_expression
;
36
std::string
m_2ndExpression
;
37
SG::WriteHandleKey<std::vector<float>
>
m_sgName
{
this
,
"StoreGateEntryName"
,
""
,
"SG key of output object"
};
38
SG::ReadHandleKey<xAOD::IParticleContainer>
m_containerName
{
this
,
"ContainerName"
,
""
,
"SG key of first container"
};
39
SG::ReadHandleKey<xAOD::IParticleContainer>
m_containerName2
{
this
,
"SecondContainerName"
,
""
,
"SG key of first container"
};
40
41
StatusCode
getDeltaRs
(std::vector<float>*)
const
;
42
static
float
calculateDeltaR
(
float
,
float
,
float
,
float
) ;
43
};
44
}
45
46
#endif // DERIVATIONFRAMEWORK_DELTARTOOL_H
DerivationFramework::kDeltaRToolParser1
@ kDeltaRToolParser1
Definition:
DeltaRTool.h:25
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
DerivationFramework::kDeltaRToolParserNum
@ kDeltaRToolParserNum
Definition:
DeltaRTool.h:25
DerivationFramework::DeltaRTool::m_containerName
SG::ReadHandleKey< xAOD::IParticleContainer > m_containerName
Definition:
DeltaRTool.h:38
DerivationFramework::DeltaRTool::m_2ndExpression
std::string m_2ndExpression
Definition:
DeltaRTool.h:36
IAugmentationTool.h
ExpressionParserUser.h
DerivationFramework::DeltaRTool::m_containerName2
SG::ReadHandleKey< xAOD::IParticleContainer > m_containerName2
Definition:
DeltaRTool.h:39
DerivationFramework::DeltaRTool::initialize
StatusCode initialize()
Definition:
DeltaRTool.cxx:29
DerivationFramework::DeltaRTool::m_expression
std::string m_expression
Definition:
DeltaRTool.h:35
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition:
StoreGate/StoreGate/ReadHandleKey.h:39
python.utils.AtlRunQueryDQUtils.p
p
Definition:
AtlRunQueryDQUtils.py:210
DerivationFramework::DeltaRTool::calculateDeltaR
static float calculateDeltaR(float, float, float, float)
Definition:
DeltaRTool.cxx:162
DerivationFramework::DeltaRTool::DeltaRTool
DeltaRTool(const std::string &t, const std::string &n, const IInterface *p)
Definition:
DeltaRTool.cxx:18
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition:
StoreGate/StoreGate/WriteHandleKey.h:40
beamspotman.n
n
Definition:
beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IParticleContainer.h
AthAlgTool.h
DerivationFramework
THE reconstruction tool.
Definition:
ParticleSortingAlg.h:24
DerivationFramework::kDeltaRToolParser2
@ kDeltaRToolParser2
Definition:
DeltaRTool.h:25
DerivationFramework::EDeltaRToolParser
EDeltaRToolParser
Definition:
DeltaRTool.h:25
DerivationFramework::DeltaRTool::m_sgName
SG::WriteHandleKey< std::vector< float > > m_sgName
Definition:
DeltaRTool.h:37
DerivationFramework::DeltaRTool
Definition:
DeltaRTool.h:26
DerivationFramework::DeltaRTool::finalize
StatusCode finalize()
Definition:
DeltaRTool.cxx:46
DerivationFramework::DeltaRTool::getDeltaRs
StatusCode getDeltaRs(std::vector< float > *) const
Definition:
DeltaRTool.cxx:68
DerivationFramework::DeltaRTool::addBranches
virtual StatusCode addBranches() const
Definition:
DeltaRTool.cxx:52
Generated on Sun May 4 2025 21:08:32 for ATLAS Offline Software by
1.8.18