4 from xAODTrigMissingETCnv.xAODTrigMissingETCnvConf
import xAODMaker__TrigMissingETCnvAlg
8 key = "HLT_TrigEFMissingET" ):
10 Helper function that schedules all the components that create xAOD
11 TrigMissingET objects out of existing AOD objects.
14 sequence: Optional sequence to which the components should be added.
15 If not specified, the main algorithm sequence is used.
16 stream: Optional stream that the objects should be written to.
17 If not specified, the objects are added to StreamAOD.
18 key: Optional StoreGate key for the AOD object that is supposed to be
23 from AthenaCommon.Logging
import logging
24 logger = logging.getLogger(
"xAODTrigMissingETCreator" )
27 logger.info(
"Creating xAOD::TrigMissingET from TrigDec::TrigMissingET" )
31 from AthenaCommon.AlgSequence
import AlgSequence
37 from OutputStreamAthenaPool.MultipleStreamManager
import MSMgr
38 stream = MSMgr.GetStream(
"StreamAOD" )
42 alg = xAODMaker__TrigMissingETCnvAlg()
48 stream.AddItem(
"xAOD::TrigMissingETContainer_v1#%s" % key )
49 stream.AddItem(
"xAOD::TrigMissingETAuxContainer_v1#%sAux." % key )