ATLAS Offline Software
DAOD_TLA_OutputConfig.py
Go to the documentation of this file.
1 #
2 # Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 #
4 
5 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
6 from AthenaCommon.Logging import logging
7 log = logging.getLogger('decodeBS_TLA_AOD.py')
8 
9 
10 # Configure AOD output
11 def DAOD_TLA_OutputCfg(flags,additional_items=[]):
12  """ Configure AOD output """
13  acc = ComponentAccumulator()
14 
15  from TrigEDMConfig.TriggerEDM import getTriggerEDMList
16  edmList = getTriggerEDMList(flags, key=flags.Trigger.ESDEDMSet)
17 
18  ItemList = []
19  for edmType, edmKeys in edmList.items():
20  for key in edmKeys:
21  ItemList.append(edmType+'#'+key)
22  ItemList += [ "xAOD::EventInfo#EventInfo", "xAOD::EventAuxInfo#EventInfoAux." ]
23  ItemList += [ 'xAOD::TrigCompositeContainer#*' ]
24  ItemList += [ 'xAOD::TrigCompositeAuxContainer#*' ]
25  ItemList += [ 'xAOD::TrigDecision#*' ]
26  ItemList += [ 'xAOD::TrigDecisionAuxInfo#*']
27  ItemList += additional_items
28 
29  from OutputStreamAthenaPool.OutputStreamConfig import OutputStreamCfg
30  acc.merge(OutputStreamCfg(flags, "AOD", ItemList=ItemList))
31 
32 
33  return acc
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.OutputStreamConfig.OutputStreamCfg
def OutputStreamCfg(flags, streamName, ItemList=[], MetadataItemList=[], disableEventTag=False, trigNavThinningSvc=None, takeItemsFromInput=False, extendProvenanceRecord=True, AcceptAlgs=[], HelperTools=[])
Definition: OutputStreamConfig.py:12
python.DAOD_TLA_OutputConfig.DAOD_TLA_OutputCfg
def DAOD_TLA_OutputCfg(flags, additional_items=[])
Definition: DAOD_TLA_OutputConfig.py:11
python.TriggerEDM.getTriggerEDMList
def getTriggerEDMList(flags, key, runVersion=-1)
Definition: TriggerEDM.py:149