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()
46 RawToDigi = cms.Sequence(L1TRawToDigi
60 RawToDigi_noTk = cms.Sequence(L1TRawToDigi
72 scalersRawToDigi.scalersInputTag =
'rawDataCollector'
73 siPixelDigis.InputLabel =
'rawDataCollector'
75 ecalDigis.InputLabel =
'rawDataCollector'
76 ecalPreshowerDigis.sourceTag =
'rawDataCollector'
77 hcalDigis.InputLabel =
'rawDataCollector'
78 muonCSCDigis.InputObjects =
'rawDataCollector'
79 muonDTDigis.inputLabel =
'rawDataCollector'
80 muonRPCDigis.InputLabel =
'rawDataCollector'
81 castorDigis.InputLabel =
'rawDataCollector'
83 if eras.phase1Pixel.isChosen() :
84 RawToDigi.remove(siPixelDigis)
85 RawToDigi.remove(castorDigis)
88 _ctpps_2016_RawToDigi = RawToDigi.copy()
89 _ctpps_2016_RawToDigi += ctppsRawToDigi
90 eras.ctpps_2016.toReplaceWith(RawToDigi, _ctpps_2016_RawToDigi)
92 _ctpps_2016_RawToDigi_noTk = RawToDigi_noTk.copy()
93 _ctpps_2016_RawToDigi_noTk += ctppsRawToDigi
94 eras.ctpps_2016.toReplaceWith(RawToDigi_noTk, _ctpps_2016_RawToDigi_noTk)