Skip to content
Snippets Groups Projects
Commit 6736edb2 authored by Eric Torrence's avatar Eric Torrence
Browse files

Waveform raw integral bug

parent 096efe86
No related branches found
No related tags found
No related merge requests found
......@@ -456,7 +456,7 @@ WaveformReconstructionTool::findRawHitValues(const std::vector<float> time, cons
rfit.mean = sum/tot;
rfit.sigma = std::sqrt(sum2/tot - rfit.mean*rfit.mean);
rfit.peak = *peakloc;
rfit.integral = tot;
rfit.integral = 2*tot; // Factor of 2 because at 500 MHz, dt = 2 ns
rfit.time = rfit.mean;
ATH_MSG_DEBUG( "Initial Mean: " << rfit.mean << " RMS: " << rfit.sigma << " Peak: " << rfit.peak);
......
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