Fix for ITS nsigma (Annalisa)
authorfprino <fprino@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 5 Apr 2013 23:05:17 +0000 (23:05 +0000)
committerfprino <fprino@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 5 Apr 2013 23:05:17 +0000 (23:05 +0000)
PWGHF/vertexingHF/AliAODPidHF.cxx

index 8386031..e510264 100644 (file)
@@ -969,13 +969,13 @@ Int_t AliAODPidHF::GetnSigmaITS(AliAODTrack *track,Int_t species, Double_t &nsig
 
     AliITSPIDResponse itsResponse;
     AliPID::EParticleType type=AliPID::EParticleType(species);
-    nsigmaITS = TMath::Abs(itsResponse.GetNumberOfSigmas(mom,dedx,type));
+    nsigmaITS = itsResponse.GetNumberOfSigmas(mom,dedx,type);
 
   } // old pid
   else { // new pid
 
     AliPID::EParticleType type=AliPID::EParticleType(species);
-    nsigmaITS = TMath::Abs(fPidResponse->NumberOfSigmasITS(track,type));
+    nsigmaITS = fPidResponse->NumberOfSigmasITS(track,type);
 
   } //new pid