@@ -584,13 +584,13 @@ struct OnTheFlyTracker {
584584 }
585585
586586 histos.fill (HIST (" hPtGenerated" ), mcParticle.pt ());
587- if (TMath::Abs (mcParticle.pdgCode ()) == 11 )
587+ if (std::abs (mcParticle.pdgCode ()) == 11 )
588588 histos.fill (HIST (" hPtGeneratedEl" ), mcParticle.pt ());
589- if (TMath::Abs (mcParticle.pdgCode ()) == 211 )
589+ if (std::abs (mcParticle.pdgCode ()) == 211 )
590590 histos.fill (HIST (" hPtGeneratedPi" ), mcParticle.pt ());
591- if (TMath::Abs (mcParticle.pdgCode ()) == 321 )
591+ if (std::abs (mcParticle.pdgCode ()) == 321 )
592592 histos.fill (HIST (" hPtGeneratedKa" ), mcParticle.pt ());
593- if (TMath::Abs (mcParticle.pdgCode ()) == 2212 )
593+ if (std::abs (mcParticle.pdgCode ()) == 2212 )
594594 histos.fill (HIST (" hPtGeneratedPr" ), mcParticle.pt ());
595595
596596 if (cascadeDecaySettings.doXiQA && mcParticle.pdgCode () == 3312 ) {
@@ -899,13 +899,13 @@ struct OnTheFlyTracker {
899899
900900 // Base QA (note: reco pT here)
901901 histos.fill (HIST (" hPtReconstructed" ), trackParCov.getPt ());
902- if (TMath::Abs (mcParticle.pdgCode ()) == 11 )
902+ if (std::abs (mcParticle.pdgCode ()) == 11 )
903903 histos.fill (HIST (" hPtReconstructedEl" ), mcParticle.pt ());
904- if (TMath::Abs (mcParticle.pdgCode ()) == 211 )
904+ if (std::abs (mcParticle.pdgCode ()) == 211 )
905905 histos.fill (HIST (" hPtReconstructedPi" ), mcParticle.pt ());
906- if (TMath::Abs (mcParticle.pdgCode ()) == 321 )
906+ if (std::abs (mcParticle.pdgCode ()) == 321 )
907907 histos.fill (HIST (" hPtReconstructedKa" ), mcParticle.pt ());
908- if (TMath::Abs (mcParticle.pdgCode ()) == 2212 )
908+ if (std::abs (mcParticle.pdgCode ()) == 2212 )
909909 histos.fill (HIST (" hPtReconstructedPr" ), mcParticle.pt ());
910910
911911 if (doExtraQA) {
0 commit comments