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.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.Utilities.tcdsRawToDigi_cfi.tcdsRawToDigi.clone()
42 onlineMetaDataDigis = EventFilter.OnlineMetaDataRawToDigi.onlineMetaDataRawToDigi_cfi.onlineMetaDataRawToDigi.clone()
48 RawToDigi = cms.Sequence(L1TRawToDigi
63 RawToDigi_noTk = cms.Sequence(L1TRawToDigi
76 RawToDigi_pixelOnly = cms.Sequence(siPixelDigis)
78 scalersRawToDigi.scalersInputTag =
'rawDataCollector' 79 siPixelDigis.InputLabel =
'rawDataCollector' 81 ecalDigis.InputLabel =
'rawDataCollector' 82 ecalPreshowerDigis.sourceTag =
'rawDataCollector' 83 hcalDigis.InputLabel =
'rawDataCollector' 84 muonCSCDigis.InputObjects =
'rawDataCollector' 85 muonDTDigis.inputLabel =
'rawDataCollector' 86 muonRPCDigis.InputLabel =
'rawDataCollector' 87 castorDigis.InputLabel =
'rawDataCollector' 89 from Configuration.Eras.Modifier_run3_common_cff
import run3_common
90 run3_common.toReplaceWith(RawToDigi, RawToDigi.copyAndExclude([castorDigis]))
92 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
94 phase2_tracker.toReplaceWith(RawToDigi, RawToDigi.copyAndExclude([siPixelDigis]))
98 from Configuration.Eras.Modifier_ctpps_2016_cff
import ctpps_2016
100 _ctpps_2016_RawToDigi = RawToDigi.copy()
101 _ctpps_2016_RawToDigi += ctppsRawToDigi
102 ctpps_2016.toReplaceWith(RawToDigi, _ctpps_2016_RawToDigi)
104 _ctpps_2016_RawToDigi_noTk = RawToDigi_noTk.copy()
105 _ctpps_2016_RawToDigi_noTk += ctppsRawToDigi
106 ctpps_2016.toReplaceWith(RawToDigi_noTk, _ctpps_2016_RawToDigi_noTk)
109 _gem_RawToDigi = RawToDigi.copy()
110 _gem_RawToDigi.insert(-1,muonGEMDigis)
112 from Configuration.Eras.Modifier_run2_GEM_2017_cff
import run2_GEM_2017
113 run2_GEM_2017.toReplaceWith(RawToDigi, _gem_RawToDigi)
115 from Configuration.Eras.Modifier_run3_GEM_cff
import run3_GEM
116 run3_GEM.toReplaceWith(RawToDigi, _gem_RawToDigi)
119 _hgcal_RawToDigi = RawToDigi.copy()
120 _hgcal_RawToDigi += hgcalDigis
121 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
122 phase2_hgcal.toReplaceWith(RawToDigi,_hgcal_RawToDigi)