Skip to content

Commit 644e97e

Browse files
committed
fixing histo axis grammar
1 parent f5f7fbb commit 644e97e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎PWGHF/TableProducer/candidateCreatorXicToXiPiPi.cxx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1093,7 +1093,7 @@ struct HfCandidateCreatorXicToXiPiPiExpressions {
10931093
registry.add("hDecayedPions", "hDecayedPions", {HistType::kTH1F, {{5, -0.5, 4.5}}});
10941094
registry.add("hInteractionsWithMaterial", "hInteractionsWithMaterial", {HistType::kTH1F, {{6, -0.5, 5.5}}});
10951095
registry.add("hDebugRec", "hDebugRec", {HistType::kTH1F, {{4, -0.5, 3.5}}});
1096-
registry.add("hy_pt_gen","Generated MC",{HistType::kTH2F,{{40,2.3,2.7,200,0,20}}});
1096+
registry.add("hy_pt_gen","Generated MC",{HistType::kTH2F,{{40,2.3,2.7},{200,0,20}}});
10971097
registry.get<TH1>(HIST("hDebugRec"))->GetXaxis()->SetBinLabel(1 + TotalRec, "total");
10981098
registry.get<TH1>(HIST("hDebugRec"))->GetXaxis()->SetBinLabel(1 + XicToFinalState, "#Xi^{+}_{c} #rightarrow #pi^{#plus} #pi^{#plus} #pi^{#minus} p #pi^{#minus}");
10991099
registry.get<TH1>(HIST("hDebugRec"))->GetXaxis()->SetBinLabel(1 + XiToPiPPi, "#Xi^{#minus} #rightarrow #pi^{#minus} p #pi^{#minus}");

‎PWGHF/TableProducer/candidateSelectorXicToXiPiPi.cxx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ struct HfCandidateSelectorXicToXiPiPi {
246246
registry.add("hNCrossedRowsTpcV0PosDauRecBkg", "Reconstructed background;#it{N}_{rows}^{TPC} (V0 pos. dau.);entries", {HistType::kTH1F, {{103, 49.5, 152.5}}});
247247
registry.add("hNCrossedRowsTpcV0NegDauRecBkg", "Reconstructed background;#it{N}_{rows}^{TPC} (V0 neg. dau.);entries", {HistType::kTH1F, {{103, 49.5, 152.5}}});
248248
///reconstructed MC
249-
registry.add("hmass_pt_reco_truth","Reconstructed truth matching MC;inv.mass(#Xi#pi#pi) [GeV/c^{2}];p_{T} [GeV/c]",{HistType::kTH2F,{{40,2.3,2.7,200,0,20}}});
249+
registry.add("hmass_pt_reco_truth","Reconstructed truth matching MC;inv.mass(#Xi#pi#pi) [GeV/c^{2}];p_{T} [GeV/c]",{HistType::kTH2F,{{40,2.3,2.7},{200,0,20}}});
250250
}
251251
}
252252

@@ -643,6 +643,7 @@ struct HfCandidateSelectorXicToXiPiPi {
643643
if constexpr (IsMc) {
644644
if (isMatchedSignal) {
645645
registry.fill(HIST("hSelCandidatesRecSig"), PidSelected);
646+
registry.fill(HIST("hmass_pt_reco_truth"),hfCandXic.invMassXicPlus(),hfCandXic.pt());
646647
} else {
647648
registry.fill(HIST("hSelCandidatesRecBkg"), PidSelected);
648649
}
@@ -653,7 +654,6 @@ struct HfCandidateSelectorXicToXiPiPi {
653654
if constexpr (IsMc) {
654655
if (isMatchedSignal) {
655656
registry.fill(HIST("hSelCandidatesRecSig"), PidSelected);
656-
registry.fill(HIST("hmass_pt_reco_truth"),hfCandXic.invMassXicPlus(),hfCandXic.pt());
657657
} else {
658658
registry.fill(HIST("hSelCandidatesRecBkg"), PidSelected);
659659
}

0 commit comments

Comments
 (0)