use TMath::Abs() instead of ambiguous abs().
authorrdm <rdm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 17 Jun 2004 15:13:08 +0000 (15:13 +0000)
committerrdm <rdm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 17 Jun 2004 15:13:08 +0000 (15:13 +0000)
EMCAL/AliEMCALv1.cxx

index 88d973f..2417055 100644 (file)
@@ -189,7 +189,7 @@ void AliEMCALv1::StepManager(void){
       if (gMC->TrackCharge()!=0) { // Check
          Float_t BirkC1_mod = 0;
        if (fBirkC0==1){ // Apply correction for higher charge states
-         if (abs(gMC->TrackCharge())>=2)
+         if (TMath::Abs(gMC->TrackCharge())>=2)
            BirkC1_mod=fBirkC1*7.2/12.6;
          else
            BirkC1_mod=fBirkC1;