Skip to content

Commit

Permalink
Hard coded TString Size to fix MacOS CI problem.
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximilian Horst committed Jul 4, 2024
1 parent e58607a commit 4d98299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/TPC/src/PID.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ void PID::endOfCycle()
// Fit the histogram with the fitting function
hist->Fit(fitFunc.get(), "QRN");

const TString binLabels[nPars] = { "Amplitude Pi", "Mean Pi", "Sigma Pi", "Amplitude El", "Mean El", "Sigma El", "Separation Power", "chiSquare/ndf" };
const TString binLabels[8] = { "Amplitude Pi", "Mean Pi", "Sigma Pi", "Amplitude El", "Mean El", "Sigma El", "Separation Power", "chiSquare/ndf" };

for (int iPar = 0; iPar < nPars - 2; iPar++) {
pSeparationPower->GetXaxis()->SetBinLabel(iPar + 1, binLabels[iPar]);
Expand Down

0 comments on commit 4d98299

Please sign in to comment.