Skip to content

Commit fb51c55

Browse files
authored
[PWGHF] taskCharmPolarisation: Fix THnSparseCosThStarEP axis configuration (#15963)
1 parent 0f8720a commit fb51c55

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PWGHF/D2H/Tasks/taskCharmPolarisation.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,8 +794,8 @@ struct HfTaskCharmPolarisation {
794794
LOGP(fatal, "THnSparse with cosThStar w.r.t. event plane axis is not supported for pp analysis, please check the configuration!");
795795
} else if (activateTHnSparseCosThStarEP) {
796796
std::vector<AxisSpec> hEPaxes = {thnAxisInvMass, thnAxisPt, thnAxisNumPvContributors, thnAxisY};
797+
hEPaxes.insert(hEPaxes.end(), {thnAxisInvMassD0, thnAxisCosThetaStarEP});
797798
if (doprocessDstarInPbPb || doprocessDstarWithMlInPbPb) {
798-
hEPaxes.insert(hEPaxes.end(), {thnAxisInvMassD0, thnAxisCosThetaStarEP});
799799
if (doprocessDstarWithMlInPbPb) {
800800
hEPaxes.insert(hEPaxes.end(), {thnAxisMlBkg, thnAxisMlNonPrompt});
801801
}

0 commit comments

Comments
 (0)