Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:27:01

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from PhysicsTools.SelectorUtils.centralIDRegistry import central_id_registry
0004 
0005 cutBasedMuonId_MuonPOG_V0_loose = cms.PSet(
0006     idName = cms.string("cutBasedMuonId-MuonPOG-V0-loose"),
0007     isPOGApproved = cms.untracked.bool(False),
0008     cutFlow = cms.VPSet(
0009         cms.PSet( cutName = cms.string("MuonTypeByOrCut"),
0010                   types = cms.vstring("PFMuon"),
0011                   needsAdditionalProducts = cms.bool(False),
0012                   isIgnored = cms.bool(False) ),
0013         cms.PSet( cutName = cms.string("MuonTypeByOrCut"),
0014                   types = cms.vstring("GlobalMuon", "TrackerMuon"),
0015                   needsAdditionalProducts = cms.bool(False),
0016                   isIgnored = cms.bool(False) ),
0017     )
0018 )
0019 
0020 cutBasedMuonId_MuonPOG_V0_medium = cms.PSet(
0021     idName = cms.string("cutBasedMuonId-MuonPOG-V0-medium"),
0022     isPOGApproved = cms.untracked.bool(False),
0023     cutFlow = cms.VPSet(
0024         cms.PSet( cutName = cms.string("MuonTypeByOrCut"),
0025                   types = cms.vstring("PFMuon"),
0026                   needsAdditionalProducts = cms.bool(False),
0027                   isIgnored = cms.bool(False) ),
0028         cms.PSet( cutName = cms.string("MuonTypeByOrCut"),
0029                   types = cms.vstring("GlobalMuon", "TrackerMuon"),
0030                   needsAdditionalProducts = cms.bool(False),
0031                   isIgnored = cms.bool(False) ),
0032         cms.PSet( cutName = cms.string("MuonTrackCut"),
0033                   innerTrack = cms.PSet(
0034                       minValidFraction = cms.double(0.8), ),
0035                   needsAdditionalProducts = cms.bool(False),
0036                   isIgnored = cms.bool(False) ),
0037         cms.PSet( cutName = cms.string("MuonSegmentCompatibilityCut"),
0038                   goodGLB = cms.PSet(
0039                       maxGlbNormChi2 = cms.double(3.0),
0040                       maxChi2LocalPos = cms.double(12.0),
0041                       maxTrkKink = cms.double(20.0),
0042                   ),
0043                   minCompatGlb = cms.double(0.303),
0044                   minCompatNonGlb = cms.double(0.451),
0045                   needsAdditionalProducts = cms.bool(False),
0046                   isIgnored = cms.bool(False) ),
0047     )
0048 )
0049 
0050 cutBasedMuonId_MuonPOG_V0_tight = cms.PSet(
0051     idName = cms.string("cutBasedMuonId-MuonPOG-V0-tight"),
0052     isPOGApproved = cms.untracked.bool(False),
0053     cutFlow = cms.VPSet(
0054         cms.PSet( cutName = cms.string("MuonTypeByOrCut"),
0055                   types = cms.vstring("PFMuon"),
0056                   needsAdditionalProducts = cms.bool(False),
0057                   isIgnored = cms.bool(False) ),
0058         cms.PSet( cutName = cms.string("MuonTypeByOrCut"),
0059                   types = cms.vstring("GlobalMuon"),
0060                   needsAdditionalProducts = cms.bool(False),
0061                   isIgnored = cms.bool(False) ),
0062         cms.PSet( cutName = cms.string("GlobalMuonPromptTightCut"),
0063                   needsAdditionalProducts = cms.bool(False),
0064                   isIgnored = cms.bool(False) ),
0065         cms.PSet( cutName = cms.string("MuonTrackCut"),
0066                   innerTrack = cms.PSet(
0067                       minTrackerLayersWithMeasurement = cms.int32(6),
0068                       minNumberOfValidPixelHits = cms.int32(1) ),
0069                   needsAdditionalProducts = cms.bool(False),
0070                   isIgnored = cms.bool(False) ),
0071         cms.PSet( cutName = cms.string("MuonMatchCut"),
0072                   minNumberOfMatchedStations = cms.int32(2),
0073                   needsAdditionalProducts = cms.bool(False),
0074                   isIgnored = cms.bool(False) ),
0075         cms.PSet( cutName = cms.string("MuonDxyCut"),
0076                   vertexSrc = cms.InputTag("offlinePrimaryVertices"),
0077                   vertexSrcMiniAOD = cms.InputTag("offlineSlimmedPrimaryVertices"),
0078                   trackType = cms.string("muonBestTrack"),
0079                   maxDxy = cms.double(0.2),
0080                   needsAdditionalProducts = cms.bool(True),
0081                   isIgnored = cms.bool(False) ),
0082         cms.PSet( cutName = cms.string("MuonDzCut"),
0083                   vertexSrc = cms.InputTag("offlinePrimaryVertices"),
0084                   vertexSrcMiniAOD = cms.InputTag("offlineSlimmedPrimaryVertices"),
0085                   trackType = cms.string("muonBestTrack"),
0086                   maxDz = cms.double(0.5),
0087                   needsAdditionalProducts = cms.bool(True),
0088                   isIgnored = cms.bool(False) ),
0089     )
0090 )
0091 
0092 cutBasedMuonId_MuonPOG_V0_soft = cms.PSet(
0093     idName = cms.string("cutBasedMuonId-MuonPOG-V0-soft"),
0094     isPOGApproved = cms.untracked.bool(False),
0095     cutFlow = cms.VPSet(
0096         cms.PSet( cutName = cms.string("TMOneStationTightCut"),
0097                   needsAdditionalProducts = cms.bool(False),
0098                   isIgnored = cms.bool(False) ),
0099         cms.PSet( cutName = cms.string("MuonTrackCut"),
0100                   innerTrack = cms.PSet(
0101                       minTrackerLayersWithMeasurement = cms.int32(6),
0102                       minPixelLayersWithMeasurement = cms.int32(1),
0103                       trackQuality = cms.string("highPurity") ),
0104                   needsAdditionalProducts = cms.bool(False),
0105                   isIgnored = cms.bool(False) ),
0106         cms.PSet( cutName = cms.string("MuonDxyCut"),
0107                   vertexSrc = cms.InputTag("offlinePrimaryVertices"),
0108                   vertexSrcMiniAOD = cms.InputTag("offlineSlimmedPrimaryVertices"),
0109                   trackType = cms.string("innerTrack"),
0110                   maxDxy = cms.double(0.3),
0111                   needsAdditionalProducts = cms.bool(True),
0112                   isIgnored = cms.bool(False) ),
0113         cms.PSet( cutName = cms.string("MuonDzCut"),
0114                   vertexSrc = cms.InputTag("offlinePrimaryVertices"),
0115                   vertexSrcMiniAOD = cms.InputTag("offlineSlimmedPrimaryVertices"),
0116                   trackType = cms.string("innerTrack"),
0117                   maxDz = cms.double(20.0),
0118                   needsAdditionalProducts = cms.bool(True),
0119                   isIgnored = cms.bool(False) ),
0120     )
0121 )
0122 
0123 cutBasedMuonId_MuonPOG_V0_highpt = cms.PSet(
0124     idName = cms.string("cutBasedMuonId-MuonPOG-V0-highpt"),
0125     isPOGApproved = cms.untracked.bool(True),
0126     cutFlow = cms.VPSet(
0127         cms.PSet( cutName = cms.string("MuonTypeByOrCut"),
0128                   types = cms.vstring("GlobalMuon"),
0129                   needsAdditionalProducts = cms.bool(False),
0130                   isIgnored = cms.bool(False) ),
0131         cms.PSet( cutName = cms.string("MuonTrackCut"),
0132                   innerTrack = cms.PSet(
0133                       minTrackerLayersWithMeasurement = cms.int32(6),
0134                       minNumberOfValidPixelHits = cms.int32(1) ),
0135                   globalTrack = cms.PSet(minNumberOfValidMuonHits = cms.int32(1) ),
0136                   needsAdditionalProducts = cms.bool(False),
0137                   isIgnored = cms.bool(False) ),
0138         cms.PSet( cutName = cms.string("MuonMatchCut"),
0139                   minNumberOfMatchedStations = cms.int32(2),
0140                   needsAdditionalProducts = cms.bool(False),
0141                   isIgnored = cms.bool(False) ),
0142         cms.PSet( cutName = cms.string("MuonMomQualityCut"),
0143                   maxRelPtErr = cms.double(0.3),
0144                   needsAdditionalProducts = cms.bool(False),
0145                   isIgnored = cms.bool(False) ),
0146         cms.PSet( cutName = cms.string("MuonDxyCut"),
0147                   vertexSrc = cms.InputTag("offlinePrimaryVertices"),
0148                   vertexSrcMiniAOD = cms.InputTag("offlineSlimmedPrimaryVertices"),
0149                   trackType = cms.string("muonBestTrack"),
0150                   maxDxy = cms.double(0.2),
0151                   needsAdditionalProducts = cms.bool(True),
0152                   isIgnored = cms.bool(False) ),
0153         cms.PSet( cutName = cms.string("MuonDzCut"),
0154                   vertexSrc = cms.InputTag("offlinePrimaryVertices"),
0155                   vertexSrcMiniAOD = cms.InputTag("offlineSlimmedPrimaryVertices"),
0156                   trackType = cms.string("muonBestTrack"),
0157                   maxDz = cms.double(0.5),
0158                   needsAdditionalProducts = cms.bool(True),
0159                   isIgnored = cms.bool(False) ),
0160     )
0161 )
0162 
0163 central_id_registry.register(cutBasedMuonId_MuonPOG_V0_loose.idName , 'd19c494fb8227d7af3c8e29053b1934a')
0164 central_id_registry.register(cutBasedMuonId_MuonPOG_V0_medium.idName, '1f4bb781e8d98b4cb281de5c9b3fd193')
0165 central_id_registry.register(cutBasedMuonId_MuonPOG_V0_tight.idName , '4c815640b5477c514210d7cdbde98fe0')
0166 central_id_registry.register(cutBasedMuonId_MuonPOG_V0_soft.idName  , '12da9c6aae4d389980da3f463aac2afb')
0167 central_id_registry.register(cutBasedMuonId_MuonPOG_V0_highpt.idName, '3f6a009a63dc9eb6af3f2de17d53c9fd')
0168