1 import FWCore.ParameterSet.Config
as cms
12 import EventFilter.EcalRawToDigi.EcalUnpackerData_cfi
13 ecalDigis = EventFilter.EcalRawToDigi.EcalUnpackerData_cfi.ecalEBunpacker.clone()
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()
28 muonRPCDigis = EventFilter.RPCRawToDigi.rpcUnpacker_cfi.rpcunpacker.clone()
30 import EventFilter.RPCRawToDigi.rpcDigiMerger_cfi
31 muonRPCNewDigis = EventFilter.RPCRawToDigi.rpcDigiMerger_cfi.rpcDigiMerger.clone()
33 import EventFilter.GEMRawToDigi.muonGEMDigis_cfi
34 muonGEMDigis = EventFilter.GEMRawToDigi.muonGEMDigis_cfi.muonGEMDigis.clone()
37 castorDigis = EventFilter.CastorRawToDigi.CastorRawToDigi_cfi.castorDigis.clone( FEDs = cms.untracked.vint32(690,691,692, 693,722) )
42 tcdsDigis = EventFilter.Utilities.tcdsRawToDigi_cfi.tcdsRawToDigi.clone()
45 onlineMetaDataDigis = EventFilter.OnlineMetaDataRawToDigi.onlineMetaDataRawToDigi_cfi.onlineMetaDataRawToDigi.clone()
51 RawToDigiTask = cms.Task(L1TRawToDigiTask,
65 RawToDigi = cms.Sequence(RawToDigiTask)
67 RawToDigiTask_noTk = RawToDigiTask.copyAndExclude([siPixelDigis, siStripDigis])
68 RawToDigi_noTk = cms.Sequence(RawToDigiTask_noTk)
70 RawToDigiTask_pixelOnly = cms.Task(siPixelDigis)
71 RawToDigi_pixelOnly = cms.Sequence(RawToDigiTask_pixelOnly)
73 scalersRawToDigi.scalersInputTag =
'rawDataCollector' 74 siPixelDigis.InputLabel =
'rawDataCollector' 76 ecalDigis.InputLabel =
'rawDataCollector' 77 ecalPreshowerDigis.sourceTag =
'rawDataCollector' 78 hcalDigis.InputLabel =
'rawDataCollector' 79 muonCSCDigis.InputObjects =
'rawDataCollector' 80 muonDTDigis.inputLabel =
'rawDataCollector' 81 muonRPCDigis.InputLabel =
'rawDataCollector' 82 castorDigis.InputLabel =
'rawDataCollector' 84 from Configuration.Eras.Modifier_run3_common_cff
import run3_common
85 run3_common.toReplaceWith(RawToDigiTask, RawToDigiTask.copyAndExclude([castorDigis]))
87 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
89 phase2_tracker.toReplaceWith(RawToDigiTask, RawToDigiTask.copyAndExclude([siPixelDigis]))
93 from Configuration.Eras.Modifier_ctpps_2016_cff
import ctpps_2016
95 _ctpps_2016_RawToDigiTask = RawToDigiTask.copy()
96 _ctpps_2016_RawToDigiTask.add(ctppsRawToDigiTask)
97 ctpps_2016.toReplaceWith(RawToDigiTask, _ctpps_2016_RawToDigiTask)
99 _ctpps_2016_RawToDigiTask_noTk = RawToDigiTask_noTk.copy()
100 _ctpps_2016_RawToDigiTask_noTk.add(ctppsRawToDigiTask)
101 ctpps_2016.toReplaceWith(RawToDigiTask_noTk, _ctpps_2016_RawToDigiTask_noTk)
104 _gem_RawToDigiTask = RawToDigiTask.copy()
105 _gem_RawToDigiTask.add(muonGEMDigis)
107 from Configuration.Eras.Modifier_run2_GEM_2017_cff
import run2_GEM_2017
108 run2_GEM_2017.toReplaceWith(RawToDigiTask, _gem_RawToDigiTask)
110 from Configuration.Eras.Modifier_run3_GEM_cff
import run3_GEM
111 run3_GEM.toReplaceWith(RawToDigiTask, _gem_RawToDigiTask)
114 _hgcal_RawToDigiTask = RawToDigiTask.copy()
115 _hgcal_RawToDigiTask.add(hgcalDigis)
116 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
117 phase2_hgcal.toReplaceWith(RawToDigiTask,_hgcal_RawToDigiTask)
120 from Configuration.Eras.Modifier_stage2L1Trigger_2017_cff
import stage2L1Trigger_2017
121 _rpc_NewReadoutVal_RawToDigiTask = RawToDigiTask.copy()
122 _rpc_NewReadoutVal_RawToDigiTask_noTk = RawToDigiTask_noTk.copy()
123 _rpc_NewReadoutVal_RawToDigiTask.add(muonRPCNewDigis)
124 _rpc_NewReadoutVal_RawToDigiTask_noTk.add(muonRPCNewDigis)
125 stage2L1Trigger_2017.toReplaceWith(RawToDigiTask, _rpc_NewReadoutVal_RawToDigiTask)
126 stage2L1Trigger_2017.toReplaceWith(RawToDigiTask_noTk, _rpc_NewReadoutVal_RawToDigiTask)
128 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
129 fastSim.toReplaceWith(RawToDigiTask, RawToDigiTask.copyAndExclude([muonRPCNewDigis]))
130 fastSim.toReplaceWith(RawToDigiTask_noTk, RawToDigiTask_noTk.copyAndExclude([muonRPCNewDigis]))
132 _hfnose_RawToDigiTask = RawToDigiTask.copy()
133 _hfnose_RawToDigiTask.add(hfnoseDigis)
135 from Configuration.Eras.Modifier_phase2_hfnose_cff
import phase2_hfnose
136 phase2_hfnose.toReplaceWith(RawToDigiTask,_hfnose_RawToDigiTask)