CMS 3D CMS Logo

SimPPS_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # PPS Digitization
7 RPixDetDigitizerTask=cms.Task(RPixDetDigitizer)
8 RPSiDetDigitizerTask=cms.Task(RPSiDetDigitizer)
9 
10 ctppsDigiTask = cms.Task()
11 
12 # The commented lines below NEED to be activated in order to insert PPS into Run2
13 # add PPS 2016 digi modules
14 #from Configuration.Eras.Modifier_ctpps_2016_cff import ctpps_2016
15 #ctpps_2016.toReplaceWith( ctppsDigiTask, RPSiDetDigitizerTask)
16 
17 # add PPS 2017 digi modules
18 #from Configuration.Eras.Modifier_ctpps_2017_cff import ctpps_2017
19 #ctpps_2017Task = cms.Task(RPixDetDigitizer,RPSiDetDigitizer)
20 #ctpps_2017.toReplaceWith(ctppsDigiTask, ctpps_2017Task)
21 
22 # add PPS 2018 digi modules
23 #from Configuration.Eras.Modifier_ctpps_2018_cff import ctpps_2018
24 #ctpps_2018.toReplaceWith(ctppsDigiTask, RPixDetDigitizerTask)
25 
26 from Configuration.Eras.Modifier_ctpps_2022_cff import ctpps_2022
27 ctpps_2022.toReplaceWith(ctppsDigiTask, RPixDetDigitizerTask)