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

Merge branch 'recodev' into 'master'

Waveform raw integral bug

See merge request faser/calypso!166
parents 096efe86 6736edb2
Branches
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.
Please register or to comment