Skip to content

Commit 41834a9

Browse files
committed
misunderstood review comment, now it should be better
1 parent 8084829 commit 41834a9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

RecoLocalCalo/HGCalRecProducers/plugins/HGCalCLUEAlgo.cc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,7 @@ void HGCalCLUEAlgoT<T>::populate(const HGCRecHitCollection& hits) {
4747
thickness_index = maxNumberOfThickIndices_;
4848

4949
double storedThreshold = thresholds_[layerOnSide][thickness_index];
50-
if (detid.subdetId() == HGCEE) {
51-
storedThreshold = thresholds_[layerOnSide][thickness_index];
52-
} else if (detid.subdetId() == HGCHEF) {
50+
if ( detid.det() == DetId::HGCalHSi || detid.subdetId() == HGCHEF ) {
5351
storedThreshold = thresholds_[layerOnSide][thickness_index + deltasi_index_regemfac_];
5452
}
5553
sigmaNoise = v_sigmaNoise_[layerOnSide][thickness_index];

0 commit comments

Comments
 (0)