Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 5, 2024
1 parent 018d8a2 commit b589645
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/TRestDetectorSignal.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,9 @@ TRestDetectorSignal::GetPeakGauss() // returns a 2vector with the time of the p
h.SetBinContent(i + 1, GetData(i));
}

TFitResultPtr fitResult = h.Fit(&gauss, "QNRS"); // Q = quiet, no info in screen; N = no plot; R = fit in
// the function range; S = save and return the fit result
TFitResultPtr fitResult =
h.Fit(&gauss, "QNRS"); // Q = quiet, no info in screen; N = no plot; R = fit in
// the function range; S = save and return the fit result

if (!fitResult->IsValid()) {
return nullopt;
Expand Down

0 comments on commit b589645

Please sign in to comment.