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]))
94 from Configuration.ProcessModifiers.approxSiStripClusters_cff
import approxSiStripClusters
95 approxSiStripClusters.toReplaceWith(RawToDigiTask,
96 RawToDigiTask.copyAndExclude([siStripDigis]))
99 from Configuration.Eras.Modifier_ctpps_cff
import ctpps
101 _ctpps_RawToDigiTask = RawToDigiTask.copy()
102 _ctpps_RawToDigiTask.add(ctppsRawToDigiTask)
103 ctpps.toReplaceWith(RawToDigiTask, _ctpps_RawToDigiTask)
105 _ctpps_RawToDigiTask_noTk = RawToDigiTask_noTk.copy()
106 _ctpps_RawToDigiTask_noTk.add(ctppsRawToDigiTask)
107 ctpps.toReplaceWith(RawToDigiTask_noTk, _ctpps_RawToDigiTask_noTk)
110 _gem_RawToDigiTask = RawToDigiTask.copy()
111 _gem_RawToDigiTask.add(muonGEMDigis)
113 from Configuration.Eras.Modifier_run2_GEM_2017_cff
import run2_GEM_2017
114 run2_GEM_2017.toReplaceWith(RawToDigiTask, _gem_RawToDigiTask)
116 from Configuration.Eras.Modifier_run3_GEM_cff
import run3_GEM
117 from Configuration.Eras.Modifier_phase2_GEM_cff
import phase2_GEM
118 run3_GEM.toReplaceWith(RawToDigiTask, _gem_RawToDigiTask)
119 phase2_GEM.toReplaceWith(RawToDigiTask, _gem_RawToDigiTask)
122 _hgcal_RawToDigiTask = RawToDigiTask.copy()
123 _hgcal_RawToDigiTask.add(hgcalDigis)
124 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
125 phase2_hgcal.toReplaceWith(RawToDigiTask,_hgcal_RawToDigiTask)
127 _hfnose_RawToDigiTask = RawToDigiTask.copy()
128 _hfnose_RawToDigiTask.add(hfnoseDigis)
130 from Configuration.Eras.Modifier_phase2_hfnose_cff
import phase2_hfnose
131 phase2_hfnose.toReplaceWith(RawToDigiTask,_hfnose_RawToDigiTask)