13, -13, 1000015, -1000015 ] topSequence.CombinedStauPerformanceAlg.ConsideredPDGs = [ 13, -13, 1000015, -1000015 ] topSequence.ExtrapolatedStauPerformanceAlg.ConsideredPDGs = [ 13, -13, 1000015, -1000015 ] topSequence.MuonPerformanceAlg.ConsideredPDGs = [ 13, -13, 1000015, -1000015 ] doMon = False if (doMon): from MuonPhysValMonitoring.MuonPhysValMonitoringConf import MuonPhysValMonitoring__MuonPhysValMonitoringTool tool1 = MuonPhysValMonitoring__MuonPhysValMonitoringTool() tool1.EnableLumi = False tool1.DetailLevel = 1 tool1.OutputLevel = VERBOSE tool1.MuonContainerName = colname ToolSvc += tool1 from AthenaMonitoring.AthenaMonitoringConf import AthenaMonManager topSequence += AthenaMonManager("PhysValMonManager") from AthenaCommon.AppMgr import ServiceMgr from GaudiSvc.GaudiSvcConf import THistSvc ServiceMgr += THistSvc() svcMgr.THistSvc.Output += [ "MuonMonExample DATAFILE='MuonMonExample.root' OPT='RECREATE'"
from AthenaCommon.CfgGetter import getPublicTool getPublicTool("MuonCombinedInDetDetailedTrackSelectorTool") from MuonPhysValMonitoring.MuonPhysValMonitoringConf import MuonPhysValMonitoring__MuonPhysValMonitoringTool from RecExConfig.RecFlags import rec as recFlags tool1 = MuonPhysValMonitoring__MuonPhysValMonitoringTool(name='slowmuphysval') tool1.IsData = not recFlags.doTruth() # tool1.MuonContainerName = '' # Must be blank for SlowMuons tool1.SlowMuonContainerName = 'SlowMuons' tool1.MuonTruthParticleContainerName = 'MuonTruthParticles' tool1.DoBinnedResolutionPlots = False tool1.TrackContainerName = '' tool1.FwdTrackContainerName = '' tool1.MuonTrackContainerName = '' tool1.MuonExtrapolatedTrackContainerName = '' tool1.MuonOnlyExtrapolatedTrackContainerName = '' tool1.MuonSegmentContainerName = '' #Select Muon Working Points... (empty: all, -1: None, 0: Tight, 1: Medium, 2: Loose, 3: VeryLoose) tool1.SelectMuonWorkingPoints = [-1] #Select Muon Authors... (empty: all authors, 0: None, 1: combined, 2: STACO, 4: MuTagIMO, 5: Standalone, 6: MuGirl, 8: CaloTag) tool1.SelectMuonAuthors = [ 0 ] # only one author is defined in this case... no need to specify
from AthenaCommon.CfgGetter import getPublicTool getPublicTool("MuonCombinedInDetDetailedTrackSelectorTool") from MuonPhysValMonitoring.MuonPhysValMonitoringConf import MuonPhysValMonitoring__MuonPhysValMonitoringTool from RecExConfig.RecFlags import rec as recFlags tool1 = MuonPhysValMonitoring__MuonPhysValMonitoringTool(name='muphysval') tool1.IsData = not recFlags.doTruth() # tool1.MuonContainerName = 'Muons' tool1.SlowMuonContainerName = '' tool1.MuonTruthParticleContainerName = 'MuonTruthParticles' tool1.DoBinnedResolutionPlots = True #comment out if you don't need any of the following containers tool1.TrackContainerName = 'InDetTrackParticles' # #tool1.FwdTrackContainerName='InDetForwardTrackParticles' tool1.MuonTrackContainerName = 'MuonSpectrometerTrackParticles' tool1.MuonExtrapolatedTrackContainerName = 'ExtrapolatedMuonTrackParticles' tool1.MuonOnlyExtrapolatedTrackContainerName = 'MSOnlyExtrapolatedMuonTrackParticles' tool1.MuonSegmentContainerName = 'MuonSegments' #tool1.MuonTruthParticleContainerName = 'MuonTruthParticle' # uncomment for release 19 # tool1.DoTrigMuonValidation =True # tool1.DoTrigMuonEFValidation = True # tool1.DoTrigMuonL2Validation = True # tool1.DoTrigMuonL1Validation = True tool1.SelectHLTMuonItems = [["HLT_mu20", "L1_MU20"], ["HLT_mu20_iloose_L1MU15", "L1_MU15"], ["HLT_mu24", "L1_MU20"],
"EFMuonTruthDecorationAlg", MuonTruthParticleContainerName="HLT_EFMuonTruthParticle", CreateTruthSegments=False, OutputLevel=INFO) from MuonTruthAlgs.MuonTruthAlgsConf import MuonTruthAssociationAlg topSequence += MuonTruthAssociationAlg( "EFMuonTruthAssociation", MuonContainerName="HLT_xAOD__MuonContainer_MuonEFInfo", MuonTruthParticleContainerName="HLT_EFMuonTruthParticle", OutputLevel=INFO) doMon = True if (doMon): from MuonPhysValMonitoring.MuonPhysValMonitoringConf import MuonPhysValMonitoring__MuonPhysValMonitoringTool tool1 = MuonPhysValMonitoring__MuonPhysValMonitoringTool( "EFMuonPhysValMonitoringTool") tool1.EnableLumi = False tool1.DetailLevel = 1 tool1.OutputLevel = INFO tool1.MuonContainerName = "HLT_xAOD__MuonContainer_MuonEFInfo" tool1.MuonTruthParticleContainerName = "HLT_EFMuonTruthParticle" ToolSvc += tool1 from AthenaMonitoring.AthenaMonitoringConf import AthenaMonManager topSequence += AthenaMonManager("PhysValMonManager", OutputLevel=DEBUG) from AthenaCommon.AppMgr import ServiceMgr from GaudiSvc.GaudiSvcConf import THistSvc ServiceMgr += THistSvc() svcMgr.THistSvc.Output += [