Skip to content

Commit

Permalink
duplicated hcalDepthTowerSumEt in GsfElectron.h
Browse files Browse the repository at this point in the history
  • Loading branch information
ravindkv committed Oct 20, 2022
1 parent 18de8e7 commit 733ed55
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 733ed55

Please sign in to comment.