Skip to content

Commit 88a1849

Browse files
committed
Add missing normalization histo for closure
1 parent ed0e19a commit 88a1849

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

PWGLF/Tasks/Strangeness/phiStrangeCorrelation.cxx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -967,6 +967,7 @@ struct PhiStrangenessCorrelation {
967967
return std::abs(mcParticle.y()) <= yConfigs.cfgYAcceptance;
968968
};
969969

970+
// Preliminary loop to fill vectors of particles of interest for the current event, applying pt and y cuts
970971
for (const auto& mcParticle : mcParticles) {
971972
if (!inYAcceptance(mcParticle))
972973
continue;
@@ -996,9 +997,12 @@ struct PhiStrangenessCorrelation {
996997
if (multBin < 0)
997998
return;
998999

1000+
// Same Event Correlations
9991001
std::vector<MiniParticle>* currentAssocParticles[] = {&k0sParticles, &pionParticles};
10001002

10011003
for (const auto& phiParticle : phiParticles) {
1004+
histos.fill(HIST("phi/h3PhiMCGen"), multiplicity, phiParticle.pt, phiParticle.y);
1005+
10021006
static_for<0, assocParticleLabels.size() - 1>([&](auto i_idx) {
10031007
constexpr unsigned int i = i_idx.value;
10041008

@@ -1011,6 +1015,7 @@ struct PhiStrangenessCorrelation {
10111015
});
10121016
}
10131017

1018+
// Mixed Event Correlations
10141019
for (const auto& pastEvent : eventBuffer[multBin]) {
10151020
const std::vector<MiniParticle>* pastAssocParticles[] = {&pastEvent.k0sParticles, &pastEvent.pionParticles};
10161021

0 commit comments

Comments
 (0)