CMS 3D CMS Logo

HGCalRawToDigi_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 import EventFilter.HGCalRawToDigi.HGCalRawToDigiFake_cfi
3 
4 hgcalDigis = EventFilter.HGCalRawToDigi.HGCalRawToDigiFake_cfi.HGCalRawToDigiFake.clone()
5 
6 import EventFilter.HGCalRawToDigi.HFNoseRawToDigiFake_cfi
7 
8 hfnoseDigis = EventFilter.HGCalRawToDigi.HFNoseRawToDigiFake_cfi.HFNoseRawToDigiFake.clone()
9 
10 from Configuration.ProcessModifiers.convertHGCalDigisReco_cff import convertHGCalDigisReco
11 import EventFilter.HGCalRawToDigi.HGCDigiConverter_cfi
12 _hgcalDigisConverted = EventFilter.HGCalRawToDigi.HGCDigiConverter_cfi.HGCDigiConverter.clone()
13 convertHGCalDigisReco.toReplaceWith(hgcalDigis,_hgcalDigisConverted)
14 
15 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
16 premix_stage2.toModify(hgcalDigis,
17  eeDigis = 'mixData:HGCDigisEE',
18  fhDigis = 'mixData:HGCDigisHEfront',
19  bhDigis = 'mixData:HGCDigisHEback',
20 )
21