ATLAS Offline Software
Functions
egammaArtSpecialContent Namespace Reference

Functions

def egammaArtSpecialContent (flags, cfg)
 

Function Documentation

◆ egammaArtSpecialContent()

def egammaArtSpecialContent.egammaArtSpecialContent (   flags,
  cfg 
)

Definition at line 3 of file egammaArtSpecialContent.py.

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
AthenaPoolExample_WriteCond.outputStreamName
string outputStreamName
Definition: AthenaPoolExample_WriteCond.py:21
egammaArtSpecialContent.egammaArtSpecialContent
def egammaArtSpecialContent(flags, cfg)
Definition: egammaArtSpecialContent.py:3