4 from OutputStreamAthenaPool.OutputStreamConfig
import outputStreamName
5 StreamAOD = cfg.getEventAlgo(outputStreamName(
"AOD"))
6 List = StreamAOD.ItemList
7 KeyForExisting =
'CaloCalTopoClustersAux'
8 AdditionalEgamma =
'.ENG_FRAC_EM'
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