@@ -2530,9 +2530,9 @@ struct LFNucleiBATask {
25302530
25312531 if constexpr (IsMC && !IsFilteredData) {
25322532 int pdgCheck = track.mcParticle ().pdgCode ();
2533- if (abs (pdgCheck) == PDGDeuteron)
2533+ if (std:: abs (pdgCheck) == PDGDeuteron)
25342534 histos.fill (HIST (" hItsDeHeChecker" ), 0 );
2535- if (abs (pdgCheck) == PDGHelium)
2535+ if (std:: abs (pdgCheck) == PDGHelium)
25362536 histos.fill (HIST (" hItsDeHeChecker" ), 1 );
25372537 }
25382538
@@ -2547,9 +2547,9 @@ struct LFNucleiBATask {
25472547
25482548 if constexpr (IsMC && !IsFilteredData) {
25492549 int pdgCheck = track.mcParticle ().pdgCode ();
2550- if (abs (pdgCheck) == PDGDeuteron)
2550+ if (std:: abs (pdgCheck) == PDGDeuteron)
25512551 histos.fill (HIST (" hItsDeHeChecker" ), 2 );
2552- if (abs (pdgCheck) == PDGHelium)
2552+ if (std:: abs (pdgCheck) == PDGHelium)
25532553 histos.fill (HIST (" hItsDeHeChecker" ), 3 );
25542554 }
25552555
@@ -3280,7 +3280,7 @@ struct LFNucleiBATask {
32803280 if (pdgMom != -1 ) {
32813281 motherSpeciesBin = 0 ;
32823282 for (int j = 0 ; j < kNumMotherList ; j++) {
3283- if (abs (kPdgMotherList [j]) == abs (pdgMom)) {
3283+ if (std:: abs (kPdgMotherList [j]) == std:: abs (pdgMom)) {
32843284 motherSpeciesBin = j + 1 ;
32853285 break ;
32863286 }
@@ -3377,7 +3377,7 @@ struct LFNucleiBATask {
33773377 if (pdgMom != -1 ) {
33783378 motherSpeciesBin = 0 ;
33793379 for (int j = 0 ; j < kNumMotherList ; j++) {
3380- if (abs (kPdgMotherList [j]) == abs (pdgMom)) {
3380+ if (std:: abs (kPdgMotherList [j]) == std:: abs (pdgMom)) {
33813381 motherSpeciesBin = j + 1 ;
33823382 break ;
33833383 }
@@ -3549,7 +3549,7 @@ struct LFNucleiBATask {
35493549 if (pdgMom != -1 ) {
35503550 motherSpeciesBin = 0 ;
35513551 for (int j = 0 ; j < kNumMotherList ; j++) {
3552- if (abs (kPdgMotherList [j]) == abs (pdgMom)) {
3552+ if (std:: abs (kPdgMotherList [j]) == std:: abs (pdgMom)) {
35533553 motherSpeciesBin = j + 1 ;
35543554 break ;
35553555 }
0 commit comments