Skip to content
Snippets Groups Projects
Commit 7a44f11e authored by Viktor Klochkov's avatar Viktor Klochkov :eyes:
Browse files

Merge branch 'bin_centering' into 'master'

use correct value along x-axis

See merge request !3
parents 49318391 cdcdb5ce
No related branches found
No related tags found
1 merge request!3use correct value along x-axis
Pipeline #16610 canceled
...@@ -26,7 +26,7 @@ void BordersFinder::FindBorders() { ...@@ -26,7 +26,7 @@ void BordersFinder::FindBorders() {
double *histIntegral = histo_.GetIntegral(); double *histIntegral = histo_.GetIntegral();
double x[n]; double x[n];
for (int i = 0; i < n; ++i) { for (int i = 0; i < n; ++i) {
x[i] = axis->GetBinCenter(i + 1); x[i] = axis->GetBinLowEdge(i + 1);
} }
TGraph intVsXGraph(n, x, histIntegral); TGraph intVsXGraph(n, x, histIntegral);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment