Skip to content

Commit 1835292

Browse files
authored
PWGHF: Fix filling of histograms in MC validation task (#6296)
1 parent d06efc9 commit 1835292

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PWGHF/Tasks/taskMcValidation.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ struct HfTaskMcValidationRec {
385385
Configurable<int> eventGeneratorType{"eventGeneratorType", -1, "If positive, enable event selection using subGeneratorId information. The value indicates which events to keep (0 = MB, 4 = charm triggered, 5 = beauty triggered)"};
386386

387387
std::array<std::shared_ptr<TH1>, nChannels> histDeltaPt, histDeltaPx, histDeltaPy, histDeltaPz, histDeltaSecondaryVertexX, histDeltaSecondaryVertexY, histDeltaSecondaryVertexZ, histDeltaDecayLength;
388-
std::array<std::array<std::array<std::shared_ptr<TH1>, 3>, 2>, nChannels> histPtDau, histEtaDau, histImpactParameterDau;
388+
std::array<std::array<std::array<std::shared_ptr<TH1>, 5>, 2>, nChannels> histPtDau, histEtaDau, histImpactParameterDau;
389389
std::array<std::array<std::shared_ptr<TH1>, 2>, nChannels> histPtReco;
390390
std::array<std::shared_ptr<THnSparse>, 4> histOriginTracks;
391391
std::shared_ptr<TH2> histAmbiguousTracks, histTracks;

0 commit comments

Comments
 (0)