1 import FWCore.ParameterSet.Config
as cms
4 from EventFilter.CTPPSRawToDigi.totemTriggerRawToDigi_cfi
import totemTriggerRawToDigi
5 totemTriggerRawToDigi.rawDataTag = cms.InputTag(
"rawDataCollector")
8 totemDAQMappingESSourceXML_TrackingStrip = cms.ESSource(
"TotemDAQMappingESSourceXML",
9 verbosity = cms.untracked.uint32(0),
10 subSystem = cms.untracked.string(
"TrackingStrip"),
11 configuration = cms.VPSet(
14 validityRange = cms.EventRange(
"1:min - 280385:max"),
15 mappingFileNames = cms.vstring(
"CondFormats/PPSObjects/xml/mapping_tracking_strip_2016_to_fill_5288.xml"),
16 maskFileNames = cms.vstring()
20 validityRange = cms.EventRange(
"280386:min - 281600:max"),
21 mappingFileNames = cms.vstring(),
22 maskFileNames = cms.vstring()
26 validityRange = cms.EventRange(
"281601:min - 290872:max"),
27 mappingFileNames = cms.vstring(
"CondFormats/PPSObjects/xml/mapping_tracking_strip_2016_from_fill_5330.xml"),
28 maskFileNames = cms.vstring()
32 validityRange = cms.EventRange(
"290873:min - 311625:max"),
33 mappingFileNames = cms.vstring(
"CondFormats/PPSObjects/xml/mapping_tracking_strip_2017.xml"),
34 maskFileNames = cms.vstring()
38 validityRange = cms.EventRange(
"311626:min - 999999999:max"),
39 mappingFileNames = cms.vstring(
"CondFormats/PPSObjects/xml/mapping_tracking_strip_2018.xml"),
40 maskFileNames = cms.vstring()
45 from EventFilter.CTPPSRawToDigi.totemRPRawToDigi_cfi
import totemRPRawToDigi
46 totemRPRawToDigi.rawDataTag = cms.InputTag(
"rawDataCollector")
55 totemDAQMappingESSourceXML_TimingDiamond = cms.ESSource(
"TotemDAQMappingESSourceXML",
56 verbosity = cms.untracked.uint32(0),
57 subSystem = cms.untracked.string(
"TimingDiamond"),
58 configuration = cms.VPSet(
61 validityRange = cms.EventRange(
"1:min - 283819:max"),
62 mappingFileNames = cms.vstring(),
63 maskFileNames = cms.vstring()
67 validityRange = cms.EventRange(
"283820:min - 292520:max"),
68 mappingFileNames = cms.vstring(
"CondFormats/PPSObjects/xml/mapping_timing_diamond.xml"),
69 maskFileNames = cms.vstring()
73 validityRange = cms.EventRange(
"292521:min - 310000:max"),
74 mappingFileNames = cms.vstring(
"CondFormats/PPSObjects/xml/mapping_timing_diamond_2017.xml"),
75 maskFileNames = cms.vstring()
79 validityRange = cms.EventRange(
"310001:min - 999999999:max"),
80 mappingFileNames = cms.vstring(
"CondFormats/PPSObjects/xml/mapping_timing_diamond_2018.xml"),
81 maskFileNames = cms.vstring()
86 from EventFilter.CTPPSRawToDigi.ctppsDiamondRawToDigi_cfi
import ctppsDiamondRawToDigi
87 ctppsDiamondRawToDigi.rawDataTag = cms.InputTag(
"rawDataCollector")
90 totemDAQMappingESSourceXML_TotemTiming = cms.ESSource(
"TotemDAQMappingESSourceXML",
91 verbosity = cms.untracked.uint32(10),
92 subSystem = cms.untracked.string(
"TotemTiming"),
93 configuration = cms.VPSet(
96 validityRange = cms.EventRange(
"1:min - 310000:max"),
97 mappingFileNames = cms.vstring(),
98 maskFileNames = cms.vstring()
102 validityRange = cms.EventRange(
"310001:min - 999999999:max"),
103 mappingFileNames = cms.vstring(
"CondFormats/PPSObjects/xml/mapping_totem_timing_2018.xml"),
104 maskFileNames = cms.vstring()
109 from EventFilter.CTPPSRawToDigi.totemTimingRawToDigi_cfi
import totemTimingRawToDigi
110 totemTimingRawToDigi.rawDataTag = cms.InputTag(
"rawDataCollector")
113 from EventFilter.CTPPSRawToDigi.ctppsPixelDigis_cfi
import ctppsPixelDigis
114 ctppsPixelDigis.inputLabel = cms.InputTag(
"rawDataCollector")
116 from Configuration.Eras.Modifier_ctpps_2016_cff
import ctpps_2016
117 from Configuration.Eras.Modifier_ctpps_2017_cff
import ctpps_2017
118 from Configuration.Eras.Modifier_ctpps_2018_cff
import ctpps_2018
119 (ctpps_2016 | ctpps_2017 | ctpps_2018).toModify(ctppsPixelDigis, isRun3 =
False )
122 ctppsRawToDigiTask = cms.Task(
123 totemTriggerRawToDigi,
125 ctppsDiamondRawToDigi,
126 totemTimingRawToDigi,
129 ctppsRawToDigi = cms.Sequence(ctppsRawToDigiTask)