CMS 3D CMS Logo

ctppsLocalTrackLiteProducer_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from RecoPPS.Local.ctppsLocalTrackLiteDefaultProducer_cfi import ctppsLocalTrackLiteDefaultProducer
4 
5 ctppsLocalTrackLiteProducer = ctppsLocalTrackLiteDefaultProducer.clone()
6 
7 # enable the module for CTPPS era(s)
8 from Configuration.Eras.Modifier_ctpps_cff import ctpps
9 from Configuration.Eras.Modifier_ctpps_2016_cff import ctpps_2016
10 from Configuration.Eras.Modifier_ctpps_2017_cff import ctpps_2017
11 
12 ctpps.toModify(
13  ctppsLocalTrackLiteProducer,
14  includeStrips = False,
15  includeDiamonds = True,
16  includePixels = True
17 )
18 
19 ctpps_2016.toModify(
20  ctppsLocalTrackLiteProducer,
21  includeStrips = True,
22  includeDiamonds = False,
23  includePixels = False
24 )
25 
26 ctpps_2017.toModify(
27  ctppsLocalTrackLiteProducer,
28  includeStrips = True,
29  includeDiamonds = True,
30  includePixels = True
31 )
32 
33 from Configuration.Eras.Modifier_run2_miniAOD_80XLegacy_cff import run2_miniAOD_80XLegacy
34 
35 run2_miniAOD_80XLegacy.toModify(ctppsLocalTrackLiteProducer, tagPixelTrack = "" )