Skip to content

Commit

Permalink
Merge pull request #39805 from ravindkv/Duplicate_GsfElectron
Browse files Browse the repository at this point in the history
duplicated hcalDepthTowerSumEt in GsfElectron.h
  • Loading branch information
cmsbuild authored Oct 27, 2022
2 parents e58106d + 733ed55 commit dc1d492
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DataFormats/EgammaCandidates/interface/GsfElectron.h
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ namespace reco {
float hcalTowerSumEt(const IsolationVariables &iv, int depth) const {
if (iv.pre7DepthHcal) {
if (depth == 0)
return iv.hcalDepth1TowerSumEt + iv.hcalDepth1TowerSumEt;
return iv.hcalDepth1TowerSumEt + iv.hcalDepth2TowerSumEt;
else if (depth == 1)
return iv.hcalDepth1TowerSumEt;
else if (depth == 2)
Expand All @@ -577,7 +577,7 @@ namespace reco {
float hcalTowerSumEtBc(const IsolationVariables &iv, int depth) const {
if (iv.pre7DepthHcal) {
if (depth == 0)
return iv.hcalDepth1TowerSumEtBc + iv.hcalDepth1TowerSumEtBc;
return iv.hcalDepth1TowerSumEtBc + iv.hcalDepth2TowerSumEtBc;
else if (depth == 1)
return iv.hcalDepth1TowerSumEtBc;
else if (depth == 2)
Expand Down

0 comments on commit dc1d492

Please sign in to comment.