From 13f947c0b795396e8c6b83976e2e01405f89e18a Mon Sep 17 00:00:00 2001 From: Andrea Bocci Date: Tue, 21 Jul 2020 15:48:57 +0200 Subject: [PATCH] Configure the number of ECAL barrel and endcap channels separately (cms-patatrack#517) Fix memory allocation issues. Apply come code clean up: - remove outdated comments; - replace MYMALLOC macro with a lambda; - reuse named values from EcalDataFrame. --- HLTrigger/Configuration/python/customizeHLTforPatatrack.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/HLTrigger/Configuration/python/customizeHLTforPatatrack.py b/HLTrigger/Configuration/python/customizeHLTforPatatrack.py index e9fb8b077e4d8..53131249e57ad 100644 --- a/HLTrigger/Configuration/python/customizeHLTforPatatrack.py +++ b/HLTrigger/Configuration/python/customizeHLTforPatatrack.py @@ -338,7 +338,8 @@ def customise_gpu_ecal(process): ), digisLabelEB = cms.string("ebDigis"), digisLabelEE = cms.string("eeDigis"), - maxChannels = cms.uint32(20000) + maxChannelsEB = cms.uint32(61200), + maxChannelsEE = cms.uint32(14648), ) process.hltEcalDigis = cms.EDProducer("EcalCPUDigisProducer", @@ -378,7 +379,8 @@ def customise_gpu_ecal(process): uncalibrecHitsInLabelEE = cms.InputTag("hltEcalUncalibRecHitGPU","EcalUncalibRecHitsEE"), recHitsLabelEB = cms.string("EcalRecHitsEB"), recHitsLabelEE = cms.string("EcalRecHitsEE"), - maxNumberHits = cms.uint32(20000), + maxNumberHitsEB = cms.uint32(61200), + maxNumberHitsEE = cms.uint32(14648), ChannelStatusToBeExcluded = cms.vstring( "kDAC", "kNoisy",