@@ -514,7 +514,7 @@ struct Kstarqa {
514514 if (calcRotational && motherRot.Rapidity () < 0.5 )
515515 hInvMass.fill (HIST (" h3KstarInvMassRotated" ), multiplicity, motherRot.Pt (), motherRot.M (), cosThetaStarHelicityRot);
516516 }
517- } else if (std::abs (mother.Rapidity ()) < 0.5 ) {
517+ } else if (isMix && std::abs (mother.Rapidity ()) < 0.5 ) {
518518 hInvMass.fill (HIST (" h3KstarInvMassMixed" ), multiplicity, mother.Pt (), mother.M (), cosThetaStarHelicity);
519519 }
520520 } else {
@@ -541,7 +541,7 @@ struct Kstarqa {
541541 if (calcRotational && abs (motherRot.Rapidity ()) < 0.5 )
542542 hInvMass.fill (HIST (" h3KstarInvMassRotated" ), multiplicity, motherRot.Pt (), motherRot.M (), cosThetaStarProduction);
543543 }
544- } else if (std::abs (mother.Rapidity ()) < 0.5 ) {
544+ } else if (isMix && std::abs (mother.Rapidity ()) < 0.5 ) {
545545 hInvMass.fill (HIST (" h3KstarInvMassMixed" ), multiplicity, mother.Pt (), mother.M (), cosThetaStarProduction);
546546 }
547547 } else {
@@ -567,7 +567,7 @@ struct Kstarqa {
567567 if (calcRotational && std::abs (motherRot.Rapidity ()) < 0.5 )
568568 hInvMass.fill (HIST (" h3KstarInvMassRotated" ), multiplicity, motherRot.Pt (), motherRot.M (), cosThetaStarBeam);
569569 }
570- } else if (std::abs (mother.Rapidity ()) < 0.5 ) {
570+ } else if (isMix && std::abs (mother.Rapidity ()) < 0.5 ) {
571571 hInvMass.fill (HIST (" h3KstarInvMassMixed" ), multiplicity, mother.Pt (), mother.M (), cosThetaStarBeam);
572572 }
573573 } else {
@@ -594,7 +594,7 @@ struct Kstarqa {
594594 if (calcRotational && std::abs (motherRot.Rapidity ()) < 0.5 )
595595 hInvMass.fill (HIST (" h3KstarInvMassRotated" ), multiplicity, motherRot.Pt (), motherRot.M (), cosThetaStarRandom);
596596 }
597- } else if (std::abs (mother.Rapidity ()) < 0.5 ) {
597+ } else if (isMix && std::abs (mother.Rapidity ()) < 0.5 ) {
598598 hInvMass.fill (HIST (" h3KstarInvMassMixed" ), multiplicity, mother.Pt (), mother.M (), cosThetaStarRandom);
599599 }
600600 } else {
0 commit comments