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 - 999999999:max"),
91 mappingFileNames = cms.vstring(
"CondFormats/PPSObjects/xml/mapping_timing_diamond_2022.xml"),
92 maskFileNames = cms.vstring()
98 from EventFilter.CTPPSRawToDigi.ctppsDiamondRawToDigi_cfi
import ctppsDiamondRawToDigi
99 ctppsDiamondRawToDigi.rawDataTag = cms.InputTag(
"rawDataCollector")
102 totemDAQMappingESSourceXML_TotemTiming = cms.ESSource(
"TotemDAQMappingESSourceXML",
103 verbosity = cms.untracked.uint32(0),
104 subSystem = cms.untracked.string(
"TotemTiming"),
105 sampicSubDetId = cms.uint32(5),
106 configuration = cms.VPSet(
109 validityRange = cms.EventRange(
"1:min - 310000:max"),
110 mappingFileNames = cms.vstring(),
111 maskFileNames = cms.vstring()
115 validityRange = cms.EventRange(
"310001:min - 339999:max"),
116 mappingFileNames = cms.vstring(
"CondFormats/PPSObjects/xml/mapping_totem_timing_2018.xml"),
117 maskFileNames = cms.vstring()
121 validityRange = cms.EventRange(
"340000:min - 999999999:max"),
122 mappingFileNames = cms.vstring(
"CondFormats/PPSObjects/xml/mapping_totem_timing_2022.xml"),
123 maskFileNames = cms.vstring()
128 from EventFilter.CTPPSRawToDigi.totemTimingRawToDigi_cfi
import totemTimingRawToDigi
129 totemTimingRawToDigi.rawDataTag = cms.InputTag(
"rawDataCollector")
132 from CalibPPS.ESProducers.totemT2DAQMapping_cff
import totemDAQMappingESSourceXML
as totemDAQMappingESSourceXML_TotemT2
133 from EventFilter.CTPPSRawToDigi.totemT2Digis_cfi
import totemT2Digis
134 totemT2Digis.rawDataTag = cms.InputTag(
"rawDataCollector")
137 from EventFilter.CTPPSRawToDigi.ctppsPixelDigis_cfi
import ctppsPixelDigis
138 ctppsPixelDigis.inputLabel = cms.InputTag(
"rawDataCollector")
140 from Configuration.Eras.Modifier_ctpps_2016_cff
import ctpps_2016
141 from Configuration.Eras.Modifier_ctpps_2017_cff
import ctpps_2017
142 from Configuration.Eras.Modifier_ctpps_2018_cff
import ctpps_2018
143 (ctpps_2016 | ctpps_2017 | ctpps_2018).toModify(ctppsPixelDigis, isRun3 =
False )
144 (ctpps_2016 | ctpps_2017 | ctpps_2018).toModify(totemDAQMappingESSourceXML_TotemTiming, sampicSubDetId = 6)
147 ctppsRawToDigiTask = cms.Task(
149 ctppsDiamondRawToDigi,
150 totemTimingRawToDigi,
154 ctppsRawToDigi = cms.Sequence(ctppsRawToDigiTask)