Skip to content

Commit c3af594

Browse files
authored
Update
1 parent dd3c3bf commit c3af594

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

ALICE3/TableProducer/OTF/onTheFlyTOFPID.cxx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -209,27 +209,27 @@ struct OnTheFlyTofPid {
209209
h2dOuterTimeResTrack[i_true] = histos.add<TH2>(nameTitleOuterTrackRes.c_str(), nameTitleOuterTrackRes.c_str(), kTH2F, {axisMomentum, axisTrackTimeRes});
210210
h2dOuterTimeResTotal[i_true] = histos.add<TH2>(nameTitleOuterTotalRes.c_str(), nameTitleOuterTotalRes.c_str(), kTH2F, {axisMomentum, axisTotalTimeRes});
211211
for (int i_hyp = 0; i_hyp < kParticles; i_hyp++) {
212-
std::string nameTitle = "h2dInnerNsigmaTrue" + particleNames2[i_true] + "Vs" + particleNames2[i_hyp] + "Hypothesis";
212+
std::string nameTitleInner = "h2dInnerNsigmaTrue" + particleNames2[i_true] + "Vs" + particleNames2[i_hyp] + "Hypothesis";
213213
std::string nameTitleOuter = "h2dOuterNsigmaTrue" + particleNames2[i_true] + "Vs" + particleNames2[i_hyp] + "Hypothesis";
214-
std::string nameTitle_delta = "h2dInnerDeltaTrue" + particleNames2[i_true] + "Vs" + particleNames2[i_hyp] + "Hypothesis";
215-
std::string nameTitleOuter_delta = "h2dOuterDeltaTrue" + particleNames2[i_true] + "Vs" + particleNames2[i_hyp] + "Hypothesis";
214+
std::string nameTitleInnerDelta = "h2dInnerDeltaTrue" + particleNames2[i_true] + "Vs" + particleNames2[i_hyp] + "Hypothesis";
215+
std::string nameTitleOuterDelta = "h2dOuterDeltaTrue" + particleNames2[i_true] + "Vs" + particleNames2[i_hyp] + "Hypothesis";
216216
const AxisSpec axisX{plotsConfig.doSeparationVsPt.value ? axisPt : axisMomentum};
217217
if (i_true == i_hyp) {
218218
const AxisSpec axisNsigmaCorrect{static_cast<int>(plotsConfig.nBinsNsigmaCorrectSpecies), plotsConfig.minNsigmaRange, plotsConfig.maxNsigmaRange, "N#sigma - True " + particleNames[i_true] + " vs " + particleNames[i_hyp] + " hypothesis"};
219-
h2dInnerNsigmaTrue[i_true][i_hyp] = histos.add<TH2>(nameTitle.c_str(), nameTitle.c_str(), kTH2F, {axisX, axisNsigmaCorrect});
219+
h2dInnerNsigmaTrue[i_true][i_hyp] = histos.add<TH2>(nameTitleInner.c_str(), nameTitleInner.c_str(), kTH2F, {axisX, axisNsigmaCorrect});
220220
h2dOuterNsigmaTrue[i_true][i_hyp] = histos.add<TH2>(nameTitleOuter.c_str(), nameTitleOuter.c_str(), kTH2F, {axisX, axisNsigmaCorrect});
221221

222222
const AxisSpec axisDeltaCorrect{static_cast<int>(plotsConfig.nBinsDeltaCorrectSpecies), plotsConfig.minDeltaRange, plotsConfig.maxDeltaRange, "#Delta - True " + particleNames[i_true] + " vs " + particleNames[i_hyp] + " hypothesis"};
223-
h2dInnerDeltaTrue[i_true][i_hyp] = histos.add<TH2>(nameTitle_delta.c_str(), nameTitle_delta.c_str(), kTH2F, {axisX, axisDeltaCorrect});
224-
h2dOuterDeltaTrue[i_true][i_hyp] = histos.add<TH2>(nameTitleOuter_delta.c_str(), nameTitleOuter_delta.c_str(), kTH2F, {axisX, axisDeltaCorrect});
223+
h2dInnerDeltaTrue[i_true][i_hyp] = histos.add<TH2>(nameTitleInnerDelta.c_str(), nameTitleInnerDelta.c_str(), kTH2F, {axisX, axisDeltaCorrect});
224+
h2dOuterDeltaTrue[i_true][i_hyp] = histos.add<TH2>(nameTitleOuterDelta.c_str(), nameTitleOuterDelta.c_str(), kTH2F, {axisX, axisDeltaCorrect});
225225
} else {
226226
const AxisSpec axisNsigmaWrong{static_cast<int>(plotsConfig.nBinsNsigmaWrongSpecies), plotsConfig.minNsigmaRange, plotsConfig.maxNsigmaRange, "N#sigma - True " + particleNames[i_true] + " vs " + particleNames[i_hyp] + " hypothesis"};
227-
h2dInnerNsigmaTrue[i_true][i_hyp] = histos.add<TH2>(nameTitle.c_str(), nameTitle.c_str(), kTH2F, {axisX, axisNsigmaWrong});
227+
h2dInnerNsigmaTrue[i_true][i_hyp] = histos.add<TH2>(nameTitleInner.c_str(), nameTitleInner.c_str(), kTH2F, {axisX, axisNsigmaWrong});
228228
h2dOuterNsigmaTrue[i_true][i_hyp] = histos.add<TH2>(nameTitleOuter.c_str(), nameTitleOuter.c_str(), kTH2F, {axisX, axisNsigmaWrong});
229229

230230
const AxisSpec axisDeltaWrong{static_cast<int>(plotsConfig.nBinsDeltaWrongSpecies), plotsConfig.minDeltaRange, plotsConfig.maxDeltaRange, "#Delta - True " + particleNames[i_true] + " vs " + particleNames[i_hyp] + " hypothesis"};
231-
h2dInnerDeltaTrue[i_true][i_hyp] = histos.add<TH2>(nameTitle_delta.c_str(), nameTitle_delta.c_str(), kTH2F, {axisX, axisDeltaWrong});
232-
h2dOuterDeltaTrue[i_true][i_hyp] = histos.add<TH2>(nameTitleOuter_delta.c_str(), nameTitleOuter_delta.c_str(), kTH2F, {axisX, axisDeltaWrong});
231+
h2dInnerDeltaTrue[i_true][i_hyp] = histos.add<TH2>(nameTitleInnerDelta.c_str(), nameTitleInnerDelta.c_str(), kTH2F, {axisX, axisDeltaWrong});
232+
h2dOuterDeltaTrue[i_true][i_hyp] = histos.add<TH2>(nameTitleOuterDelta.c_str(), nameTitleOuterDelta.c_str(), kTH2F, {axisX, axisDeltaWrong});
233233
}
234234
}
235235
}

0 commit comments

Comments
 (0)