Skip to content

Commit

Permalink
Fix bug in electron energy correction uncertainties (#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
nshadskiy committed May 8, 2024
1 parent 7aefa7a commit e870781
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/physicsobjects.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1066,7 +1066,7 @@ PtCorrectionMC(ROOT::RDF::RNode df, const std::string &corrected_pt,
ROOT::RVec<float> corrected_pt_values(pt_values.size());
for (int i = 0; i < pt_values.size(); i++) {
if (variation == "resolutionUp") {
auto dpt = ES_sigma_down.at(i) / std::cosh(eta.at(i));
auto dpt = ES_sigma_up.at(i) / std::cosh(eta.at(i));
corrected_pt_values[i] = pt_values.at(i) + dpt;
Logger::get("eleEnergyCorrection")
->debug("ele pt before {}, ele pt after {}, dpt {}",
Expand Down

0 comments on commit e870781

Please sign in to comment.