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 # full set of track extras not available in existing AOD
21 from Configuration.Eras.Modifier_run2_miniAOD_80XLegacy_cff import run2_miniAOD_80XLegacy
22 from Configuration.Eras.Modifier_run2_miniAOD_94XFall17_cff import run2_miniAOD_94XFall17
23 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
24 from Configuration.ProcessModifiers.miniAOD_skip_trackExtras_cff import miniAOD_skip_trackExtras
25 
26 (run2_miniAOD_80XLegacy | run2_miniAOD_94XFall17 | pp_on_AA | miniAOD_skip_trackExtras).toModify(slimmedMuonTrackExtras,
27  trackExtraTags = ["standAloneMuons"],
28  trackExtraAssocs = [],
29  outputClusters = False)
muonReducedTrackExtras_cfi