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
python
AODFixEGAmbiguityLinksConfig
Functions
python.AODFixEGAmbiguityLinksConfig Namespace Reference
Functions
def
AODFixEGAmbiguityLinksCfg
(flags)
Function Documentation
◆
AODFixEGAmbiguityLinksCfg()
def python.AODFixEGAmbiguityLinksConfig.AODFixEGAmbiguityLinksCfg
(
flags
)
Definition at line
8
of file
AODFixEGAmbiguityLinksConfig.py
.
8
def
AODFixEGAmbiguityLinksCfg
(flags):
9
10
#first check if we need to apply this AODFix
11
if
not
releaseInRange
(flags,
"Athena-24.0.0"
,
"Athena-24.0.83"
):
12
return
None
13
14
result=
ComponentAccumulator
()
15
16
#Use the AddressRemappingSvc to rename the input object
17
from
SGComps.AddressRemappingConfig
import
InputRenameCfg
18
result.merge(
InputRenameCfg
(
"xAOD::ElectronContainer"
,
"Electrons"
,
"old_Electrons"
))
19
result.merge(
InputRenameCfg
(
"xAOD::PhotonContainer"
,
"Photons"
,
"old_Photons"
))
20
result.merge(
InputRenameCfg
(
"xAOD::ElectronAuxContainer"
,
"ElectronsAux."
,
"old_ElectronsAux."
))
21
result.merge(
InputRenameCfg
(
"xAOD::PhotonAuxContainer"
,
"PhotonsAux."
,
"old_PhotonsAux."
))
22
23
#Re-run the required algorithms
24
result.addEventAlgo(CompFactory.egammaAmbiguityRelinker(ElectronInputName=
"old_Electrons"
,
25
ElectronOutputName=
"Electrons"
,
26
PhotonInputName=
"old_Photons"
,
27
PhotonOutputName=
"Photons"
))
28
29
return
result
30
31
32
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition:
JetAnalysisCommon.py:302
python.AODFixEGAmbiguityLinksConfig.AODFixEGAmbiguityLinksCfg
def AODFixEGAmbiguityLinksCfg(flags)
Definition:
AODFixEGAmbiguityLinksConfig.py:8
python.AODFixHelper.releaseInRange
def releaseInRange(flags, rel1, rel2)
Definition:
AODFixHelper.py:9
AddressRemappingConfig.InputRenameCfg
def InputRenameCfg(type, from_name, to_name)
Definition:
AddressRemappingConfig.py:28
Generated on Sat Apr 26 2025 22:02:43 for ATLAS Offline Software by
1.8.18