@@ -297,7 +297,7 @@ struct NucleitpcPbPb {
297297 mTrackParCov .setPID (track.pidForTracking ());
298298 ptMomn = (i == he3 || i == he4) ? 2 * mTrackParCov .getPt () : mTrackParCov .getPt ();
299299 bool insideDCAxy = (std::abs (track.dcaXY ()) <= (cfgTrackPIDsettings->get (i, " maxDcaXY" ) * (0 .0105f + 0 .0350f / std::pow (ptMomn, 1 .1f )))); // o2-linter: disable=magic-number (To be checked)
300- if ((!(insideDCAxy) || std::abs (track.dcaZ ()) > DCAzSigma (ptMomn, cfgTrackPIDsettings->get (i, " maxDcaZ" ))) && cfgDCAwithptRequire)
300+ if ((!(insideDCAxy) || std::abs (track.dcaZ ()) > dcazSigma (ptMomn, cfgTrackPIDsettings->get (i, " maxDcaZ" ))) && cfgDCAwithptRequire)
301301 continue ;
302302 if (track.sign () > 0 ) {
303303 histos.fill (HIST (" histDcaZVsPtData_particle" ), ptMomn, track.dcaZ ());
@@ -491,7 +491,7 @@ struct NucleitpcPbPb {
491491 mTrackParCov .setPID (track.pidForTracking ());
492492 ptMomn = (i == he3 || i == he4) ? 2 * mTrackParCov .getPt () : mTrackParCov .getPt ();
493493 bool insideDCAxy = (std::abs (track.dcaXY ()) <= (cfgTrackPIDsettings->get (i, " maxDcaXY" ) * (0 .0105f + 0 .0350f / std::pow (ptMomn, 1 .1f )))); // o2-linter: disable=magic-number (To be checked)
494- if ((!(insideDCAxy) || std::abs (track.dcaZ ()) > DCAzSigma (ptMomn, cfgTrackPIDsettings->get (i, " maxDcaZ" ))) && cfgDCAwithptRequire)
494+ if ((!(insideDCAxy) || std::abs (track.dcaZ ()) > dcazSigma (ptMomn, cfgTrackPIDsettings->get (i, " maxDcaZ" ))) && cfgDCAwithptRequire)
495495 continue ;
496496 if (track.sign () > 0 ) {
497497 histos.fill (HIST (" histDcaZVsPtData_particle" ), ptMomn, track.dcaZ ());
@@ -534,7 +534,8 @@ struct NucleitpcPbPb {
534534
535535 if (pdg == -particlePdgCodes.at (4 ) && cfgmccorrectionhe4Require) {
536536 int pidGuess = track.pidForTracking ();
537- if (pidGuess == 6 ) {
537+ int antitriton = 6 ;
538+ if (pidGuess == antitriton) {
538539 ptReco = ptReco - 0.464215 + 0.195771 * ptReco - 0.0183111 * ptReco * ptReco;
539540 // LOG(info) << "we have he3" << pidGuess;
540541 }
@@ -744,7 +745,7 @@ struct NucleitpcPbPb {
744745 return hePID ? track.tpcInnerParam () / 2 : track.tpcInnerParam ();
745746 }
746747 // ----------------------------------------------------------------------------------------------------------------
747- float DCAzSigma (double pt, float dcasigma)
748+ float dcazSigma (double pt, float dcasigma)
748749 {
749750 float invPt = 1 .f / pt;
750751 return (5.00000e-04 + 8.73690e-03 * invPt + 9.62329e-04 * invPt * invPt) * dcasigma; // o2-linter: disable=magic-number (To be checked)
0 commit comments