We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4e0817 commit b3b5051Copy full SHA for b3b5051
1 file changed
PWGLF/Tasks/Strangeness/phik0shortanalysis.cxx
@@ -1389,16 +1389,16 @@ struct Phik0shortanalysis {
1389
if (!selectionPion<false, true>(track, false))
1390
continue;
1391
1392
- if (std::abs(mcTrack.y()) > cfgYAcceptance)
1393
- continue;
1394
-
1395
if (!track.has_mcParticle())
1396
1397
1398
auto mcTrack = track.mcParticle_as<aod::McParticles>();
1399
if (std::abs(mcTrack.pdgCode()) != 211)
1400
1401
+ if (std::abs(mcTrack.y()) > cfgYAcceptance)
+ continue;
+
1402
// Primary pion selection
1403
if (mcTrack.isPhysicalPrimary()) {
1404
0 commit comments