Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
d67431d1
Commit
d67431d1
authored
Mar 06, 2020
by
Jens Kroeger
Browse files
AnalysisTimingATLASpix: if not enough statistics for gaussian fit, use mean of temp histogram
parent
6e07dd0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/modules/AnalysisTimingATLASpix/AnalysisTimingATLASpix.cpp
View file @
d67431d1
...
...
@@ -679,10 +679,9 @@ 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();
delete
hTemp
;
timePeak
=
0
;
timePeakErr
=
0
;
continue
;
}
else
{
binMax
=
hTemp
->
GetMaximumBin
();
timePeak
=
hTemp
->
GetXaxis
()
->
GetBinCenter
(
binMax
);
...
...
Jens Kroeger
@jekroege
mentioned in commit
d2f617f4
·
Jun 18, 2020
mentioned in commit
d2f617f4
mentioned in commit d2f617f497dc87745a2e800f7d38e5e75056b534
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment