1 import FWCore.ParameterSet.Config
as cms
5 from Configuration.StandardSequences.Eras
import eras
10 import EventFilter.EcalDigiToRaw.ecalDigiToRaw_cfi
11 ecalPacker = EventFilter.EcalDigiToRaw.ecalDigiToRaw_cfi.ecaldigitorawzerosup.clone()
21 DigiToRaw = cms.Sequence(L1TDigiToRaw*siPixelRawData*SiStripDigiToRaw*ecalPacker*esDigiToRaw*hcalRawData*cscpacker*dtpacker*rpcpacker*castorRawData*rawDataCollector)
22 ecalPacker.Label =
'simEcalDigis'
23 ecalPacker.InstanceEB =
'ebDigis'
24 ecalPacker.InstanceEE =
'eeDigis'
25 ecalPacker.labelEBSRFlags =
"simEcalDigis:ebSrFlags"
26 ecalPacker.labelEESRFlags =
"simEcalDigis:eeSrFlags"
29 if eras.phase1Pixel.isChosen() :
30 DigiToRaw.remove(siPixelRawData)
31 DigiToRaw.remove(castorRawData)
33 if eras.fastSim.isChosen() :
34 for _entry
in [siPixelRawData,SiStripDigiToRaw,castorRawData]:
35 DigiToRaw.remove(_entry)