Skip to content

Commit 9bdcacd

Browse files
authored
[PWGLF] Corrected mass correlation plot (#10284)
1 parent f877b4b commit 9bdcacd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

PWGLF/Tasks/Resonances/higherMassResonances.cxx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,6 @@ struct HigherMassResonances {
360360

361361
if (config.qAv0) {
362362
rKzeroShort.fill(HIST("hMassK0Shortbefore"), candidate.mK0Short(), candidate.pt());
363-
rKzeroShort.fill(HIST("hMasscorrelationbefore"), candidate.mK0Short(), candidate.mK0Short());
364363
rKzeroShort.fill(HIST("hLT"), ctauK0s);
365364
rKzeroShort.fill(HIST("hDCAV0Daughters"), candidate.dcaV0daughters());
366365
rKzeroShort.fill(HIST("hV0CosPA"), candidate.v0cosPA());
@@ -731,6 +730,9 @@ struct HigherMassResonances {
731730
continue;
732731
}
733732

733+
if (config.qAv0) {
734+
rKzeroShort.fill(HIST("hMasscorrelationbefore"), v1.mK0Short(), v2.mK0Short());
735+
}
734736
allConditionsMet = 1;
735737
daughter1 = ROOT::Math::PxPyPzMVector(v1.px(), v1.py(), v1.pz(), o2::constants::physics::MassK0Short); // Kshort
736738

0 commit comments

Comments
 (0)