CMS 3D CMS Logo

l1tPhase2CaloJetEmulator_cff.py
Go to the documentation of this file.
2 
4 from L1Trigger.L1THGCal.l1tHGCalTowerMapProducer_cfi import L1TTriggerTowerConfig_energySplit
6 
7 # Add HGCal tower producers for energy split towers
8 # Based on custom_towers_energySplit in L1Trigger/L1THGCal/python/customTowers.py
9 parameters_towers_2d = L1TTriggerTowerConfig_energySplit.clone()
10 l1tHGCalEnergySplitTowerMapProducer = l1tHGCalTowerMapProducer.clone()
11 l1tHGCalEnergySplitTowerMapProducer.ProcessorParameters.towermap_parameters.L1TTriggerTowerConfig = parameters_towers_2d
12 l1tHGCalEnergySplitTowerProducer = l1tHGCalTowerProducer.clone( InputTowerMaps = ("l1tHGCalEnergySplitTowerMapProducer","HGCalTowerMapProcessor") )
13 l1tHGCalEnergySplitTowersTask = cms.Task(l1tHGCalEnergySplitTowerMapProducer, l1tHGCalEnergySplitTowerProducer)
14 
15 # Use energy split towers in calo jet/tau emulator
16 l1tPhase2CaloJetEmulator.hgcalTowers = ("l1tHGCalEnergySplitTowerProducer","HGCalTowerProcessor")
17 
18 l1tCaloJetsTausTask = cms.Task(
19  l1tHGCalEnergySplitTowersTask,
20  l1tPhase2CaloJetEmulator
21 )