CMS 3D CMS Logo

hgcalTriggerPrimitives_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
5 
6 
7 hgcalTriggerPrimitives = cms.Sequence(hgcalTriggerPrimitiveDigiProducer)
8 
9 hgcalTriggerPrimitives_reproduce = cms.Sequence(hgcalTriggerPrimitiveDigiFEReproducer)
10 
11 from Configuration.ProcessModifiers.convertHGCalDigisSim_cff import convertHGCalDigisSim
12 # can't declare a producer version of simHGCalUnsuppressedDigis in the normal flow of things,
13 # because it's already an EDAlias elsewhere
14 def _fakeHGCalDigiAlias(process):
15  from EventFilter.HGCalRawToDigi.HGCDigiConverter_cfi import HGCDigiConverter as _HGCDigiConverter
16  process.simHGCalUnsuppressedDigis = _HGCDigiConverter.clone()
17  process.hgcalTriggerPrimitives.insert(0,process.simHGCalUnsuppressedDigis)
18 doFakeHGCalDigiAlias = convertHGCalDigisSim.makeProcessModifier(_fakeHGCalDigiAlias)