CMS 3D CMS Logo

hgcalTowerMapProducer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 import math
3 
4 L1TTriggerTowerConfig_etaphi = cms.PSet(readMappingFile=cms.bool(False),
5  minEta=cms.double(1.479),
6  maxEta=cms.double(3.0),
7  minPhi=cms.double(-1*math.pi),
8  maxPhi=cms.double(math.pi),
9  nBinsEta=cms.int32(18),
10  nBinsPhi=cms.int32(72),
11  binsEta=cms.vdouble(),
12  binsPhi=cms.vdouble())
13 
14 towerMap2D_parValues = cms.PSet( useLayerWeights = cms.bool(False),
15  layerWeights = cms.vdouble(),
16  L1TTriggerTowerConfig = L1TTriggerTowerConfig_etaphi
17 )
18 
19 tower_map = cms.PSet( ProcessorName = cms.string('HGCalTowerMapProcessor'),
20  towermap_parameters = towerMap2D_parValues.clone()
21  )
22 
23 hgcalTowerMapProducer = cms.EDProducer(
24  "HGCalTowerMapProducer",
25  InputTriggerSums = cms.InputTag('hgcalConcentratorProducer:HGCalConcentratorProcessorSelection'),
26  ProcessorParameters = tower_map.clone()
27  )
28 
29 hgcalTowerMapProducerHFNose = hgcalTowerMapProducer.clone(
30  InputTriggerSums = cms.InputTag('hgcalConcentratorProducerHFNose:HGCalConcentratorProcessorSelection')
31 )