1 import FWCore.ParameterSet.Config
as cms
15 parameters_towers_2d = process.hgcalTowerMapProducer.ProcessorParameters.towermap_parameters
16 parameters_towers_2d.L1TTriggerTowerConfig.readMappingFile = cms.bool(
False)
17 parameters_towers_2d.L1TTriggerTowerConfig.minEta = cms.double(minEta)
18 parameters_towers_2d.L1TTriggerTowerConfig.maxEta = cms.double(maxEta)
19 parameters_towers_2d.L1TTriggerTowerConfig.minPhi = cms.double(minPhi)
20 parameters_towers_2d.L1TTriggerTowerConfig.maxPhi = cms.double(maxPhi)
21 parameters_towers_2d.L1TTriggerTowerConfig.nBinsEta = cms.int32(nBinsEta)
22 parameters_towers_2d.L1TTriggerTowerConfig.nBinsPhi = cms.int32(nBinsPhi)
23 parameters_towers_2d.L1TTriggerTowerConfig.binsEta = cms.vdouble(binsEta)
24 parameters_towers_2d.L1TTriggerTowerConfig.binsPhi = cms.vdouble(binsPhi)
29 towermapping='L1Trigger/L1THGCal/data/tower_mapping_hgcroc_eta-phi_v3.txt',
37 parameters_towers_2d = process.hgcalTowerMapProducer.ProcessorParameters.towermap_parameters
38 parameters_towers_2d.L1TTriggerTowerConfig.readMappingFile = cms.bool(
True)
39 parameters_towers_2d.L1TTriggerTowerConfig.L1TTriggerTowerMapping = cms.FileInPath(towermapping)
40 parameters_towers_2d.L1TTriggerTowerConfig.minEta = cms.double(minEta)
41 parameters_towers_2d.L1TTriggerTowerConfig.maxEta = cms.double(maxEta)
42 parameters_towers_2d.L1TTriggerTowerConfig.minPhi = cms.double(minPhi)
43 parameters_towers_2d.L1TTriggerTowerConfig.maxPhi = cms.double(maxPhi)
44 parameters_towers_2d.L1TTriggerTowerConfig.nBinsEta = cms.int32(nBinsEta)
45 parameters_towers_2d.L1TTriggerTowerConfig.nBinsPhi = cms.int32(nBinsPhi)
50 towermapping='L1Trigger/L1THGCal/data/tower_mapping_hgcroc_eta-phi_v3.txt',
70 towermapping='L1Trigger/L1THGCal/data/tower_mapping_wafer_eta-phi_v3.txt',