ATLAS Offline Software
Loading...
Searching...
No Matches
DAOD_TLA_OutputConfig.py
Go to the documentation of this file.
2# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3#
4
5from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
6from AthenaCommon.Logging import logging
7log = logging.getLogger('decodeBS_TLA_AOD.py')
8
9
10# Configure AOD output
11def 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
DAOD_TLA_OutputCfg(flags, additional_items=[])