CMS 3D CMS Logo

hgcalTriggerPrimitives_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
10 
11 
12 hgcalTriggerPrimitives = cms.Sequence(hgcalVFEProducer*hgcalConcentratorProducer*hgcalBackEndLayer1Producer*hgcalBackEndLayer2Producer*hgcalTowerMapProducer*hgcalTowerProducer)
13 
14 from Configuration.Eras.Modifier_phase2_hgcalV9_cff import phase2_hgcalV9
15 from L1Trigger.L1THGCal.customTriggerGeometry import custom_geometry_V9
16 modifyHgcalTriggerPrimitivesWithV9Geometry_ = phase2_hgcalV9.makeProcessModifier(custom_geometry_V9)
17 
18 from Configuration.ProcessModifiers.convertHGCalDigisSim_cff import convertHGCalDigisSim
19 # can't declare a producer version of simHGCalUnsuppressedDigis in the normal flow of things,
20 # because it's already an EDAlias elsewhere
21 def _fakeHGCalDigiAlias(process):
22  from EventFilter.HGCalRawToDigi.HGCDigiConverter_cfi import HGCDigiConverter as _HGCDigiConverter
23  process.simHGCalUnsuppressedDigis = _HGCDigiConverter.clone()
24  process.hgcalTriggerPrimitives.insert(0,process.simHGCalUnsuppressedDigis)
25 doFakeHGCalDigiAlias = convertHGCalDigisSim.makeProcessModifier(_fakeHGCalDigiAlias)