@@ -138,6 +138,9 @@ struct strangeness_in_jets {
138138 registryMC.add (" K0s_reconstructed" , " K0s_reconstructed" , HistType::kTH2F , {multBinning, {100 , 0.0 , 10.0 , " #it{p}_{T} (GeV/#it{c})" }});
139139 registryMC.add (" Lambda_reconstructed" , " Lambda_reconstructed" , HistType::kTH2F , {multBinning, {100 , 0.0 , 10.0 , " #it{p}_{T} (GeV/#it{c})" }});
140140 registryMC.add (" AntiLambda_reconstructed" , " AntiLambda_reconstructed" , HistType::kTH2F , {multBinning, {100 , 0.0 , 10.0 , " #it{p}_{T} (GeV/#it{c})" }});
141+ registryMC.add (" K0s_reconstructed_incl" , " K0s_reconstructed_incl" , HistType::kTH2F , {multBinning, {100 , 0.0 , 10.0 , " #it{p}_{T} (GeV/#it{c})" }});
142+ registryMC.add (" Lambda_reconstructed_incl" , " Lambda_reconstructed_incl" , HistType::kTH2F , {multBinning, {100 , 0.0 , 10.0 , " #it{p}_{T} (GeV/#it{c})" }});
143+ registryMC.add (" AntiLambda_reconstructed_incl" , " AntiLambda_reconstructed_incl" , HistType::kTH2F , {multBinning, {100 , 0.0 , 10.0 , " #it{p}_{T} (GeV/#it{c})" }});
141144
142145 // Histograms for reweighting
143146 registryMC.add (" K0s_eta_pt_jet" , " K0s_eta_pt_jet" , HistType::kTH2F , {{100 , 0.0 , 10.0 , " #it{p}_{T} (GeV/#it{c})" }, {18 , -0.9 , 0.9 , " #eta" }});
@@ -468,11 +471,6 @@ struct strangeness_in_jets {
468471
469472 for (auto track : tracks) {
470473
471- if (!track.passedITSRefit ())
472- continue ;
473- if (!track.passedTPCRefit ())
474- continue ;
475-
476474 int i = track.globalIndex ();
477475 if (!passedTrackSelectionForJets (track))
478476 continue ;
@@ -587,10 +585,6 @@ struct strangeness_in_jets {
587585
588586 const auto & pos = v0.posTrack_as <FullTracks>();
589587 const auto & neg = v0.negTrack_as <FullTracks>();
590- if (!pos.passedTPCRefit ())
591- continue ;
592- if (!neg.passedTPCRefit ())
593- continue ;
594588
595589 TVector3 v0dir (pos.px () + neg.px (), pos.py () + neg.py (), pos.pz () + neg.pz ());
596590
@@ -665,10 +659,6 @@ struct strangeness_in_jets {
665659
666660 const auto & pos = v0.posTrack_as <MCTracks>();
667661 const auto & neg = v0.negTrack_as <MCTracks>();
668- if (!pos.passedTPCRefit ())
669- continue ;
670- if (!neg.passedTPCRefit ())
671- continue ;
672662 if (!pos.has_mcParticle ())
673663 continue ;
674664 if (!neg.has_mcParticle ())
@@ -693,6 +683,17 @@ struct strangeness_in_jets {
693683 }
694684 if (pdg_parent == 0 )
695685 continue ;
686+
687+ // K0s
688+ if (passedK0ShortSelection (v0, pos, neg, collision) && pdg_parent == 310 ) {
689+ registryMC.fill (HIST (" K0s_reconstructed_incl" ), multiplicity, v0.pt ());
690+ }
691+ if (passedLambdaSelection (v0, pos, neg, collision) && pdg_parent == 3122 ) {
692+ registryMC.fill (HIST (" Lambda_reconstructed_incl" ), multiplicity, v0.pt ());
693+ }
694+ if (passedAntiLambdaSelection (v0, pos, neg, collision) && pdg_parent == -3122 ) {
695+ registryMC.fill (HIST (" AntiLambda_reconstructed_incl" ), multiplicity, v0.pt ());
696+ }
696697 if (!isPhysPrim)
697698 continue ;
698699
@@ -718,14 +719,17 @@ struct strangeness_in_jets {
718719 // K0s
719720 if (mcParticle.pdgCode () == 310 ) {
720721 registryMC.fill (HIST (" K0s_Generated" ), multiplicity, mcParticle.pt ());
722+ registryMC.fill (HIST (" K0s_eta_pt_pythia" ), mcParticle.pt (), mcParticle.eta ());
721723 }
722724 // Lambda
723725 if (mcParticle.pdgCode () == 3122 ) {
724726 registryMC.fill (HIST (" Lambda_Generated" ), multiplicity, mcParticle.pt ());
727+ registryMC.fill (HIST (" Lambda_eta_pt_pythia" ), mcParticle.pt (), mcParticle.eta ());
725728 }
726729 // AntiLambda
727730 if (mcParticle.pdgCode () == -3122 ) {
728731 registryMC.fill (HIST (" AntiLambda_Generated" ), multiplicity, mcParticle.pt ());
732+ registryMC.fill (HIST (" AntiLambda_eta_pt_pythia" ), mcParticle.pt (), mcParticle.eta ());
729733 }
730734 }
731735 }
@@ -753,18 +757,6 @@ struct strangeness_in_jets {
753757 // Global Index
754758 int i = particle.globalIndex ();
755759
756- if (particle.pdgCode () == 310 ) {
757- registryMC.fill (HIST (" K0s_eta_pt_pythia" ), particle.pt (), particle.eta ());
758- }
759-
760- if (particle.pdgCode () == 3122 ) {
761- registryMC.fill (HIST (" Lambda_eta_pt_pythia" ), particle.pt (), particle.eta ());
762- }
763-
764- if (particle.pdgCode () == -3122 ) {
765- registryMC.fill (HIST (" AntiLambda_eta_pt_pythia" ), particle.pt (), particle.eta ());
766- }
767-
768760 // Select Primary Particles
769761 float deltaX = particle.vx () - collision.posX ();
770762 float deltaY = particle.vy () - collision.posY ();
@@ -896,6 +888,11 @@ struct strangeness_in_jets {
896888 // PDG Selection
897889 int pdg = particle.pdgCode ();
898890
891+ if (!particle.isPhysicalPrimary ())
892+ continue ;
893+ if (particle.y () < yMin || particle.y () > yMax)
894+ continue ;
895+
899896 TVector3 p_particle (particle.px (), particle.py (), particle.pz ());
900897 float deltaEta_jet = p_particle.Eta () - jet_axis.Eta ();
901898 float deltaPhi_jet = GetDeltaPhi (p_particle.Phi (), jet_axis.Phi ());
0 commit comments