1 import FWCore.ParameterSet.Config
as cms
5 from Configuration.StandardSequences.Eras
import eras
16 import EventFilter.EcalRawToDigi.EcalUnpackerData_cfi
17 ecalDigis = EventFilter.EcalRawToDigi.EcalUnpackerData_cfi.ecalEBunpacker.clone()
20 ecalPreshowerDigis = EventFilter.ESRawToDigi.esRawToDigi_cfi.esRawToDigi.clone()
22 import EventFilter.HcalRawToDigi.HcalRawToDigi_cfi
23 hcalDigis = EventFilter.HcalRawToDigi.HcalRawToDigi_cfi.hcalDigis.clone()
26 muonCSCDigis = EventFilter.CSCRawToDigi.cscUnpacker_cfi.muonCSCDigis.clone()
29 muonDTDigis = EventFilter.DTRawToDigi.dtunpacker_cfi.muonDTDigis.clone()
32 muonRPCDigis = EventFilter.RPCRawToDigi.rpcUnpacker_cfi.rpcunpacker.clone()
35 castorDigis = EventFilter.CastorRawToDigi.CastorRawToDigi_cfi.castorDigis.clone( FEDs = cms.untracked.vint32(690,691,692, 693,722) )
40 tcdsDigis = EventFilter.Utilities.tcdsRawToDigi_cfi.tcdsRawToDigi.clone()
45 RawToDigi = cms.Sequence(L1TRawToDigi
59 RawToDigi_noTk = cms.Sequence(L1TRawToDigi
71 scalersRawToDigi.scalersInputTag =
'rawDataCollector'
72 siPixelDigis.InputLabel =
'rawDataCollector'
74 ecalDigis.InputLabel =
'rawDataCollector'
75 ecalPreshowerDigis.sourceTag =
'rawDataCollector'
76 hcalDigis.InputLabel =
'rawDataCollector'
77 muonCSCDigis.InputObjects =
'rawDataCollector'
78 muonDTDigis.inputLabel =
'rawDataCollector'
79 muonRPCDigis.InputLabel =
'rawDataCollector'
80 castorDigis.InputLabel =
'rawDataCollector'
81 totemTriggerRawToDigi.rawDataTag = cms.InputTag(
"rawDataCollector")
82 totemRPRawToDigi.rawDataTag = cms.InputTag(
"rawDataCollector")
84 if eras.phase1Pixel.isChosen() :
85 RawToDigi.remove(siPixelDigis)
86 RawToDigi.remove(castorDigis)
89 _ctpps_2016_RawToDigi = RawToDigi.copy()
90 _ctpps_2016_RawToDigi += totemTriggerRawToDigi + totemRPRawToDigi
91 eras.ctpps_2016.toReplaceWith(RawToDigi, _ctpps_2016_RawToDigi)
93 _ctpps_2016_RawToDigi_noTk = RawToDigi_noTk.copy()
94 _ctpps_2016_RawToDigi_noTk += totemTriggerRawToDigi + totemRPRawToDigi
95 eras.ctpps_2016.toReplaceWith(RawToDigi_noTk, _ctpps_2016_RawToDigi_noTk)