Skip to content
Snippets Groups Projects
Commit 90b9829c authored by Moore's avatar Moore
Browse files

minor fixes to DetectorEfficiencyCorUser re #16612

parent 97f33126
No related branches found
No related tags found
No related merge requests found
......@@ -114,13 +114,11 @@ Histogram DetectorEfficiencyCorUser::applyDetEfficiency(
Histogram outHist(histogram);
auto &outY = outHist.mutableY();
auto &outX = outHist.mutableX();
auto &inY = histogram.y();
auto &inX = histogram.x();
auto &outE = outHist.mutableE();
for (unsigned int j = 0; j < nChans; ++j) {
outY[j] = inY[j] / effVec[j];
outX[j] = inX[j] / effVec[j];
outY[j] /= effVec[j];
outE[j] /= effVec[j];
}
return outHist;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment