1 import FWCore.ParameterSet.Config
as cms
4 totemDAQMappingESSourceXML_TrackingStrip = cms.ESSource(
"TotemDAQMappingESSourceXML",
5 verbosity = cms.untracked.uint32(0),
6 subSystem = cms.untracked.string(
"TrackingStrip"),
7 sampicSubDetId = cms.uint32(6),
8 configuration = cms.VPSet(
11 validityRange = cms.EventRange(
"1:min - 280385:max"),
12 mappingFileNames = cms.vstring(
"CondFormats/PPSObjects/xml/mapping_tracking_strip_2016_to_fill_5288.xml"),
13 maskFileNames = cms.vstring()
17 validityRange = cms.EventRange(
"280386:min - 281600:max"),
18 mappingFileNames = cms.vstring(),
19 maskFileNames = cms.vstring()
23 validityRange = cms.EventRange(
"281601:min - 290872:max"),
24 mappingFileNames = cms.vstring(
"CondFormats/PPSObjects/xml/mapping_tracking_strip_2016_from_fill_5330.xml"),
25 maskFileNames = cms.vstring()
29 validityRange = cms.EventRange(
"290873:min - 311625:max"),
30 mappingFileNames = cms.vstring(
"CondFormats/PPSObjects/xml/mapping_tracking_strip_2017.xml"),
31 maskFileNames = cms.vstring()
35 validityRange = cms.EventRange(
"311626:min - 339999:max"),
36 mappingFileNames = cms.vstring(
"CondFormats/PPSObjects/xml/mapping_tracking_strip_2018.xml"),
37 maskFileNames = cms.vstring()
41 validityRange = cms.EventRange(
"340000:min - 999999999:max"),
42 mappingFileNames = cms.vstring(
"CondFormats/PPSObjects/xml/mapping_tracking_strip_2022.xml"),
43 maskFileNames = cms.vstring()
49 from EventFilter.CTPPSRawToDigi.totemRPRawToDigi_cfi
import totemRPRawToDigi
50 totemRPRawToDigi.rawDataTag = cms.InputTag(
"rawDataCollector")
59 totemDAQMappingESSourceXML_TimingDiamond = cms.ESSource(
"TotemDAQMappingESSourceXML",
60 verbosity = cms.untracked.uint32(0),
61 subSystem = cms.untracked.string(
"TimingDiamond"),
62 sampicSubDetId = cms.uint32(6),
63 configuration = cms.VPSet(
66 validityRange = cms.EventRange(
"1:min - 283819:max"),
67 mappingFileNames = cms.vstring(),
68 maskFileNames = cms.vstring()
72 validityRange = cms.EventRange(
"283820:min - 292520:max"),
73 mappingFileNames = cms.vstring(
"CondFormats/PPSObjects/xml/mapping_timing_diamond.xml"),
74 maskFileNames = cms.vstring()
78 validityRange = cms.EventRange(
"292521:min - 310000:max"),
79 mappingFileNames = cms.vstring(
"CondFormats/PPSObjects/xml/mapping_timing_diamond_2017.xml"),
80 maskFileNames = cms.vstring()
84 validityRange = cms.EventRange(
"310001:min - 339999:max"),
85 mappingFileNames = cms.vstring(
"CondFormats/PPSObjects/xml/mapping_timing_diamond_2018.xml"),
86 maskFileNames = cms.vstring()
90 validityRange = cms.EventRange(
"340000:min - 362919:max"),
91 mappingFileNames = cms.vstring(
"CondFormats/PPSObjects/xml/mapping_timing_diamond_2022.xml"),
92 maskFileNames = cms.vstring()
96 validityRange = cms.EventRange(
"362920:min - 999999999:max"),
97 mappingFileNames = cms.vstring(
"CondFormats/PPSObjects/xml/mapping_timing_diamond_2023.xml"),
98 maskFileNames = cms.vstring()
104 from EventFilter.CTPPSRawToDigi.ctppsDiamondRawToDigi_cfi
import ctppsDiamondRawToDigi
105 ctppsDiamondRawToDigi.rawDataTag =
"rawDataCollector" 108 totemDAQMappingESSourceXML_TotemTiming = cms.ESSource(
"TotemDAQMappingESSourceXML",
109 verbosity = cms.untracked.uint32(0),
110 subSystem = cms.untracked.string(
"TotemTiming"),
111 sampicSubDetId = cms.uint32(5),
112 configuration = cms.VPSet(
115 validityRange = cms.EventRange(
"1:min - 310000:max"),
116 mappingFileNames = cms.vstring(),
117 maskFileNames = cms.vstring()
121 validityRange = cms.EventRange(
"310001:min - 339999:max"),
122 mappingFileNames = cms.vstring(
"CondFormats/PPSObjects/xml/mapping_totem_timing_2018.xml"),
123 maskFileNames = cms.vstring()
127 validityRange = cms.EventRange(
"340000:min - 999999999:max"),
128 mappingFileNames = cms.vstring(
"CondFormats/PPSObjects/xml/mapping_totem_timing_2022.xml"),
129 maskFileNames = cms.vstring()
134 from EventFilter.CTPPSRawToDigi.totemTimingRawToDigi_cfi
import totemTimingRawToDigi
135 totemTimingRawToDigi.rawDataTag =
"rawDataCollector" 138 from CalibPPS.ESProducers.totemT2DAQMapping_cff
import totemDAQMappingESSourceXML
as totemDAQMappingESSourceXML_TotemT2
139 from EventFilter.CTPPSRawToDigi.totemT2Digis_cfi
import totemT2Digis
140 totemT2Digis.rawDataTag =
"rawDataCollector" 143 from EventFilter.CTPPSRawToDigi.ctppsPixelDigis_cfi
import ctppsPixelDigis
144 ctppsPixelDigis.inputLabel =
"rawDataCollector" 146 from Configuration.Eras.Modifier_ctpps_2016_cff
import ctpps_2016
147 from Configuration.Eras.Modifier_ctpps_2017_cff
import ctpps_2017
148 from Configuration.Eras.Modifier_ctpps_2018_cff
import ctpps_2018
149 (ctpps_2016 | ctpps_2017 | ctpps_2018).toModify(ctppsPixelDigis, isRun3 =
False )
150 (ctpps_2016 | ctpps_2017 | ctpps_2018).toModify(totemDAQMappingESSourceXML_TotemTiming, sampicSubDetId = 6)
153 ctppsRawToDigiTask = cms.Task(
155 ctppsDiamondRawToDigi,
156 totemTimingRawToDigi,
160 ctppsRawToDigi = cms.Sequence(ctppsRawToDigiTask)