We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8084829 commit 41834a9Copy full SHA for 41834a9
RecoLocalCalo/HGCalRecProducers/plugins/HGCalCLUEAlgo.cc
@@ -47,9 +47,7 @@ void HGCalCLUEAlgoT<T>::populate(const HGCRecHitCollection& hits) {
47
thickness_index = maxNumberOfThickIndices_;
48
49
double storedThreshold = thresholds_[layerOnSide][thickness_index];
50
- if (detid.subdetId() == HGCEE) {
51
- storedThreshold = thresholds_[layerOnSide][thickness_index];
52
- } else if (detid.subdetId() == HGCHEF) {
+ if ( detid.det() == DetId::HGCalHSi || detid.subdetId() == HGCHEF ) {
53
storedThreshold = thresholds_[layerOnSide][thickness_index + deltasi_index_regemfac_];
54
}
55
sigmaNoise = v_sigmaNoise_[layerOnSide][thickness_index];
0 commit comments