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 hgcalTriggerPrimitivesTask = cms.Task(hgcalVFE, hgcalConcentrator, hgcalBackEndLayer1, hgcalBackEndLayer2, hgcalTowerMap, hgcalTower)
13 hgcalTriggerPrimitives = cms.Sequence(hgcalTriggerPrimitivesTask)
14 
15 from Configuration.Eras.Modifier_phase2_hgcalV9_cff import phase2_hgcalV9
16 from L1Trigger.L1THGCal.customTriggerGeometry import custom_geometry_V9
17 from L1Trigger.L1THGCal.customCalibration import custom_cluster_calibration_global
18 modifyHgcalTriggerPrimitivesWithV9Geometry_ = phase2_hgcalV9.makeProcessModifier(custom_geometry_V9)
19 
20 from Configuration.ProcessModifiers.convertHGCalDigisSim_cff import convertHGCalDigisSim
21 # can't declare a producer version of simHGCalUnsuppressedDigis in the normal flow of things,
22 # because it's already an EDAlias elsewhere
23 def _fakeHGCalDigiAlias(process):
24  from EventFilter.HGCalRawToDigi.HGCDigiConverter_cfi import HGCDigiConverter as _HGCDigiConverter
25  process.simHGCalUnsuppressedDigis = _HGCDigiConverter.clone()
26  process.hgcalTriggerPrimitivesTask.add(process.simHGCalUnsuppressedDigis)
27 doFakeHGCalDigiAlias = convertHGCalDigisSim.makeProcessModifier(_fakeHGCalDigiAlias)