Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-05-15 22:20:45

0001 from RecoMuon.MuonIdentification.muonReducedTrackExtras_cfi import muonReducedTrackExtras
0002 
0003 import FWCore.ParameterSet.Config as cms
0004 
0005 slimmedMuonTrackExtras = muonReducedTrackExtras.clone(muonTag = "selectedPatMuons",
0006                                                                 cut = "pt > 4.5",
0007                                                                 trackExtraTags = ["muonReducedTrackExtras", "standAloneMuons"],
0008                                                                 trackExtraAssocs = ["muonReducedTrackExtras"],
0009                                                                 pixelClusterTag = "muonReducedTrackExtras",
0010                                                                 stripClusterTag = "muonReducedTrackExtras")
0011 
0012 from RecoMuon.MuonIdentification.displacedMuonReducedTrackExtras_cfi import displacedMuonReducedTrackExtras
0013 slimmedDisplacedMuonTrackExtras = displacedMuonReducedTrackExtras.clone(muonTag = "selectedPatDisplacedMuons",
0014                                                                 cut = "pt > 4.5",
0015                                                                 trackExtraTags = ["displacedMuonReducedTrackExtras", "displacedStandAloneMuons"],
0016                                                                 trackExtraAssocs = ["displacedMuonReducedTrackExtras"],
0017                                                                 pixelClusterTag = "displacedMuonReducedTrackExtras",
0018                                                                 stripClusterTag = "displacedMuonReducedTrackExtras")
0019 
0020 # no clusters in fastsim
0021 from Configuration.Eras.Modifier_fastSim_cff import fastSim
0022 fastSim.toModify(slimmedMuonTrackExtras, outputClusters = False)
0023 
0024 # cluster collections are different in phase 2, so skip this for now
0025 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
0026 phase2_tracker.toModify(slimmedMuonTrackExtras, outputClusters = False)
0027 phase2_tracker.toModify(slimmedDisplacedMuonTrackExtras, outputClusters = False)
0028 
0029 # lower minimum pt for B-parking
0030 from Configuration.Eras.Modifier_bParking_cff import bParking
0031 bParking.toModify(slimmedMuonTrackExtras, cut = "pt > 3.0")
0032 
0033 # full set of track extras not available in existing AOD
0034 from Configuration.Eras.Modifier_run2_miniAOD_80XLegacy_cff import run2_miniAOD_80XLegacy
0035 from Configuration.Eras.Modifier_run2_miniAOD_94XFall17_cff import run2_miniAOD_94XFall17
0036 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
0037 from Configuration.ProcessModifiers.miniAOD_skip_trackExtras_cff import miniAOD_skip_trackExtras
0038 
0039 (run2_miniAOD_80XLegacy | run2_miniAOD_94XFall17 | pp_on_AA | miniAOD_skip_trackExtras).toModify(slimmedMuonTrackExtras,
0040                                 trackExtraTags = ["standAloneMuons"],
0041                                 trackExtraAssocs = [],
0042                                 outputClusters = False)