CMS 3D CMS Logo

DigiToRaw_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # This object is used to make changes for different running scenarios. In
4 # this case for Run 2
5 
9 import EventFilter.EcalDigiToRaw.ecalDigiToRaw_cfi
10 ecalPacker = EventFilter.EcalDigiToRaw.ecalDigiToRaw_cfi.ecaldigitorawzerosup.clone()
20 
21 DigiToRawTask = cms.Task(L1TDigiToRawTask, siPixelRawData, SiStripDigiToRaw, ecalPacker, esDigiToRaw, hcalRawDataTask, cscpacker, dtpacker, rpcpacker, castorRawData, rawDataCollector)
22 DigiToRaw = cms.Sequence(DigiToRawTask)
23 
24 ecalPacker.Label = 'simEcalDigis'
25 ecalPacker.InstanceEB = 'ebDigis'
26 ecalPacker.InstanceEE = 'eeDigis'
27 ecalPacker.labelEBSRFlags = "simEcalDigis:ebSrFlags"
28 ecalPacker.labelEESRFlags = "simEcalDigis:eeSrFlags"
29 
30 from Configuration.Eras.Modifier_run3_common_cff import run3_common
31 run3_common.toReplaceWith(DigiToRawTask, DigiToRawTask.copyAndExclude([castorRawData]))
32 
33 #if we don't have hcal raw data
34 from Configuration.Eras.Modifier_hcalSkipPacker_cff import hcalSkipPacker
35 hcalSkipPacker.toReplaceWith(DigiToRawTask, DigiToRawTask.copyAndExclude([hcalRawDataTask]))
36 
37 # Remove siPixelRawData until we have phase1 pixel digis
38 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
39 phase2_tracker.toReplaceWith(DigiToRawTask, DigiToRawTask.copyAndExclude([siPixelRawData])) # FIXME
40 
41 # GEM settings
42 _gem_DigiToRawTask = DigiToRawTask.copy()
43 _gem_DigiToRawTask.add(gemPacker)
44 
45 from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
46 run2_GEM_2017.toReplaceWith(DigiToRawTask, _gem_DigiToRawTask)
47 
48 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
49 run3_GEM.toReplaceWith(DigiToRawTask, _gem_DigiToRawTask)
50 
51 from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
52 phase2_muon.toReplaceWith(DigiToRawTask, DigiToRawTask.copyAndExclude([rpcpacker]))
53 
54 from Configuration.Eras.Modifier_fastSim_cff import fastSim
55 fastSim.toReplaceWith(DigiToRawTask, DigiToRawTask.copyAndExclude([siPixelRawData,SiStripDigiToRaw,castorRawData]))
cscPacker_cfi
L1TDigiToRaw_cff
gemPacker_cfi
SiPixelDigiToRaw_cfi
rpcPacker_cfi
rawDataCollector_cfi
ecalTriggerPrimitiveDigis_cff
CastorDigiToRaw_cfi
esDigiToRaw_cfi
HcalDigiToRaw_cfi
SiStripDigiToRaw_cfi
dtPacker_cfi