Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:18:55

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0004 
0005 hltMuonValidator = DQMEDAnalyzer('HLTMuonValidator',
0006 
0007     hltProcessName = cms.string("HLT"),
0008     hltPathsToCheck = cms.vstring(
0009         "HLT_(HighPt)?(L[12])?(Iso)?(Tk)?Mu[0-9]*(Open)?(_NoVertex)?(_eta2p1)?(_v[0-9]*)?$",
0010         "HLT_Mu17_NoFilters?(_v[0-9]*)?$",
0011         "HLT_Dimuon0_Jpsi(_v[0-9]*)?$",
0012         "HLT_Dimuon13_Jpsi_Barrel(_v[0-9]*)?$",
0013         ),
0014 
0015     genParticleLabel = cms.string("genParticles"       ),
0016         recMuonLabel = cms.string("muons"              ),
0017 
0018     parametersTurnOn = cms.vdouble(0,
0019                                    1,  2,  3,  4,  5,  6,  7,  8,  9, 10,
0020                                    11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
0021                                    22, 24, 26, 28, 30, 32, 34, 36, 38, 40,
0022                                    45, 50, 55, 60, 65, 70,
0023                                    80, 100, 200, 500, 1000, 2000,
0024                                    ), 
0025     parametersEta      = cms.vdouble(48, -2.400, 2.400),
0026     parametersPhi      = cms.vdouble(50, -3.142, 3.142),
0027 
0028     # set criteria for matching at L1, L2, L3
0029     cutsDr = cms.vdouble(0.4, 0.4, 0.015),
0030     # parameters for attempting an L1 match using a propagator
0031     maxDeltaPhi = cms.double(0.4),
0032     maxDeltaR   = cms.double(0.4),
0033     useSimpleGeometry = cms.bool(True),
0034     useTrack = cms.string("none"),
0035     useState = cms.string("atVertex"),
0036     useStation2 = cms.bool(True),
0037     fallbackToME1 = cms.bool(False),
0038     cosmicPropagationHypothesis = cms.bool(False),
0039     useMB2InOverlap = cms.bool(False),
0040     propagatorAlong = cms.ESInputTag("", "hltESPSteppingHelixPropagatorAlong"),
0041     propagatorAny = cms.ESInputTag("", "SteppingHelixPropagatorAny"),
0042     propagatorOpposite = cms.ESInputTag("", "hltESPSteppingHelixPropagatorOpposite"),
0043     # set cuts on generated and reconstructed muons
0044     genMuonCut  = cms.string("abs(pdgId) == 13 && status == 1"),
0045     recMuonCut  = cms.string("isGlobalMuon"),
0046 )
0047 
0048 from Configuration.Eras.Modifier_phase2_common_cff import phase2_common
0049 phase2_common.toModify(hltMuonValidator,
0050                        hltPathsToCheck = [
0051                            "HLT_Mu[0-9]+_TrkIso[A-Z]+_Mu[0-9]+_TrkIso[A-Z]+_DZ_FromL1TkMuon(_v[0-9]+)?$",
0052                            "HLT_Mu[0-9]+_Mu[0-9]+_FromL1TkMuon(_v[0-9]+)?$",
0053                            "HLT_Mu[0-9]+_FromL1TkMuon(_v[0-9]+)?$",
0054                        ]
0055 )