@@ -817,6 +817,10 @@ struct NucleitpcPbPb {
817817 continue ;
818818 }
819819
820+ float tpcNsigma = getTPCnSigma (track, primaryParticles.at (i));
821+ if ((std::abs (tpcNsigma) > cfgTrackPIDsettings->get (i, " maxTPCnSigma" )) && cfgmaxTPCnSigmaRequire)
822+ continue ;
823+
820824 if (i == he3 || i == he4) {
821825 histomc.fill (HIST (" hNumerEffAcc" ), i, ptReco, getRapidity (track, i), collision.centFT0C (), particleAnti, decayType);
822826 }
@@ -831,7 +835,6 @@ struct NucleitpcPbPb {
831835 ptReco, ptTOF);
832836 }
833837
834- float tpcNsigma = getTPCnSigma (track, primaryParticles.at (i));
835838 fillhmassnsigma (track, i, tpcNsigma);
836839 histos.fill (HIST (" dcaXY" ), ptReco, track.dcaXY ());
837840 histos.fill (HIST (" dcaZ" ), ptReco, track.dcaZ ());
@@ -879,7 +882,6 @@ struct NucleitpcPbPb {
879882 }
880883 PROCESS_SWITCH (NucleitpcPbPb, processMC, " MC reco+gen analysis with efficiency corrections" , false );
881884 // =-=-=-==-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
882-
883885 // ----------------------------------------------------------------------------------------------------------------
884886 // MC particles - DCA secondary fraction
885887 // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
@@ -891,7 +893,7 @@ struct NucleitpcPbPb {
891893 aod::BCsWithTimestamps const &)
892894
893895 {
894-
896+ ( void )particlesMC;
895897 mcCollInfos.clear ();
896898 mcCollInfos.resize (mcCollisions.size ());
897899
0 commit comments