1 import FWCore.ParameterSet.Config
as cms
3 patMuons = cms.EDProducer(
"PATMuonProducer",
5 muonSource = cms.InputTag(
"muons"),
8 useParticleFlow = cms.bool(
False ),
9 pfMuonSource = cms.InputTag(
"particleFlow"),
14 userClasses = cms.PSet(
15 src = cms.VInputTag(
'')
18 userFloats = cms.PSet(
19 src = cms.VInputTag(
'')
23 src = cms.VInputTag(
'')
27 src = cms.VInputTag(
'')
30 userFunctions = cms.vstring(),
31 userFunctionLabels = cms.vstring()
35 embedMuonBestTrack = cms.bool(
True),
36 embedTunePMuonBestTrack = cms.bool(
True),
37 forceBestTrackEmbedding = cms.bool(
False),
38 embedTrack = cms.bool(
False),
39 embedCombinedMuon = cms.bool(
True),
40 embedStandAloneMuon = cms.bool(
True),
41 embedPickyMuon = cms.bool(
True),
42 embedTpfmsMuon = cms.bool(
True),
43 embedDytMuon = cms.bool(
True),
44 embedPFCandidate = cms.bool(
True),
47 embedCaloMETMuonCorrs = cms.bool(
True),
48 caloMETMuonCorrs = cms.InputTag(
"muonMETValueMapProducer" ,
"muCorrData"),
50 embedTcMETMuonCorrs = cms.bool(
False),
51 tcMETMuonCorrs = cms.InputTag(
"muonTCMETValueMapProducer",
"muCorrData"),
54 isoDeposits = cms.PSet(
64 userIsolation = cms.PSet(
75 addInverseBeta = cms.bool(
True),
76 sourceMuonTimeExtra = cms.InputTag(
"muons",
"combined"),
78 addGenMatch = cms.bool(
True),
79 embedGenMatch = cms.bool(
True),
80 genParticleMatch = cms.required.allowed(cms.InputTag, cms.VInputTag, default = cms.InputTag(
"muonMatch")),
83 addEfficiencies = cms.bool(
False),
84 efficiencies = cms.PSet(),
87 addResolutions = cms.bool(
False),
88 resolutions = cms.PSet(),
91 embedHighLevelSelection = cms.bool(
True),
92 beamLineSrc = cms.InputTag(
"offlineBeamSpot"),
93 pvSrc = cms.InputTag(
"offlinePrimaryVertices"),
96 embedPfEcalEnergy = cms.bool(
True),
97 addPuppiIsolation = cms.bool(
False),
103 computeMiniIso = cms.bool(
False),
104 effectiveAreaVec = cms.vdouble(0.0566, 0.0562, 0.0363, 0.0119, 0.0064),
105 pfCandsForMiniIso = cms.InputTag(
"packedPFCandidates"),
106 miniIsoParams = cms.vdouble(0.05, 0.2, 10.0, 0.5, 0.0001, 0.01, 0.01, 0.01, 0.0),
108 computePuppiCombinedIso = cms.bool(
False),
112 computeMuonIDMVA = cms.bool(
False),
113 mvaIDTrainingFile = cms.FileInPath(
"RecoMuon/MuonIdentification/data/mvaID.onnx"),
114 mvaIDwpMedium = cms.double(0.08),
115 mvaIDwpTight = cms.double(0.20),
116 recomputeBasicSelectors = cms.bool(
True),
117 useJec = cms.bool(
True),
118 mvaDrMax = cms.double(0.4),
119 mvaJetTag = cms.InputTag(
"pfCombinedInclusiveSecondaryVertexV2BJetTags"),
120 mvaL1Corrector = cms.InputTag(
"ak4PFCHSL1FastjetCorrector"),
121 mvaL1L2L3ResCorrector = cms.InputTag(
"ak4PFCHSL1FastL2L3Corrector"),
122 rho = cms.InputTag(
"fixedGridRhoFastjetCentralNeutral"),
124 computeSoftMuonMVA = cms.bool(
False),
125 softMvaTrainingFile = cms.FileInPath(
"RecoMuon/MuonIdentification/data/TMVA-muonid-bmm4-B-25.weights.xml"),
128 muonSimInfo = cms.InputTag(
"muonSimClassifier"),
131 addTriggerMatching = cms.bool(
False),
132 triggerObjects = cms.InputTag(
"slimmedPatTrigger"),
133 triggerResults = cms.InputTag(
"TriggerResults",
"",
"HLT"),
134 hltCollectionFilters = cms.vstring(
'*')
137 from Configuration.Eras.Modifier_run3_common_cff
import run3_common
138 run3_common.toModify(patMuons,
139 mvaJetTag = cms.InputTag(
"pfDeepCSVJetTags:probb"),