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 
12 from Configuration.Eras.Modifier_phase2_hgcalV9_cff import phase2_hgcalV9
13 from L1Trigger.L1THGCal.customTriggerGeometry import custom_geometry_V9
14 modifyHgcalTriggerPrimitivesWithV9Geometry_ = phase2_hgcalV9.makeProcessModifier(custom_geometry_V9)
15 
16 from Configuration.ProcessModifiers.convertHGCalDigisSim_cff import convertHGCalDigisSim
17 # can't declare a producer version of simHGCalUnsuppressedDigis in the normal flow of things,
18 # because it's already an EDAlias elsewhere
19 def _fakeHGCalDigiAlias(process):
20  from EventFilter.HGCalRawToDigi.HGCDigiConverter_cfi import HGCDigiConverter as _HGCDigiConverter
21  process.simHGCalUnsuppressedDigis = _HGCDigiConverter.clone()
22  process.hgcalTriggerPrimitives.insert(0,process.simHGCalUnsuppressedDigis)
23 doFakeHGCalDigiAlias = convertHGCalDigisSim.makeProcessModifier(_fakeHGCalDigiAlias)