Commit a44174df 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)
parent 3507b259
......@@ -800,7 +800,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