File indexing completed on 2024-04-06 12:10:30
0001 import FWCore.ParameterSet.Config as cms
0002
0003
0004 totemDAQMappingESSourceXML_TrackingStrip = cms.ESSource("TotemDAQMappingESSourceXML",
0005 verbosity = cms.untracked.uint32(0),
0006 subSystem = cms.untracked.string("TrackingStrip"),
0007 sampicSubDetId = cms.uint32(6),
0008 configuration = cms.VPSet(
0009
0010 cms.PSet(
0011 validityRange = cms.EventRange("1:min - 280385:max"),
0012 mappingFileNames = cms.vstring("CondFormats/PPSObjects/xml/mapping_tracking_strip_2016_to_fill_5288.xml"),
0013 maskFileNames = cms.vstring()
0014 ),
0015
0016 cms.PSet(
0017 validityRange = cms.EventRange("280386:min - 281600:max"),
0018 mappingFileNames = cms.vstring(),
0019 maskFileNames = cms.vstring()
0020 ),
0021
0022 cms.PSet(
0023 validityRange = cms.EventRange("281601:min - 290872:max"),
0024 mappingFileNames = cms.vstring("CondFormats/PPSObjects/xml/mapping_tracking_strip_2016_from_fill_5330.xml"),
0025 maskFileNames = cms.vstring()
0026 ),
0027
0028 cms.PSet(
0029 validityRange = cms.EventRange("290873:min - 311625:max"),
0030 mappingFileNames = cms.vstring("CondFormats/PPSObjects/xml/mapping_tracking_strip_2017.xml"),
0031 maskFileNames = cms.vstring()
0032 ),
0033
0034 cms.PSet(
0035 validityRange = cms.EventRange("311626:min - 339999:max"),
0036 mappingFileNames = cms.vstring("CondFormats/PPSObjects/xml/mapping_tracking_strip_2018.xml"),
0037 maskFileNames = cms.vstring()
0038 ),
0039
0040 cms.PSet(
0041 validityRange = cms.EventRange("340000:min - 999999999:max"),
0042 mappingFileNames = cms.vstring("CondFormats/PPSObjects/xml/mapping_tracking_strip_2022.xml"),
0043 maskFileNames = cms.vstring()
0044 )
0045
0046 )
0047 )
0048
0049 from EventFilter.CTPPSRawToDigi.totemRPRawToDigi_cfi import totemRPRawToDigi
0050 totemRPRawToDigi.rawDataTag = cms.InputTag("rawDataCollector")
0051
0052
0053
0054
0055
0056
0057
0058
0059 totemDAQMappingESSourceXML_TimingDiamond = cms.ESSource("TotemDAQMappingESSourceXML",
0060 verbosity = cms.untracked.uint32(0),
0061 subSystem = cms.untracked.string("TimingDiamond"),
0062 sampicSubDetId = cms.uint32(6),
0063 configuration = cms.VPSet(
0064
0065 cms.PSet(
0066 validityRange = cms.EventRange("1:min - 283819:max"),
0067 mappingFileNames = cms.vstring(),
0068 maskFileNames = cms.vstring()
0069 ),
0070
0071 cms.PSet(
0072 validityRange = cms.EventRange("283820:min - 292520:max"),
0073 mappingFileNames = cms.vstring("CondFormats/PPSObjects/xml/mapping_timing_diamond.xml"),
0074 maskFileNames = cms.vstring()
0075 ),
0076
0077 cms.PSet(
0078 validityRange = cms.EventRange("292521:min - 310000:max"),
0079 mappingFileNames = cms.vstring("CondFormats/PPSObjects/xml/mapping_timing_diamond_2017.xml"),
0080 maskFileNames = cms.vstring()
0081 ),
0082
0083 cms.PSet(
0084 validityRange = cms.EventRange("310001:min - 339999:max"),
0085 mappingFileNames = cms.vstring("CondFormats/PPSObjects/xml/mapping_timing_diamond_2018.xml"),
0086 maskFileNames = cms.vstring()
0087 ),
0088
0089 cms.PSet(
0090 validityRange = cms.EventRange("340000:min - 362919:max"),
0091 mappingFileNames = cms.vstring("CondFormats/PPSObjects/xml/mapping_timing_diamond_2022.xml"),
0092 maskFileNames = cms.vstring()
0093 ),
0094
0095 cms.PSet(
0096 validityRange = cms.EventRange("362920:min - 999999999:max"),
0097 mappingFileNames = cms.vstring("CondFormats/PPSObjects/xml/mapping_timing_diamond_2023.xml"),
0098 maskFileNames = cms.vstring()
0099 )
0100
0101 )
0102 )
0103
0104 from EventFilter.CTPPSRawToDigi.ctppsDiamondRawToDigi_cfi import ctppsDiamondRawToDigi
0105 ctppsDiamondRawToDigi.rawDataTag = "rawDataCollector"
0106
0107
0108 totemDAQMappingESSourceXML_TotemTiming = cms.ESSource("TotemDAQMappingESSourceXML",
0109 verbosity = cms.untracked.uint32(0),
0110 subSystem = cms.untracked.string("TotemTiming"),
0111 sampicSubDetId = cms.uint32(5),
0112 configuration = cms.VPSet(
0113
0114 cms.PSet(
0115 validityRange = cms.EventRange("1:min - 310000:max"),
0116 mappingFileNames = cms.vstring(),
0117 maskFileNames = cms.vstring()
0118 ),
0119
0120 cms.PSet(
0121 validityRange = cms.EventRange("310001:min - 339999:max"),
0122 mappingFileNames = cms.vstring("CondFormats/PPSObjects/xml/mapping_totem_timing_2018.xml"),
0123 maskFileNames = cms.vstring()
0124 ),
0125
0126 cms.PSet(
0127 validityRange = cms.EventRange("340000:min - 999999999:max"),
0128 mappingFileNames = cms.vstring("CondFormats/PPSObjects/xml/mapping_totem_timing_2022.xml"),
0129 maskFileNames = cms.vstring()
0130 )
0131 )
0132 )
0133
0134 from EventFilter.CTPPSRawToDigi.totemTimingRawToDigi_cfi import totemTimingRawToDigi
0135 totemTimingRawToDigi.rawDataTag = "rawDataCollector"
0136
0137
0138 from CalibPPS.ESProducers.totemT2DAQMapping_cff import totemDAQMappingESSourceXML as totemDAQMappingESSourceXML_TotemT2
0139 from EventFilter.CTPPSRawToDigi.totemT2Digis_cfi import totemT2Digis
0140 totemT2Digis.rawDataTag = "rawDataCollector"
0141
0142
0143 from EventFilter.CTPPSRawToDigi.ctppsPixelDigis_cfi import ctppsPixelDigis
0144 ctppsPixelDigis.inputLabel = "rawDataCollector"
0145
0146 from Configuration.Eras.Modifier_ctpps_2016_cff import ctpps_2016
0147 from Configuration.Eras.Modifier_ctpps_2017_cff import ctpps_2017
0148 from Configuration.Eras.Modifier_ctpps_2018_cff import ctpps_2018
0149 (ctpps_2016 | ctpps_2017 | ctpps_2018).toModify(ctppsPixelDigis, isRun3 = False )
0150 (ctpps_2016 | ctpps_2017 | ctpps_2018).toModify(totemDAQMappingESSourceXML_TotemTiming, sampicSubDetId = 6)
0151
0152
0153 ctppsRawToDigiTask = cms.Task(
0154 totemRPRawToDigi,
0155 ctppsDiamondRawToDigi,
0156 totemTimingRawToDigi,
0157 totemT2Digis,
0158 ctppsPixelDigis
0159 )
0160 ctppsRawToDigi = cms.Sequence(ctppsRawToDigiTask)