Commit fda4bbe7 authored by Jens Kroeger's avatar Jens Kroeger
Browse files

AnalysisTimingATLASpix: if using mean (not gaussian) for the timewalk...

AnalysisTimingATLASpix: if using mean (not gaussian) for the timewalk correction, take RMS as error (was zero)

(cherry picked from commit a44174df)
parent 6cea616c
......@@ -813,7 +813,7 @@ void AnalysisTimingATLASpix::finalise() {
// if(hTemp->GetEntries() < 500) { // too few entries to fit
if(hTemp->GetEntries() < 1000) { // too few entries to fit
timePeak = hTemp->GetMean();
timePeakErr = 0; // hTemp->GetStdDev();
timePeakErr = hTemp->GetStdDev();
delete hTemp;
} else {
binMax = hTemp->GetMaximumBin();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment