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)
76 scalersRawToDigi.scalersInputTag =
'rawDataCollector' 77 siPixelDigis.cpu.InputLabel =
'rawDataCollector' 78 ecalDigis.cpu.InputLabel =
'rawDataCollector' 79 ecalPreshowerDigis.sourceTag =
'rawDataCollector' 80 hcalDigis.InputLabel =
'rawDataCollector' 81 muonCSCDigis.InputObjects =
'rawDataCollector' 82 muonDTDigis.inputLabel =
'rawDataCollector' 83 muonRPCDigis.InputLabel =
'rawDataCollector' 84 castorDigis.InputLabel =
'rawDataCollector' 86 from Configuration.Eras.Modifier_run3_common_cff
import run3_common
87 run3_common.toReplaceWith(RawToDigiTask, RawToDigiTask.copyAndExclude([castorDigis]))
89 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
92 phase2_tracker.toReplaceWith(RawToDigiTask, RawToDigiTask.copyAndExclude([siPixelDigis,siStripDigis]))
95 from Configuration.Eras.Modifier_ctpps_cff
import ctpps
97 _ctpps_RawToDigiTask = RawToDigiTask.copy()
98 _ctpps_RawToDigiTask.add(ctppsRawToDigiTask)
99 ctpps.toReplaceWith(RawToDigiTask, _ctpps_RawToDigiTask)
101 _ctpps_RawToDigiTask_noTk = RawToDigiTask_noTk.copy()
102 _ctpps_RawToDigiTask_noTk.add(ctppsRawToDigiTask)
103 ctpps.toReplaceWith(RawToDigiTask_noTk, _ctpps_RawToDigiTask_noTk)
106 _gem_RawToDigiTask = RawToDigiTask.copy()
107 _gem_RawToDigiTask.add(muonGEMDigis)
109 from Configuration.Eras.Modifier_run2_GEM_2017_cff
import run2_GEM_2017
110 run2_GEM_2017.toReplaceWith(RawToDigiTask, _gem_RawToDigiTask)
112 from Configuration.Eras.Modifier_run3_GEM_cff
import run3_GEM
113 from Configuration.Eras.Modifier_phase2_GEM_cff
import phase2_GEM
114 (run3_GEM & ~phase2_GEM).toReplaceWith(RawToDigiTask, _gem_RawToDigiTask)
117 _hgcal_RawToDigiTask = RawToDigiTask.copy()
118 _hgcal_RawToDigiTask.add(hgcalDigis)
119 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
120 phase2_hgcal.toReplaceWith(RawToDigiTask,_hgcal_RawToDigiTask)
122 _hfnose_RawToDigiTask = RawToDigiTask.copy()
123 _hfnose_RawToDigiTask.add(hfnoseDigis)
125 from Configuration.Eras.Modifier_phase2_hfnose_cff
import phase2_hfnose
126 phase2_hfnose.toReplaceWith(RawToDigiTask,_hfnose_RawToDigiTask)