Skip to content

Commit e6a6ace

Browse files
authored
PWGHF: Fix typo (#1015)
1 parent fcd4dfe commit e6a6ace

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

PWGHF/Tasks/HFMCValidation.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,13 +242,13 @@ struct ValidationRecLevel {
242242
std::array<std::shared_ptr<TH1>, nCharmHadrons> histDeltaPt, histDeltaPx, histDeltaPy, histDeltaPz, histDeltaSecondaryVertexX, histDeltaSecondaryVertexY, histDeltaSecondaryVertexZ, histDeltaDecayLength;
243243
std::array<std::array<std::array<std::shared_ptr<TH1>, 3>, 2>, nCharmHadrons> histPtDau, histEtaDau, histImpactParameterDau;
244244
std::array<std::array<std::shared_ptr<TH1>, 2>, nCharmHadrons> histPtReco;
245-
std::array<std::shared_ptr<TH1>, 2> histOriginTracks;
245+
std::array<std::shared_ptr<TH2>, 2> histOriginTracks;
246246

247247
HistogramRegistry registry{"registry", {}};
248248
void init(o2::framework::InitContext&)
249249
{
250-
histOriginTracks[0] = registry.add<TH1>("histOriginNonAssociatedTracks", ";origin;#it{p}_{T}^{reco} (GeV/#it{c})", HistType::kTH2F, {{4, -1.5, 2.5}, {50, 0., 10.}});
251-
histOriginTracks[1] = registry.add<TH1>("histOriginAssociatedTracks", ";origin;#it{p}_{T}^{reco} (GeV/#it{c})", HistType::kTH2F, {{4, -1.5, 2.5}, {50, 0., 10.}});
250+
histOriginTracks[0] = registry.add<TH2>("histOriginNonAssociatedTracks", ";origin;#it{p}_{T}^{reco} (GeV/#it{c})", HistType::kTH2F, {{4, -1.5, 2.5}, {50, 0., 10.}});
251+
histOriginTracks[1] = registry.add<TH2>("histOriginAssociatedTracks", ";origin;#it{p}_{T}^{reco} (GeV/#it{c})", HistType::kTH2F, {{4, -1.5, 2.5}, {50, 0., 10.}});
252252
for (std::size_t iHist{0}; iHist < histOriginTracks.size(); ++iHist) {
253253
histOriginTracks[iHist]->GetXaxis()->SetBinLabel(1, "no MC particle");
254254
histOriginTracks[iHist]->GetXaxis()->SetBinLabel(2, "no quark");

0 commit comments

Comments
 (0)