@@ -1355,7 +1355,7 @@ struct Phik0shortanalysis {
13551355 for (const auto & mcParticle : mcParticlesThisColl) {
13561356 if (mcParticle.pdgCode () != 333 )
13571357 continue ;
1358- if (std::abs (mcParticle.y ()) > cfgYAcceptance)
1358+ if (std::abs (mcParticle.y ()) > cfgYAcceptance || mcParticle. pt () < minPhiPt )
13591359 continue ;
13601360
13611361 if (!isCountedMCPhi.at (0 )) {
@@ -1436,7 +1436,7 @@ struct Phik0shortanalysis {
14361436 for (const auto & mcParticle : mcParticlesThisColl) {
14371437 if (mcParticle.pdgCode () != 333 )
14381438 continue ;
1439- if (std::abs (mcParticle.y ()) > cfgYAcceptance)
1439+ if (std::abs (mcParticle.y ()) > cfgYAcceptance || mcParticle. pt () < minPhiPt )
14401440 continue ;
14411441
14421442 if (!isCountedMCPhi.at (0 )) {
@@ -1467,7 +1467,7 @@ struct Phik0shortanalysis {
14671467 for (const auto & mcParticle : mcParticlesThisColl) {
14681468 if (mcParticle.pdgCode () != 333 )
14691469 continue ;
1470- if (std::abs (mcParticle.y ()) > cfgYAcceptance)
1470+ if (std::abs (mcParticle.y ()) > cfgYAcceptance || mcParticle. pt () < minPhiPt )
14711471 continue ;
14721472
14731473 if (!isCountedMCPhi.at (0 )) {
@@ -2022,7 +2022,7 @@ struct Phik0shortanalysis {
20222022 for (const auto & mcParticle1 : mcParticles) {
20232023 if (mcParticle1.pdgCode () != 310 )
20242024 continue ;
2025- if (!mcParticle1.isPhysicalPrimary ())
2025+ if (!mcParticle1.isPhysicalPrimary () || mcParticle1. pt () < v0Configs. v0SettingMinPt )
20262026 continue ;
20272027
20282028 mcK0SHist.fill (HIST (" h3K0SRapidityGenMC" ), genmultiplicity, mcParticle1.pt (), mcParticle1.y ());
@@ -2053,6 +2053,8 @@ struct Phik0shortanalysis {
20532053 if (!isPosKaon || !isNegKaon)
20542054 continue ;
20552055 }
2056+ if (mcParticle2.pt () < minPhiPt)
2057+ continue ;
20562058
20572059 if (std::abs (mcParticle2.y ()) > cfgYAcceptance)
20582060 continue ;
@@ -2105,7 +2107,7 @@ struct Phik0shortanalysis {
21052107 for (const auto & mcParticle1 : mcParticles) {
21062108 if (std::abs (mcParticle1.pdgCode ()) != 211 )
21072109 continue ;
2108- if (!mcParticle1.isPhysicalPrimary ())
2110+ if (!mcParticle1.isPhysicalPrimary () || mcParticle1. pt () < trackConfigs. cMinPionPtcut )
21092111 continue ;
21102112
21112113 mcPionHist.fill (HIST (" h3PiRapidityGenMC" ), genmultiplicity, mcParticle1.pt (), mcParticle1.y ());
@@ -2136,6 +2138,8 @@ struct Phik0shortanalysis {
21362138 if (!isPosKaon || !isNegKaon)
21372139 continue ;
21382140 }
2141+ if (mcParticle2.pt () < minPhiPt)
2142+ continue ;
21392143
21402144 if (std::abs (mcParticle2.y ()) > cfgYAcceptance)
21412145 continue ;
0 commit comments