Skip to content

Commit

Permalink
Fix Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
JPorron committed Apr 16, 2024
1 parent df3eb05 commit 39b11bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/framework/analysis/src/TRestDataSetCalibration.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ void TRestDataSetCalibration::Calibrate() {

if (fCalibFile.empty()) {
auto histo = dataSet.GetDataFrame().Histo1D(
{"spectrum", "spectrum", fNBins, fCalibRange.X(), fCalibRange.X()}, fCalObservable);
{"spectrum", "spectrum", fNBins, fCalibRange.X(), fCalibRange.Y()}, fCalObservable);
spectrum = std::unique_ptr<TH1F>(static_cast<TH1F*>(histo->DrawClone()));

// Get position of the maximum
Expand Down

0 comments on commit 39b11bb

Please sign in to comment.