Skip to content

Commit

Permalink
Configure the number of ECAL barrel and endcap channels separately (#517
Browse files Browse the repository at this point in the history
)

Fix memory allocation issues.

Apply come code clean up:
  - remove outdated comments;
  - replace MYMALLOC macro with a lambda;
  - reuse named values from EcalDataFrame.
  • Loading branch information
fwyzard committed Dec 26, 2020
1 parent a2ae18f commit 13f947c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions HLTrigger/Configuration/python/customizeHLTforPatatrack.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 13f947c

Please sign in to comment.