1 import FWCore.ParameterSet.Config
as cms
5 process.hgcalTowerProducer.InputTriggerCells = cms.InputTag(
'hgcalBackEndLayer2Producer:HGCalBackendLayer2Processor3DClusteringUnclustered')
6 process.hgcalTowerProducerHFNose.InputTriggerCells = cms.InputTag(
'hgcalBackEndLayer2ProducerHFNose:HGCalBackendLayer2Processor3DClusteringUnclustered')
11 process.hgcalTowerProducer.InputTriggerCells = cms.InputTag(
'hgcalBackEndLayer1Producer:HGCalBackendLayer1Processor2DClustering')
12 process.hgcalTowerProducerHFNose.InputTriggerCells = cms.InputTag(
'hgcalBackEndLayer1ProducerHFNose:HGCalBackendLayer1Processor2DClustering')
26 parameters_towers_2d = process.hgcalTowerMapProducer.ProcessorParameters.towermap_parameters
27 parameters_towers_2d.L1TTriggerTowerConfig.readMappingFile = cms.bool(
False)
28 parameters_towers_2d.L1TTriggerTowerConfig.minEta = cms.double(minEta)
29 parameters_towers_2d.L1TTriggerTowerConfig.maxEta = cms.double(maxEta)
30 parameters_towers_2d.L1TTriggerTowerConfig.minPhi = cms.double(minPhi)
31 parameters_towers_2d.L1TTriggerTowerConfig.maxPhi = cms.double(maxPhi)
32 parameters_towers_2d.L1TTriggerTowerConfig.nBinsEta = cms.int32(nBinsEta)
33 parameters_towers_2d.L1TTriggerTowerConfig.nBinsPhi = cms.int32(nBinsPhi)
34 parameters_towers_2d.L1TTriggerTowerConfig.binsEta = cms.vdouble(binsEta)
35 parameters_towers_2d.L1TTriggerTowerConfig.binsPhi = cms.vdouble(binsPhi)
40 towermapping=
'L1Trigger/L1THGCal/data/tower_mapping_hgcroc_eta-phi_v3.txt',
48 parameters_towers_2d = process.hgcalTowerMapProducer.ProcessorParameters.towermap_parameters
49 parameters_towers_2d.L1TTriggerTowerConfig.readMappingFile = cms.bool(
True)
50 parameters_towers_2d.L1TTriggerTowerConfig.L1TTriggerTowerMapping = cms.FileInPath(towermapping)
51 parameters_towers_2d.L1TTriggerTowerConfig.minEta = cms.double(minEta)
52 parameters_towers_2d.L1TTriggerTowerConfig.maxEta = cms.double(maxEta)
53 parameters_towers_2d.L1TTriggerTowerConfig.minPhi = cms.double(minPhi)
54 parameters_towers_2d.L1TTriggerTowerConfig.maxPhi = cms.double(maxPhi)
55 parameters_towers_2d.L1TTriggerTowerConfig.nBinsEta = cms.int32(nBinsEta)
56 parameters_towers_2d.L1TTriggerTowerConfig.nBinsPhi = cms.int32(nBinsPhi)
61 towermapping=
'L1Trigger/L1THGCal/data/tower_mapping_hgcroc_eta-phi_v3.txt',
81 towermapping=
'L1Trigger/L1THGCal/data/tower_mapping_wafer_eta-phi_v3.txt',
def custom_tower_map_wafer
def custom_towers_unclustered_tc
def custom_tower_map_hgcroc