File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -342,10 +342,10 @@ struct DGPIDSelector {
342342
343343 // cut on dcaXY and dcaZ
344344 LOGF (debug, " mAnaPars.maxDCAxyz %f %f" , mAnaPars .maxDCAxy (), mAnaPars .maxDCAz ());
345- if (track.dcaXY () < -abs (mAnaPars .maxDCAxy ()) || track.dcaXY () > abs (mAnaPars .maxDCAxy ())) {
345+ if (track.dcaXY () < -std:: abs (mAnaPars .maxDCAxy ()) || track.dcaXY () > std:: abs (mAnaPars .maxDCAxy ())) {
346346 return false ;
347347 }
348- if (track.dcaZ () < -abs (mAnaPars .maxDCAz ()) || track.dcaZ () > abs (mAnaPars .maxDCAz ())) {
348+ if (track.dcaZ () < -std:: abs (mAnaPars .maxDCAz ()) || track.dcaZ () > std:: abs (mAnaPars .maxDCAz ())) {
349349 return false ;
350350 }
351351
@@ -379,19 +379,19 @@ struct DGPIDSelector {
379379 if (!track.hasTPC ()) {
380380 continue ;
381381 }
382- switch (abs (pidcut.cutType ())) {
382+ switch (std:: abs (pidcut.cutType ())) {
383383 case 1 :
384384 detValue = getTPCnSigma (track, pidcut.cutPID ());
385385 break ;
386386 case 2 :
387387 detValue = track.tpcSignal ();
388388 }
389389 LOGF (debug, " detValue TPC %f" , detValue);
390- } else if (abs (pidcut.cutDetector ()) == 2 ) {
390+ } else if (std:: abs (pidcut.cutDetector ()) == 2 ) {
391391 if (!track.hasTOF ()) {
392392 continue ;
393393 }
394- switch (abs (pidcut.cutType ())) {
394+ switch (std:: abs (pidcut.cutType ())) {
395395 case 1 :
396396 detValue = getTOFnSigma (track, pidcut.cutPID ());
397397 break ;
You can’t perform that action at this time.
0 commit comments