Skip to content

Commit

Permalink
Set member data in GEMClusterProcessor
Browse files Browse the repository at this point in the history
UBSAN found hasGE21Geometry16Partitions_ was being read in cases
where it was never explicitly set.
  • Loading branch information
Dr15Jones committed Nov 4, 2022
1 parent b06daff commit 364cac8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion L1Trigger/CSCTriggerPrimitives/src/GEMClusterProcessor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@
#include <iostream>

GEMClusterProcessor::GEMClusterProcessor(int region, unsigned station, unsigned chamber, const edm::ParameterSet& conf)
: region_(region), station_(station), chamber_(chamber) {
: region_(region),
station_(station),
chamber_(chamber),
hasGE21Geometry16Partitions_(false),
lookupTableME11ILT_(nullptr),
lookupTableME21ILT_(nullptr) {
isEven_ = chamber_ % 2 == 0;

const edm::ParameterSet aux(conf.getParameter<edm::ParameterSet>("commonParam"));
Expand Down

0 comments on commit 364cac8

Please sign in to comment.