CMS 3D CMS Logo

slimmedTrackExtras_cff.py
Go to the documentation of this file.
2 
3 import FWCore.ParameterSet.Config as cms
4 
5 slimmedMuonTrackExtras = muonReducedTrackExtras.clone(muonTag = "selectedPatMuons",
6  cut = "pt > 4.5",
7  trackExtraTags = ["muonReducedTrackExtras", "standAloneMuons"],
8  trackExtraAssocs = ["muonReducedTrackExtras"],
9  pixelClusterTag = "muonReducedTrackExtras",
10  stripClusterTag = "muonReducedTrackExtras")
11 
12 # no clusters in fastsim
13 from Configuration.Eras.Modifier_fastSim_cff import fastSim
14 fastSim.toModify(slimmedMuonTrackExtras, outputClusters = False)
15 
16 # cluster collections are different in phase 2, so skip this for now
17 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
18 phase2_tracker.toModify(slimmedMuonTrackExtras, outputClusters = False)
19 
20 # lower minimum pt for B-parking
21 from Configuration.Eras.Modifier_bParking_cff import bParking
22 bParking.toModify(slimmedMuonTrackExtras, cut = "pt > 3.0")
23 
24 # full set of track extras not available in existing AOD
25 from Configuration.Eras.Modifier_run2_miniAOD_80XLegacy_cff import run2_miniAOD_80XLegacy
26 from Configuration.Eras.Modifier_run2_miniAOD_94XFall17_cff import run2_miniAOD_94XFall17
27 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
28 from Configuration.ProcessModifiers.miniAOD_skip_trackExtras_cff import miniAOD_skip_trackExtras
29 
30 (run2_miniAOD_80XLegacy | run2_miniAOD_94XFall17 | pp_on_AA | miniAOD_skip_trackExtras).toModify(slimmedMuonTrackExtras,
31  trackExtraTags = ["standAloneMuons"],
32  trackExtraAssocs = [],
33  outputClusters = False)
muonReducedTrackExtras_cfi