Loading [MathJax]/jax/output/SVG/config.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
AnalysisCommon
IsolationSelection
IsolationSelection
IsoVariableHelper.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef ISOLATIONSELECTION_ISOVARIABLEHELPER_H
6
#define ISOLATIONSELECTION_ISOVARIABLEHELPER_H
7
8
#include <
IsolationSelection/Defs.h
>
9
#include <
PATInterfaces/CorrectionCode.h
>
10
#include <
AsgMessaging/AsgMessaging.h
>
11
#include <
xAODBase/IParticle.h
>
12
13
#include <memory>
14
#include <string>
15
namespace
CP
{
16
class
IsoVariableHelper;
17
18
typedef
std::unique_ptr<IsoVariableHelper>
IsoHelperPtr
;
19
20
class
IsoVariableHelper
:
public
asg::AsgMessaging
{
21
public
:
22
CorrectionCode
getOriginalIsolation
(
const
xAOD::IParticle
* particle,
float
&
value
)
const
;
23
CorrectionCode
getIsolation
(
const
xAOD::IParticle
* particle,
float
&
value
)
const
;
24
CorrectionCode
backupIsolation
(
const
xAOD::IParticle
* particle)
const
;
25
CorrectionCode
setIsolation
(
const
xAOD::IParticle
*
P
,
float
value
)
const
;
26
27
IsoType
isotype
()
const
;
28
std::string
name
()
const
;
29
30
IsoVariableHelper
(
IsoType
type
,
const
std::string& backupPreFix,
const
std::string& isoDecSuffix =
""
);
31
32
void
lockDecorations
(
const
SG::AuxVectorData
&
parts
)
const
;
33
34
private
:
35
CorrectionCode
getIsolationFromOriginal
(
const
xAOD::IParticle
* particle,
float
&
value
)
const
;
36
IsoType
m_isoType
;
37
bool
m_BackupIso
;
38
CharDecorator
m_dec_IsoIsBackup
;
39
CharAccessor
m_acc_IsoIsBackup
;
40
41
FloatAccessor
m_acc_iso_variable
;
42
FloatDecorator
m_dec_iso_variable
;
43
44
FloatAccessor
m_acc_iso_backup
;
45
FloatDecorator
m_dec_iso_backup
;
46
};
47
}
// namespace CP
48
49
#endif
IParticle.h
CP::IsoHelperPtr
std::unique_ptr< IsoVariableHelper > IsoHelperPtr
Definition:
IsoVariableHelper.h:16
CP::IsoVariableHelper::m_BackupIso
bool m_BackupIso
Definition:
IsoVariableHelper.h:37
DMTest::P
P_v1 P
Definition:
P.h:23
CP::IsoVariableHelper
Definition:
IsoVariableHelper.h:20
CP::IsoVariableHelper::IsoVariableHelper
IsoVariableHelper(IsoType type, const std::string &backupPreFix, const std::string &isoDecSuffix="")
Definition:
IsoVariableHelper.cxx:14
athena.value
value
Definition:
athena.py:124
CP::IsoVariableHelper::m_acc_iso_variable
FloatAccessor m_acc_iso_variable
Definition:
IsoVariableHelper.h:41
SG::ConstAccessor
Helper class to provide constant type-safe access to aux data.
Definition:
ConstAccessor.h:55
Defs.h
CP::IsoVariableHelper::m_dec_iso_backup
FloatDecorator m_dec_iso_backup
Definition:
IsoVariableHelper.h:45
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition:
Event/xAOD/xAODBase/xAODBase/IParticle.h:41
CP
Select isolated Photons, Electrons and Muons.
Definition:
Control/xAODRootAccess/xAODRootAccess/TEvent.h:49
python.CaloAddPedShiftConfig.type
type
Definition:
CaloAddPedShiftConfig.py:42
CP::IsoVariableHelper::getIsolation
CorrectionCode getIsolation(const xAOD::IParticle *particle, float &value) const
Definition:
IsoVariableHelper.cxx:55
AsgMessaging.h
CP::IsoVariableHelper::getOriginalIsolation
CorrectionCode getOriginalIsolation(const xAOD::IParticle *particle, float &value) const
Definition:
IsoVariableHelper.cxx:25
CP::IsoVariableHelper::isotype
IsoType isotype() const
Definition:
IsoVariableHelper.cxx:91
SG::Decorator
Helper class to provide type-safe access to aux data.
Definition:
Decorator.h:59
CP::IsoVariableHelper::lockDecorations
void lockDecorations(const SG::AuxVectorData &parts) const
Definition:
IsoVariableHelper.cxx:94
xAOD::Iso::IsolationType
IsolationType
Overall enumeration for isolation types in xAOD files.
Definition:
IsolationType.h:26
CP::IsoVariableHelper::m_dec_IsoIsBackup
CharDecorator m_dec_IsoIsBackup
Definition:
IsoVariableHelper.h:38
CP::IsoVariableHelper::m_acc_IsoIsBackup
CharAccessor m_acc_IsoIsBackup
Definition:
IsoVariableHelper.h:39
CP::IsoVariableHelper::m_dec_iso_variable
FloatDecorator m_dec_iso_variable
Definition:
IsoVariableHelper.h:42
CP::IsoVariableHelper::getIsolationFromOriginal
CorrectionCode getIsolationFromOriginal(const xAOD::IParticle *particle, float &value) const
Definition:
IsoVariableHelper.cxx:45
asg::AsgMessaging
Class mimicking the AthMessaging class from the offline software.
Definition:
AsgMessaging.h:40
CP::IsoVariableHelper::setIsolation
CorrectionCode setIsolation(const xAOD::IParticle *P, float value) const
Definition:
IsoVariableHelper.cxx:79
CP::IsoVariableHelper::name
std::string name() const
Definition:
IsoVariableHelper.cxx:92
CP::IsoVariableHelper::m_acc_iso_backup
FloatAccessor m_acc_iso_backup
Definition:
IsoVariableHelper.h:44
CP::CorrectionCode
Return value from object correction CP tools.
Definition:
CorrectionCode.h:31
CP::IsoVariableHelper::backupIsolation
CorrectionCode backupIsolation(const xAOD::IParticle *particle) const
Definition:
IsoVariableHelper.cxx:64
doL1CaloHVCorrections.parts
parts
Definition:
doL1CaloHVCorrections.py:334
CorrectionCode.h
SG::AuxVectorData
Manage lookup of vectors of auxiliary data.
Definition:
AuxVectorData.h:168
CP::IsoVariableHelper::m_isoType
IsoType m_isoType
Definition:
IsoVariableHelper.h:36
Generated on Mon Mar 24 2025 21:12:19 for ATLAS Offline Software by
1.8.18