Skip to content

Commit 0174bdc

Browse files
authored
[PWGHF] taskCharmPolarisation: Fill the THsparse when not apply rotation background (#15935)
1 parent e1d7802 commit 0174bdc

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

PWGHF/D2H/Tasks/taskCharmPolarisation.cxx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1626,6 +1626,9 @@ struct HfTaskCharmPolarisation {
16261626
}
16271627
} else {
16281628
registry.fill(HIST("hEP"), invMassCharmHad, ptCharmHad, numPvContributors, std::abs(rapCharmHad), invMassD0, cosThetaStar, outputMl[0], /*outputMl[1],*/ outputMl[2], absEtaMin, numItsClsMin, numTpcClsMin, centrality);
1629+
if (activateTHnSparsePhiAndCosSqStarEP && ptCharmHad > ptMinCosPhiCosSqTheta) {
1630+
registry.fill(HIST("hCosPhiCosSqThetaEP"), invMassCharmHad, ptCharmHad, std::abs(rapCharmHad), std::cos(2 * phiEuler), cosThetaStar * cosThetaStar, outputMl[0], /*outputMl[1],*/ outputMl[2], centrality);
1631+
}
16291632
}
16301633
} else {
16311634
if (nBkgRotations > 0) {
@@ -1635,6 +1638,9 @@ struct HfTaskCharmPolarisation {
16351638
}
16361639
} else {
16371640
registry.fill(HIST("hEP"), invMassCharmHad, ptCharmHad, numPvContributors, std::abs(rapCharmHad), invMassD0, cosThetaStar, outputMl[0], /*outputMl[1],*/ outputMl[2], centrality);
1641+
if (activateTHnSparsePhiAndCosSqStarEP && ptCharmHad > ptMinCosPhiCosSqTheta) {
1642+
registry.fill(HIST("hCosPhiCosSqThetaEP"), invMassCharmHad, ptCharmHad, std::abs(rapCharmHad), std::cos(2 * phiEuler), cosThetaStar * cosThetaStar, outputMl[0], /*outputMl[1],*/ outputMl[2], centrality);
1643+
}
16381644
}
16391645
}
16401646
}

0 commit comments

Comments
 (0)