1 import FWCore.ParameterSet.Config
as cms
4 L1TTriggerTowerConfig_etaphi = cms.PSet(readMappingFile=cms.bool(
False),
5 doNose=cms.bool(
False),
6 minEta=cms.double(1.479),
7 maxEta=cms.double(3.0),
8 minPhi=cms.double(-1*math.pi),
9 maxPhi=cms.double(math.pi),
10 nBinsEta=cms.int32(18),
11 nBinsPhi=cms.int32(72),
12 binsEta=cms.vdouble(),
13 binsPhi=cms.vdouble())
15 towerMap2D_parValues = cms.PSet( useLayerWeights = cms.bool(
False),
16 layerWeights = cms.vdouble(),
17 AlgoName = cms.string(
'HGCalTowerMapsWrapper'),
18 L1TTriggerTowerConfig = L1TTriggerTowerConfig_etaphi
21 tower_map = cms.PSet( ProcessorName = cms.string(
'HGCalTowerMapProcessor'),
22 towermap_parameters = towerMap2D_parValues.clone()
25 l1tHGCalTowerMapProducer = cms.EDProducer(
26 "HGCalTowerMapProducer",
27 InputTriggerSums = cms.InputTag(
'l1tHGCalConcentratorProducer:HGCalConcentratorProcessorSelection'),
28 ProcessorParameters = tower_map.clone()
31 L1TTriggerTowerConfigHFNose_etaphi = L1TTriggerTowerConfig_etaphi.clone(
37 towerMap2DHFNose_parValues = towerMap2D_parValues.clone(
38 L1TTriggerTowerConfig = L1TTriggerTowerConfigHFNose_etaphi
41 towerHFNose_map = cms.PSet( ProcessorName = cms.string(
'HGCalTowerMapProcessor'),
42 towermap_parameters = towerMap2DHFNose_parValues.clone()
45 l1tHGCalTowerMapProducerHFNose = l1tHGCalTowerMapProducer.clone(
46 InputTriggerSums = cms.InputTag(
'l1tHGCalConcentratorProducerHFNose:HGCalConcentratorProcessorSelection'),
47 ProcessorParameters = towerHFNose_map.clone()