RunOffline = False DetDescrVersion = "ATLAS-CSC-05-00-00" EvtMax = -1 OutputLevel = INFO doJetRec = False include("TrigEgammaValidation/generalJobOption.py") theApp.serviceMgr().IOVDbSvc.GlobalTag = "OFLCOND-CSC-01-00-00" from AthenaCommon.AlgSequence import AlgSequence topSequence = AlgSequence() from TrigDecisionMaker.TrigDecisionMakerConfig import TrigDecisionMaker tdm = TrigDecisionMaker() topSequence += tdm tdm.doL1 = True tdm.doL2 = True tdm.doEF = True from TrigDecisionTool.TrigDecisionToolConf import Trig__TrigDecisionTool tdt = Trig__TrigDecisionTool("TrigDecisionTool") ToolSvc += tdt tdt.OutputLevel = WARNING ToolSvc.TrigDecisionTool.Navigation.OutputLevel = WARNING tdt.PublicChainGroups = {"EFEgamma": "EF_e.*", "L2Egamma": "L2_e.*"} from TrigEgammaValidation.TrigEgammaValidationConf import NavSEValidation, NavRateValidation, NavRateExpert nav = NavSEValidation()
from RecExConfig.ObjKeyStore import objKeyStore metadataItems = [ "xAOD::TriggerMenuContainer#TriggerMenu", "xAOD::TriggerMenuAuxContainer#TriggerMenuAux." ] objKeyStore.addManyTypesMetaData( metadataItems ) from AnalysisTriggerAlgs.AnalysisTriggerAlgsConfig import \ RoIBResultToAOD idx=0 for i in topSequence.getAllChildren(): idx += 1 if "TrigSteer_HLT" in i.getName(): if not hasattr(i,'RoIBResultToxAOD'): topSequence.insert(idx+1, RoIBResultToAOD("RoIBResultToxAOD")) if "StreamRDO" in i.getName(): from TrigDecisionMaker.TrigDecisionMakerConfig import TrigDecisionMaker,WritexAODTrigDecision topSequence.insert(idx, TrigDecisionMaker('TrigDecMaker')) from AthenaCommon.Logging import logging log = logging.getLogger( 'WriteTrigDecisionToAOD' ) log.info('TrigDecision writing enabled') from xAODTriggerCnv.xAODTriggerCnvConf import xAODMaker__TrigDecisionCnvAlg alg = xAODMaker__TrigDecisionCnvAlg() alg.AODKey = "TrigDecision" alg.xAODKey = "xTrigDecision" topSequence.insert(idx+1, alg) from xAODTriggerCnv.xAODTriggerCnvConf import xAODMaker__TrigNavigationCnvAlg topSequence.insert(idx+2, xAODMaker__TrigNavigationCnvAlg()) from AthenaCommon.AppMgr import ServiceMgr, ToolSvc from TrigDecisionTool.TrigDecisionToolConf import * if hasattr(ToolSvc, 'TrigDecisionTool'):
#====================================================================== # TOP JobOptions to run on MuonTrackMonitoring #====================================================================== from MuonDQAMonFlags.MuonDQAFlags import MuonDQAFlags as MuonDQAFlags #############TriggerAware Trk Monitoring####################### if MuonDQAFlags.MuonTrkMonDoTrigger or MuonDQAFlags.doMDTTGC: from TrigDecisionMaker.TrigDecisionMakerConfig import TrigDecisionMaker trigDecMaker = TrigDecisionMaker() topSequence += trigDecMaker #from TrigDecision.TrigDecisionConf import TrigDec__TrigDecisionTool #tdt = TrigDec__TrigDecisionTool() #ToolSvc += tdt tdt = monTrigDecTool ############################################################### #----------------------# # Trk Level Monitoring # #----------------------# ### Which Track Collections to read (set array element to 0 or 1): # 1-> Moore, 2->MuonBoy ############################################################### #############MuonSelectedTracksMon############# from MuonTrackMonitoring.MuonTrackMonitoringConf import MuonSelectedTracksMon #############MuonGenericTracksMon############# from MuonTrackMonitoring.MuonTrackMonitoringConf import MuonGenericTracksMon #############MuonGenericTracksMon############# from MuonTrackMonitoring.MuonTrackMonitoringConf import TGCStandaloneTracksMon ############# NO TriggerAware Trk Monitoring ####################### if MuonDQAFlags.doMuonTrackMon: #############MuonSelectedTracksMon############# MuonSelectedTracksMon = MuonSelectedTracksMon(