Skip to content

Commit 2b55ba4

Browse files
authored
Fix range setting for hSigmaVsPt histogram
1 parent 0b01ecd commit 2b55ba4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Detectors/Upgrades/ALICE3/TRK/macros/test/CheckTracksCA.C

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ void CheckTracksCA(std::string trackfile = "o2trac_trk.root",
465465
hSigmaVsPt = dynamic_cast<TH1D*>(fitSlices.At(2)->Clone("hSigmaVsPt"));
466466
if (hSigmaVsPt) {
467467
hSigmaVsPt->SetTitle("#sigma(p_{T} resolution) vs p_{T}; p_{T}^{MC} [GeV/c]; #sigma");
468-
hSigmaVsPt->GetXaxis()->SetRangeUser(0.5., *maxpT);
468+
hSigmaVsPt->GetXaxis()->SetRangeUser(0.5, *maxpT);
469469
}
470470
}
471471

@@ -645,4 +645,4 @@ void setAutoXRange(TH1* h, RangeMode mode,
645645
last = std::min(nBins, last + marginBins);
646646

647647
h->GetXaxis()->SetRange(first, last);
648-
}
648+
}

0 commit comments

Comments
 (0)