File indexing completed on 2024-04-06 12:23:55
0001 import FWCore.ParameterSet.Config as cms
0002
0003 from TrackingTools.TransientTrack.TransientTrackBuilder_cfi import *
0004 from PhysicsTools.PatAlgos.producersLayer1.muonProducer_cfi import *
0005
0006 from PhysicsTools.PatAlgos.recoLayer0.filteredDisplacedMuons_cfi import *
0007 filteredDisplacedMuonsTask = cms.Task(filteredDisplacedMuons)
0008
0009
0010 patDisplacedMuons = patMuons.clone(
0011
0012
0013 muonSource = "filteredDisplacedMuons",
0014
0015
0016 embedMuonBestTrack = True,
0017 embedTunePMuonBestTrack = True,
0018 forceBestTrackEmbedding = False,
0019 embedTrack = True,
0020 embedCombinedMuon = True,
0021 embedStandAloneMuon = True,
0022 embedPickyMuon = False,
0023 embedTpfmsMuon = False,
0024 embedDytMuon = False,
0025 embedPFCandidate = False,
0026
0027
0028 embedCaloMETMuonCorrs = False,
0029
0030 embedTcMETMuonCorrs = False,
0031
0032
0033 addInverseBeta = True,
0034 sourceMuonTimeExtra = ["filteredDisplacedMuons","combined"],
0035
0036
0037 addGenMatch = False,
0038 embedGenMatch = False,
0039 genParticleMatch = "displacedMuonMatch",
0040
0041
0042 embedHighLevelSelection = True,
0043 beamLineSrc = "offlineBeamSpot",
0044 pvSrc = "offlinePrimaryVertices",
0045
0046
0047 embedPfEcalEnergy = False,
0048 addPuppiIsolation = False,
0049
0050
0051
0052
0053
0054 computeMiniIso = False,
0055 effectiveAreaVec = [0.0566, 0.0562, 0.0363, 0.0119, 0.0064],
0056 pfCandsForMiniIso = "packedPFCandidates",
0057 miniIsoParams = [0.05, 0.2, 10.0, 0.5, 0.0001, 0.01, 0.01, 0.01, 0.0],
0058
0059 computePuppiCombinedIso = False,
0060
0061
0062
0063 recomputeBasicSelectors = False,
0064 useJec = False,
0065 mvaDrMax = 0.4,
0066 mvaJetTag = "pfCombinedInclusiveSecondaryVertexV2BJetTags",
0067 mvaL1Corrector = "ak4PFCHSL1FastjetCorrector",
0068 mvaL1L2L3ResCorrector = "ak4PFCHSL1FastL2L3Corrector",
0069 rho = "fixedGridRhoFastjetCentralNeutral",
0070
0071 computeSoftMuonMVA = False,
0072 softMvaTrainingFile = "RecoMuon/MuonIdentification/data/TMVA-muonid-bmm4-B-25.weights.xml",
0073 softMvaRun3Model = cms.string("RecoMuon/MuonIdentification/data/Run2022-20231030-1731-Event0"),
0074
0075
0076 muonSimInfo = "displacedMuonSimClassifier",
0077
0078
0079 addTriggerMatching = False,
0080 triggerObjects = "slimmedPatTrigger",
0081 triggerResults = ["TriggerResults","","HLT"],
0082 hltCollectionFilters = ['*']
0083
0084 )
0085
0086 patDisplacedMuons.isoDeposits = cms.PSet()
0087 patDisplacedMuons.isolationValues = cms.PSet()
0088
0089
0090 makePatDisplacedMuonsTask = cms.Task(
0091 filteredDisplacedMuonsTask,
0092 patDisplacedMuons
0093 )
0094
0095 makePatDisplacedMuons = cms.Sequence(makePatDisplacedMuonsTask)
0096
0097 from Configuration.Eras.Modifier_run3_common_cff import run3_common
0098 run3_common.toModify(patDisplacedMuons,
0099 mvaJetTag = "pfDeepCSVJetTags:probb",
0100 )
0101