diff --git a/Trigger/TrigTools/TrigInDetConfig/python/InDetSetup.py b/Trigger/TrigTools/TrigInDetConfig/python/InDetSetup.py index 89326454283eae507664d1a1a51b5d5e6b1b4929..b5b119590b5ac779436e2dbd3e4b653a1a48c5e0 100644 --- a/Trigger/TrigTools/TrigInDetConfig/python/InDetSetup.py +++ b/Trigger/TrigTools/TrigInDetConfig/python/InDetSetup.py @@ -56,12 +56,9 @@ def makeInDetAlgs( whichSignature='', separateTrackParticleCreator='', rois = 'E ( 'xAOD::EventInfo' , 'StoreGateSvc+EventInfo' )] viewAlgs.append( ViewDataVerifier ) - # Make sure required objects are still available at whole-event level + # Load RDOs if we aren't loading bytestream from AthenaCommon.AlgSequence import AlgSequence topSequence = AlgSequence() - topSequence.SGInputLoader.Load += [( 'xAOD::EventInfo' , 'StoreGateSvc+EventInfo' )] - - # Load RDOs if we aren't loading bytestream if not globalflags.InputFormat.is_bytestream(): ViewDataVerifier.DataObjects += [( 'PixelRDO_Container' , InDetKeys.PixelRDOs() ), ( 'SCT_RDO_Container' , InDetKeys.SCT_RDOs() ), diff --git a/Trigger/TriggerCommon/TriggerJobOpts/share/runHLT_standalone.py b/Trigger/TriggerCommon/TriggerJobOpts/share/runHLT_standalone.py index 0035d59b81753b66b5192809085c74de83149770..5de38118bba351149ce31e18ca51bd2a6f5143d0 100644 --- a/Trigger/TriggerCommon/TriggerJobOpts/share/runHLT_standalone.py +++ b/Trigger/TriggerCommon/TriggerJobOpts/share/runHLT_standalone.py @@ -332,11 +332,16 @@ if globalflags.InputFormat.is_pool(): from RecExConfig.ObjKeyStore import objKeyStore from PyUtils.MetaReaderPeeker import convert_itemList objKeyStore.addManyTypesInputFile(convert_itemList(layout='#join')) - from AthenaCommon.AlgSequence import AthSequencer - condSeq = AthSequencer("AthCondSeq") - if ( not objKeyStore.isInInput("xAOD::EventInfo") ) and ( not hasattr(condSeq, "xAODMaker::EventInfoCnvAlg") ): - from xAODEventInfoCnv.xAODEventInfoCnvAlgDefault import xAODEventInfoCnvAlgDefault - xAODEventInfoCnvAlgDefault(sequence=condSeq) + if objKeyStore.isInInput("xAOD::EventInfo"): + topSequence.SGInputLoader.Load += [( 'xAOD::EventInfo' , 'StoreGateSvc+EventInfo' )] + else: + from AthenaCommon.AlgSequence import AthSequencer + condSeq = AthSequencer("AthCondSeq") + if not hasattr(condSeq, "xAODMaker::EventInfoCnvAlg"): + from xAODEventInfoCnv.xAODEventInfoCnvAlgDefault import xAODEventInfoCnvAlgDefault + xAODEventInfoCnvAlgDefault(sequence=condSeq) +else: + topSequence.SGInputLoader.Load += [( 'xAOD::EventInfo' , 'StoreGateSvc+EventInfo' )] # ---------------------------------------------------------------- # Detector geometry diff --git a/Trigger/TriggerCommon/TriggerMenuMT/python/HLTMenuConfig/CalibCosmicMon/BeamspotChainConfiguration.py b/Trigger/TriggerCommon/TriggerMenuMT/python/HLTMenuConfig/CalibCosmicMon/BeamspotChainConfiguration.py index 553ee533e2ec9e805dc07a19857b0d192f4273e5..872b30142a90df6b68230ebbb264a064982b21b4 100644 --- a/Trigger/TriggerCommon/TriggerMenuMT/python/HLTMenuConfig/CalibCosmicMon/BeamspotChainConfiguration.py +++ b/Trigger/TriggerCommon/TriggerMenuMT/python/HLTMenuConfig/CalibCosmicMon/BeamspotChainConfiguration.py @@ -38,11 +38,6 @@ def allTE_trkfast(): viewVerify.DataObjects += [( 'TrigRoiDescriptorCollection' , 'StoreGateSvc+beamspotInputRoIs' ), ( 'xAOD::EventInfo' , 'StoreGateSvc+EventInfo' )] - # Make sure the event info is still available at whole-event level - from AthenaCommon.AlgSequence import AlgSequence - topSequence = AlgSequence() - topSequence.SGInputLoader.Load += [( 'xAOD::EventInfo' , 'StoreGateSvc+EventInfo' )] - beamspotSequence = seqAND("beamspotSequence",viewAlgs+[T2VertexBeamSpot_activeAllTE()]) inputMakerAlg.ViewNodeName = beamspotSequence.name() diff --git a/Trigger/TriggerCommon/TriggerMenuMT/python/HLTMenuConfig/Electron/PrecisionElectronRecoSequences.py b/Trigger/TriggerCommon/TriggerMenuMT/python/HLTMenuConfig/Electron/PrecisionElectronRecoSequences.py index 71124be5ccf1e48d7cef2b76cf746ff9445f13cb..bfe5be6de1463acd4edcdea4a337daca3a7b5ecf 100644 --- a/Trigger/TriggerCommon/TriggerMenuMT/python/HLTMenuConfig/Electron/PrecisionElectronRecoSequences.py +++ b/Trigger/TriggerCommon/TriggerMenuMT/python/HLTMenuConfig/Electron/PrecisionElectronRecoSequences.py @@ -37,6 +37,7 @@ def precisionElectronRecoSequence(RoIs): ( 'CaloCellContainer' , 'StoreGateSvc+CaloCells' ), ( 'SCT_FlaggedCondData' , 'StoreGateSvc+SCT_FlaggedCondData_TRIG' ), ( 'xAOD::EventInfo' , 'StoreGateSvc+EventInfo' ), + ( 'SG::AuxElement' , 'StoreGateSvc+EventInfo.AveIntPerXDecor' ), ( 'InDet::PixelGangedClusterAmbiguities' , 'StoreGateSvc+PixelClusterAmbiguitiesMap' ), # makeInDetPrecisionTracking should get this, but it doesn't ( 'IDCInDetBSErrContainer' , 'StoreGateSvc+SCT_ByteStreamErrs' ), # Seems to be necessary, despite load below ( 'TRT_RDO_Container' , 'StoreGateSvc+TRT_RDOs' ), @@ -47,8 +48,7 @@ def precisionElectronRecoSequence(RoIs): # Make sure the required objects are still available at whole-event level from AthenaCommon.AlgSequence import AlgSequence topSequence = AlgSequence() - topSequence.SGInputLoader.Load += [( 'xAOD::EventInfo' , 'StoreGateSvc+EventInfo' ), - ( 'CaloAffectedRegionInfoVec' , 'ConditionStore+LArAffectedRegionInfo' ), + topSequence.SGInputLoader.Load += [( 'CaloAffectedRegionInfoVec' , 'ConditionStore+LArAffectedRegionInfo' ), ( 'InDet::PixelGangedClusterAmbiguities' , 'StoreGateSvc+PixelClusterAmbiguitiesMap' ), ( 'IDCInDetBSErrContainer' , 'StoreGateSvc+SCT_ByteStreamErrs' )] diff --git a/Trigger/TriggerCommon/TriggerMenuMT/python/HLTMenuConfig/Muon/MuonSetup.py b/Trigger/TriggerCommon/TriggerMenuMT/python/HLTMenuConfig/Muon/MuonSetup.py index c3a51add646f5be60242b9578ec1285ee857c186..1a520cc3ad90d39c6e1e529f5b6b3b5c6fafe685 100644 --- a/Trigger/TriggerCommon/TriggerMenuMT/python/HLTMenuConfig/Muon/MuonSetup.py +++ b/Trigger/TriggerCommon/TriggerMenuMT/python/HLTMenuConfig/Muon/MuonSetup.py @@ -336,11 +336,6 @@ def muFastRecoSequence( RoIs ): ( 'xAOD::EventInfo' , 'StoreGateSvc+EventInfo' ), ( 'DataVector< LVL1::RecMuonRoI >' , 'StoreGateSvc+HLT_RecMURoIs' )] - # Make sure event info still available at whole-event level - from AthenaCommon.AlgSequence import AlgSequence - topSequence = AlgSequence() - topSequence.SGInputLoader.Load += [( 'xAOD::EventInfo' , 'StoreGateSvc+EventInfo' )] - # Only load these objects if they aren't available in conddb from IOVDbSvc.CondDB import conddb if not conddb.folderRequested( "/CSC/DCS/LAYERSTATE" ): @@ -514,12 +509,9 @@ def muEFSARecoSequence( RoIs, name ): EFMuonViewDataVerifier.DataObjects = [( 'xAOD::EventInfo' , 'StoreGateSvc+EventInfo' )] efAlgs.append( EFMuonViewDataVerifier ) - # Make sure event info still available at whole-event level + # Only load these objects if they aren't available in conddb from AthenaCommon.AlgSequence import AlgSequence topSequence = AlgSequence() - topSequence.SGInputLoader.Load += [( 'xAOD::EventInfo' , 'StoreGateSvc+EventInfo' )] - - # Only load these objects if they aren't available in conddb from IOVDbSvc.CondDB import conddb if not conddb.folderRequested( "/MDT/DQMF/DEAD_ELEMENT" ): EFMuonViewDataVerifier.DataObjects += [( 'CondAttrListCollection' , 'ConditionStore+/MDT/DQMF/DEAD_ELEMENT' )] @@ -647,7 +639,6 @@ def muEFCBRecoSequence( RoIs, name ): # Make sure required objects are still available at whole-event level from AthenaCommon.AlgSequence import AlgSequence topSequence = AlgSequence() - topSequence.SGInputLoader.Load += [( 'xAOD::EventInfo' , 'StoreGateSvc+EventInfo' )] from IOVDbSvc.CondDB import conddb if not conddb.folderRequested( "PixelClustering/PixelClusNNCalib" ): topSequence.SGInputLoader.Load += [( 'TTrainedNetworkCollection' , 'ConditionStore+PixelClusterNN' ), diff --git a/Trigger/TriggerCommon/TriggerMenuMT/python/HLTMenuConfig/Tau/TauRecoSequences.py b/Trigger/TriggerCommon/TriggerMenuMT/python/HLTMenuConfig/Tau/TauRecoSequences.py index 1bc857bdf62d1afa3260d80f62b90ae0dd6d41fc..0b4fdc2fbcaf4055eaaa30c3594d2de23a1bdbc9 100644 --- a/Trigger/TriggerCommon/TriggerMenuMT/python/HLTMenuConfig/Tau/TauRecoSequences.py +++ b/Trigger/TriggerCommon/TriggerMenuMT/python/HLTMenuConfig/Tau/TauRecoSequences.py @@ -147,8 +147,7 @@ def tauCaloSequence(ConfigFlags): # Make sure the required objects are still available at whole-event level from AthenaCommon.AlgSequence import AlgSequence topSequence = AlgSequence() - topSequence.SGInputLoader.Load += [( 'ILArHVScaleCorr' , 'ConditionStore+LArHVScaleCorrRecomputed' ), - ( 'xAOD::EventInfo' , 'StoreGateSvc+EventInfo' )] + topSequence.SGInputLoader.Load += [( 'ILArHVScaleCorr' , 'ConditionStore+LArHVScaleCorrRecomputed' )] if not hasattr( topSequence, "CaloBCIDAvgAlg" ): topSequence.SGInputLoader.Load += [( 'CaloBCIDAverage' , 'StoreGateSvc+CaloBCIDAverage' )] @@ -180,8 +179,7 @@ def tauCaloMVASequence(ConfigFlags): # Make sure the required objects are still available at whole-event level from AthenaCommon.AlgSequence import AlgSequence topSequence = AlgSequence() - topSequence.SGInputLoader.Load += [( 'ILArHVScaleCorr' , 'ConditionStore+LArHVScaleCorrRecomputed' ), - ( 'xAOD::EventInfo' , 'StoreGateSvc+EventInfo' )] + topSequence.SGInputLoader.Load += [( 'ILArHVScaleCorr' , 'ConditionStore+LArHVScaleCorrRecomputed' )] if not hasattr( topSequence, "CaloBCIDAvgAlg" ): topSequence.SGInputLoader.Load += [( 'CaloBCIDAverage' , 'StoreGateSvc+CaloBCIDAverage' )] @@ -227,8 +225,7 @@ def tauIdTrackSequence( RoIs , name): # Make sure the required objects are still available at whole-event level from AthenaCommon.AlgSequence import AlgSequence topSequence = AlgSequence() - topSequence.SGInputLoader.Load += [( 'xAOD::EventInfo' , 'StoreGateSvc+EventInfo' ), - ( 'TRT_RDO_Container' , 'StoreGateSvc+TRT_RDOs' )] + topSequence.SGInputLoader.Load += [( 'TRT_RDO_Container' , 'StoreGateSvc+TRT_RDOs' )] from IOVDbSvc.CondDB import conddb if not conddb.folderRequested( "PixelClustering/PixelClusNNCalib" ): topSequence.SGInputLoader.Load += [( 'TTrainedNetworkCollection' , 'ConditionStore+PixelClusterNN' ),