File indexing completed on 2024-04-06 12:23:55
0001 import FWCore.ParameterSet.Config as cms
0002
0003 patMuons = cms.EDProducer("PATMuonProducer",
0004
0005 muonSource = cms.InputTag("muons"),
0006
0007
0008 useParticleFlow = cms.bool( False ),
0009 pfMuonSource = cms.InputTag("particleFlow"),
0010
0011
0012 userData = cms.PSet(
0013
0014 userClasses = cms.PSet(
0015 src = cms.VInputTag('')
0016 ),
0017
0018 userFloats = cms.PSet(
0019 src = cms.VInputTag('')
0020 ),
0021
0022 userInts = cms.PSet(
0023 src = cms.VInputTag('')
0024 ),
0025
0026 userCands = cms.PSet(
0027 src = cms.VInputTag('')
0028 ),
0029
0030 userFunctions = cms.vstring(),
0031 userFunctionLabels = cms.vstring()
0032 ),
0033
0034
0035 embedMuonBestTrack = cms.bool(True),
0036 embedTunePMuonBestTrack = cms.bool(True),
0037 forceBestTrackEmbedding = cms.bool(False),
0038 embedTrack = cms.bool(False),
0039 embedCombinedMuon = cms.bool(True),
0040 embedStandAloneMuon = cms.bool(True),
0041 embedPickyMuon = cms.bool(True),
0042 embedTpfmsMuon = cms.bool(True),
0043 embedDytMuon = cms.bool(True),
0044 embedPFCandidate = cms.bool(True),
0045
0046
0047 embedCaloMETMuonCorrs = cms.bool(True),
0048 caloMETMuonCorrs = cms.InputTag("muonMETValueMapProducer" , "muCorrData"),
0049
0050 embedTcMETMuonCorrs = cms.bool(False),
0051 tcMETMuonCorrs = cms.InputTag("muonTCMETValueMapProducer", "muCorrData"),
0052
0053
0054 isoDeposits = cms.PSet(
0055
0056
0057
0058
0059 ),
0060
0061
0062
0063
0064 userIsolation = cms.PSet(
0065
0066
0067
0068
0069
0070
0071
0072
0073 ),
0074
0075 addInverseBeta = cms.bool(True),
0076 sourceMuonTimeExtra = cms.InputTag("muons","combined"),
0077
0078 addGenMatch = cms.bool(True),
0079 embedGenMatch = cms.bool(True),
0080 genParticleMatch = cms.required.allowed(cms.InputTag, cms.VInputTag, default = cms.InputTag("muonMatch")),
0081
0082
0083 addEfficiencies = cms.bool(False),
0084 efficiencies = cms.PSet(),
0085
0086
0087 addResolutions = cms.bool(False),
0088 resolutions = cms.PSet(),
0089
0090
0091 embedHighLevelSelection = cms.bool(True),
0092 beamLineSrc = cms.InputTag("offlineBeamSpot"),
0093 pvSrc = cms.InputTag("offlinePrimaryVertices"),
0094
0095
0096 embedPfEcalEnergy = cms.bool(True),
0097 addPuppiIsolation = cms.bool(False),
0098
0099
0100
0101
0102
0103 computeMiniIso = cms.bool(False),
0104 effectiveAreaVec = cms.vdouble(0.0566, 0.0562, 0.0363, 0.0119, 0.0064),
0105 pfCandsForMiniIso = cms.InputTag("packedPFCandidates"),
0106 miniIsoParams = cms.vdouble(0.05, 0.2, 10.0, 0.5, 0.0001, 0.01, 0.01, 0.01, 0.0),
0107
0108 computePuppiCombinedIso = cms.bool(False),
0109
0110
0111
0112 computeMuonIDMVA = cms.bool(False),
0113 mvaIDTrainingFile = cms.FileInPath("RecoMuon/MuonIdentification/data/mvaID.onnx"),
0114 mvaIDwpMedium = cms.double(0.08),
0115 mvaIDwpTight = cms.double(0.20),
0116 recomputeBasicSelectors = cms.bool(True),
0117 useJec = cms.bool(True),
0118 mvaDrMax = cms.double(0.4),
0119 mvaJetTag = cms.InputTag("pfCombinedInclusiveSecondaryVertexV2BJetTags"),
0120 mvaL1Corrector = cms.InputTag("ak4PFCHSL1FastjetCorrector"),
0121 mvaL1L2L3ResCorrector = cms.InputTag("ak4PFCHSL1FastL2L3Corrector"),
0122 rho = cms.InputTag("fixedGridRhoFastjetCentralNeutral"),
0123
0124 computeSoftMuonMVA = cms.bool(False),
0125 softMvaTrainingFile = cms.FileInPath("RecoMuon/MuonIdentification/data/TMVA-muonid-bmm4-B-25.weights.xml"),
0126 softMvaRun3Model = cms.string("RecoMuon/MuonIdentification/data/Run2022-20231030-1731-Event0"),
0127
0128
0129 muonSimInfo = cms.InputTag("muonSimClassifier"),
0130
0131
0132 addTriggerMatching = cms.bool(False),
0133 triggerObjects = cms.InputTag("slimmedPatTrigger"),
0134 triggerResults = cms.InputTag("TriggerResults","","HLT"),
0135 hltCollectionFilters = cms.vstring('*')
0136 )
0137
0138 from Configuration.Eras.Modifier_run3_common_cff import run3_common
0139 run3_common.toModify(patMuons,
0140 mvaJetTag = cms.InputTag("pfDeepCSVJetTags:probb"),
0141 )
0142
0143