ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
egamma
egammaValidation
python
egammaArtSpecialContent.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2
3
def
egammaArtSpecialContent
(flags,cfg):
4
from
OutputStreamAthenaPool.OutputStreamConfig
import
outputStreamName
5
StreamAOD = cfg.getEventAlgo(outputStreamName(
"AOD"
))
6
List = StreamAOD.ItemList
7
KeyForExisting =
'CaloCalTopoClustersAux'
8
AdditionalEgamma =
'.ENG_FRAC_EM'
9
10
newItem =
''
11
for
e
in
List:
12
if
e.find(KeyForExisting) >= 0:
13
newItem = e + AdditionalEgamma
14
newList = [ e
for
e
in
List
if
e.find(KeyForExisting) < 0 ]
15
newList.append(newItem)
16
StreamAOD.ItemList = newList
egammaArtSpecialContent
Definition
egammaArtSpecialContent.py:1
Generated on
for ATLAS Offline Software by
1.17.0