Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:10:30

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # ---------- Si strips ----------
0004 from EventFilter.CTPPSRawToDigi.totemRPRawToDigi_cfi import totemRPRawToDigi
0005 totemRPRawToDigi.rawDataTag = cms.InputTag("rawDataCollector")
0006 
0007 # various error/warning/info output may be enabled with these flags
0008 #  totemRPRawToDigi.RawUnpacking.verbosity = 1
0009 #  totemRPRawToDigi.RawToDigi.verbosity = 1 # or higher number for more output
0010 #  totemRPRawToDigi.RawToDigi.printErrorSummary = True
0011 #  totemRPRawToDigi.RawToDigi.printUnknownFrameSummary = True
0012 
0013 # ---------- diamonds ----------
0014 from EventFilter.CTPPSRawToDigi.ctppsDiamondRawToDigi_cfi import ctppsDiamondRawToDigi
0015 ctppsDiamondRawToDigi.rawDataTag = "rawDataCollector"
0016 
0017 # ---------- Totem Timing ----------
0018 from EventFilter.CTPPSRawToDigi.totemTimingRawToDigi_cfi import totemTimingRawToDigi
0019 totemTimingRawToDigi.rawDataTag = "rawDataCollector"
0020 
0021 # ---------- Totem nT2 ----------
0022 from EventFilter.CTPPSRawToDigi.totemT2Digis_cfi import totemT2Digis
0023 totemT2Digis.rawDataTag = "rawDataCollector"
0024 
0025 # ---------- pixels ----------
0026 from EventFilter.CTPPSRawToDigi.ctppsPixelDigis_cfi import ctppsPixelDigis
0027 ctppsPixelDigis.inputLabel = "rawDataCollector"
0028 
0029 from Configuration.Eras.Modifier_ctpps_2016_cff import ctpps_2016
0030 from Configuration.Eras.Modifier_ctpps_2017_cff import ctpps_2017
0031 from Configuration.Eras.Modifier_ctpps_2018_cff import ctpps_2018
0032 (ctpps_2016 | ctpps_2017 | ctpps_2018).toModify(ctppsPixelDigis, isRun3 = False )
0033 
0034 # raw-to-digi task and sequence
0035 ctppsRawToDigiTask = cms.Task(
0036   totemRPRawToDigi,
0037   ctppsDiamondRawToDigi,
0038   totemTimingRawToDigi,
0039   totemT2Digis,
0040   ctppsPixelDigis
0041 )
0042 ctppsRawToDigi = cms.Sequence(ctppsRawToDigiTask)