예제 #1
0
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"],
                            ["HLT_mu24_iloose_L1MU15", "L1_MU15"],
                            ["HLT_mu24_imedium", "L1_MU20"],
                            ["HLT_mu26", "L1_MU20"],
                            ["HLT_mu26_imedium", "L1_MU20"],
예제 #2
0
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

#Select Muon Categories... (origin of muons, empty: all categories, 0: ALL, 1: PROMPT, 2: IN-FLIGHT, 3: NON-ISOLATED, 4: REST)
#tool1.SelectMuonCategories = [ 0, 1, 2, 3, 4 ] # all possible categories
tool1.SelectMuonCategories = [
    0, 1