1 import FWCore.ParameterSet.Config
as cms
15 ecalPreshowerDigis = EventFilter.ESRawToDigi.esRawToDigi_cfi.esRawToDigi.clone()
17 import EventFilter.HcalRawToDigi.HcalRawToDigi_cfi
18 hcalDigis = EventFilter.HcalRawToDigi.HcalRawToDigi_cfi.hcalDigis.clone()
21 muonCSCDigis = EventFilter.CSCRawToDigi.cscUnpacker_cfi.muonCSCDigis.clone()
24 muonDTDigis = EventFilter.DTRawToDigi.dtunpacker_cfi.muonDTDigis.clone()
26 import EventFilter.RPCRawToDigi.RPCRawToDigi_cfi
27 muonRPCDigis = EventFilter.RPCRawToDigi.RPCRawToDigi_cfi.muonRPCDigis.clone()
29 import EventFilter.GEMRawToDigi.muonGEMDigis_cfi
30 muonGEMDigis = EventFilter.GEMRawToDigi.muonGEMDigis_cfi.muonGEMDigis.clone()
33 castorDigis = EventFilter.CastorRawToDigi.CastorRawToDigi_cfi.castorDigis.clone( FEDs = cms.untracked.vint32(690,691,692, 693,722) )
38 tcdsDigis = EventFilter.Utilities.tcdsRawToDigi_cfi.tcdsRawToDigi.clone()
41 onlineMetaDataDigis = EventFilter.OnlineMetaDataRawToDigi.onlineMetaDataRawToDigi_cfi.onlineMetaDataRawToDigi.clone()
47 RawToDigiTask = cms.Task(L1TRawToDigiTask,
61 RawToDigi = cms.Sequence(RawToDigiTask)
63 RawToDigiTask_noTk = RawToDigiTask.copyAndExclude([siPixelDigis, siStripDigis])
64 RawToDigi_noTk = cms.Sequence(RawToDigiTask_noTk)
66 RawToDigiTask_pixelOnly = cms.Task(siPixelDigis)
67 RawToDigi_pixelOnly = cms.Sequence(RawToDigiTask_pixelOnly)
69 RawToDigiTask_ecalOnly = cms.Task(ecalDigisTask, ecalPreshowerDigis, scalersRawToDigi)
70 RawToDigi_ecalOnly = cms.Sequence(RawToDigiTask_ecalOnly)
72 RawToDigiTask_hcalOnly = cms.Task(hcalDigis)
73 RawToDigi_hcalOnly = cms.Sequence(RawToDigiTask_hcalOnly)
75 scalersRawToDigi.scalersInputTag =
'rawDataCollector'
76 siPixelDigis.InputLabel =
'rawDataCollector'
77 ecalDigis.InputLabel =
'rawDataCollector'
78 ecalPreshowerDigis.sourceTag =
'rawDataCollector'
79 hcalDigis.InputLabel =
'rawDataCollector'
80 muonCSCDigis.InputObjects =
'rawDataCollector'
81 muonDTDigis.inputLabel =
'rawDataCollector'
82 muonRPCDigis.InputLabel =
'rawDataCollector'
83 castorDigis.InputLabel =
'rawDataCollector'
85 from Configuration.Eras.Modifier_run3_common_cff
import run3_common
86 run3_common.toReplaceWith(RawToDigiTask, RawToDigiTask.copyAndExclude([castorDigis]))
88 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
90 phase2_tracker.toReplaceWith(RawToDigiTask, RawToDigiTask.copyAndExclude([siPixelDigis]))
94 from Configuration.Eras.Modifier_ctpps_2016_cff
import ctpps_2016
96 _ctpps_2016_RawToDigiTask = RawToDigiTask.copy()
97 _ctpps_2016_RawToDigiTask.add(ctppsRawToDigiTask)
98 ctpps_2016.toReplaceWith(RawToDigiTask, _ctpps_2016_RawToDigiTask)
100 _ctpps_2016_RawToDigiTask_noTk = RawToDigiTask_noTk.copy()
101 _ctpps_2016_RawToDigiTask_noTk.add(ctppsRawToDigiTask)
102 ctpps_2016.toReplaceWith(RawToDigiTask_noTk, _ctpps_2016_RawToDigiTask_noTk)
105 _gem_RawToDigiTask = RawToDigiTask.copy()
106 _gem_RawToDigiTask.add(muonGEMDigis)
108 from Configuration.Eras.Modifier_run2_GEM_2017_cff
import run2_GEM_2017
109 run2_GEM_2017.toReplaceWith(RawToDigiTask, _gem_RawToDigiTask)
111 from Configuration.Eras.Modifier_run3_GEM_cff
import run3_GEM
112 run3_GEM.toReplaceWith(RawToDigiTask, _gem_RawToDigiTask)
115 _hgcal_RawToDigiTask = RawToDigiTask.copy()
116 _hgcal_RawToDigiTask.add(hgcalDigis)
117 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
118 phase2_hgcal.toReplaceWith(RawToDigiTask,_hgcal_RawToDigiTask)
120 _hfnose_RawToDigiTask = RawToDigiTask.copy()
121 _hfnose_RawToDigiTask.add(hfnoseDigis)
123 from Configuration.Eras.Modifier_phase2_hfnose_cff
import phase2_hfnose
124 phase2_hfnose.toReplaceWith(RawToDigiTask,_hfnose_RawToDigiTask)