1 import FWCore.ParameterSet.Config
as cms
16 ecalPreshowerDigis = EventFilter.ESRawToDigi.esRawToDigi_cfi.esRawToDigi.clone()
18 import EventFilter.HcalRawToDigi.HcalRawToDigi_cfi
19 hcalDigis = EventFilter.HcalRawToDigi.HcalRawToDigi_cfi.hcalDigis.clone()
22 muonCSCDigis = EventFilter.CSCRawToDigi.cscUnpacker_cfi.muonCSCDigis.clone()
25 muonDTDigis = EventFilter.DTRawToDigi.dtunpacker_cfi.muonDTDigis.clone()
27 import EventFilter.RPCRawToDigi.RPCRawToDigi_cfi
28 muonRPCDigis = EventFilter.RPCRawToDigi.RPCRawToDigi_cfi.muonRPCDigis.clone()
30 import EventFilter.GEMRawToDigi.muonGEMDigis_cfi
31 muonGEMDigis = EventFilter.GEMRawToDigi.muonGEMDigis_cfi.muonGEMDigis.clone()
34 castorDigis = EventFilter.CastorRawToDigi.CastorRawToDigi_cfi.castorDigis.clone( FEDs = cms.untracked.vint32(690,691,692, 693,722) )
39 tcdsDigis = EventFilter.OnlineMetaDataRawToDigi.tcdsRawToDigi_cfi.tcdsRawToDigi.clone()
42 onlineMetaDataDigis = EventFilter.OnlineMetaDataRawToDigi.onlineMetaDataRawToDigi_cfi.onlineMetaDataRawToDigi.clone()
48 RawToDigiTask = cms.Task(L1TRawToDigiTask,
62 RawToDigi = cms.Sequence(RawToDigiTask)
64 RawToDigiTask_noTk = RawToDigiTask.copyAndExclude([siPixelDigisTask, siStripDigis])
65 RawToDigi_noTk = cms.Sequence(RawToDigiTask_noTk)
67 RawToDigiTask_pixelOnly = cms.Task(siPixelDigisTask, scalersRawToDigi)
68 RawToDigi_pixelOnly = cms.Sequence(RawToDigiTask_pixelOnly)
70 RawToDigiTask_ecalOnly = cms.Task(ecalDigisTask, ecalPreshowerDigis, scalersRawToDigi)
71 RawToDigi_ecalOnly = cms.Sequence(RawToDigiTask_ecalOnly)
73 RawToDigiTask_hcalOnly = cms.Task(hcalDigis)
74 RawToDigi_hcalOnly = cms.Sequence(RawToDigiTask_hcalOnly)
79 scalersRawToDigi.scalersInputTag =
'rawDataCollector' 80 siPixelDigis.cpu.InputLabel =
'rawDataCollector' 81 ecalDigisCPU.InputLabel =
'rawDataCollector' 82 gpu.toModify(ecalDigisGPU, InputLabel =
'rawDataCollector')
83 alpaka.toModify(ecalDigisPortable, InputLabel =
'rawDataCollector')
84 ecalPreshowerDigis.sourceTag =
'rawDataCollector' 85 hcalDigis.InputLabel =
'rawDataCollector' 86 muonCSCDigis.InputObjects =
'rawDataCollector' 87 muonDTDigis.inputLabel =
'rawDataCollector' 88 muonRPCDigis.InputLabel =
'rawDataCollector' 89 castorDigis.InputLabel =
'rawDataCollector' 91 from Configuration.Eras.Modifier_run3_common_cff
import run3_common
92 run3_common.toReplaceWith(RawToDigiTask, RawToDigiTask.copyAndExclude([castorDigis]))
95 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
96 phase2_tracker.toReplaceWith(RawToDigiTask, RawToDigiTask.copyAndExclude([siStripDigis]))
98 from Configuration.ProcessModifiers.approxSiStripClusters_cff
import approxSiStripClusters
99 approxSiStripClusters.toReplaceWith(RawToDigiTask,
100 RawToDigiTask.copyAndExclude([siStripDigis]))
103 from Configuration.Eras.Modifier_ctpps_cff
import ctpps
105 _ctpps_RawToDigiTask = RawToDigiTask.copy()
106 _ctpps_RawToDigiTask.add(ctppsRawToDigiTask)
107 ctpps.toReplaceWith(RawToDigiTask, _ctpps_RawToDigiTask)
109 _ctpps_RawToDigiTask_noTk = RawToDigiTask_noTk.copy()
110 _ctpps_RawToDigiTask_noTk.add(ctppsRawToDigiTask)
111 ctpps.toReplaceWith(RawToDigiTask_noTk, _ctpps_RawToDigiTask_noTk)
114 _gem_RawToDigiTask = RawToDigiTask.copy()
115 _gem_RawToDigiTask.add(muonGEMDigis)
117 from Configuration.Eras.Modifier_run2_GEM_2017_cff
import run2_GEM_2017
118 run2_GEM_2017.toReplaceWith(RawToDigiTask, _gem_RawToDigiTask)
120 from Configuration.Eras.Modifier_run3_GEM_cff
import run3_GEM
121 from Configuration.Eras.Modifier_phase2_GEM_cff
import phase2_GEM
122 run3_GEM.toReplaceWith(RawToDigiTask, _gem_RawToDigiTask)
123 phase2_GEM.toReplaceWith(RawToDigiTask, _gem_RawToDigiTask)
126 _hgcal_RawToDigiTask = RawToDigiTask.copy()
127 _hgcal_RawToDigiTask.add(hgcalDigis)
128 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
129 phase2_hgcal.toReplaceWith(RawToDigiTask,_hgcal_RawToDigiTask)
131 _hfnose_RawToDigiTask = RawToDigiTask.copy()
132 _hfnose_RawToDigiTask.add(hfnoseDigis)
134 from Configuration.Eras.Modifier_phase2_hfnose_cff
import phase2_hfnose
135 phase2_hfnose.toReplaceWith(RawToDigiTask,_hfnose_RawToDigiTask)