Skip to content

Commit

Permalink
added back the code which was mistakenly deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Jan 10, 2023
1 parent d706b4e commit 24ee074
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Validation/HcalRecHits/src/HcalRecHitsValidation.cc
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ void HcalRecHitsValidation::analyze(edm::Event const &ev, edm::EventSetup const
}
nrechitsCone++;

HcalCone += en;
// alternative: ietamax -> closest to MC eta !!!
float eta_diff = fabs(eta_MC - eta);
if (eta_diff < etaMax) {
Expand Down

0 comments on commit 24ee074

Please sign in to comment.