Corrected warning in AliFemtoKKTrackCut
authormajanik <majanik@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 11 Mar 2013 11:02:20 +0000 (11:02 +0000)
committermajanik <majanik@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 11 Mar 2013 11:02:20 +0000 (11:02 +0000)
PWGCF/FEMTOSCOPY/AliFemtoUser/AliFemtoKKTrackCut.cxx

index 5e78be1..d86ba3b 100644 (file)
@@ -881,34 +881,32 @@ bool AliFemtoKKTrackCut::IsKaonTOFNSigma(float mom, float nsigmaK)
 bool AliFemtoKKTrackCut::IsKaonNSigma(float mom, float nsigmaTPCK, float nsigmaTOFK)
 {
 
-
   if(mom<0.5)
     {
-         if(TMath::Abs(nsigmaTPCK)<2.0)
-          { 
-          return true;
-          } 
-          else 
-          {
-          return false;
-          }
+      if(TMath::Abs(nsigmaTPCK)<2.0)
+       { 
+         return true;
+       } 
+      else 
+       {
+         return false;
+       }
     }
-    
-    
-   if(mom>=0.5)
+  
+  if(mom>=0.5)
     {
-         if(TMath::Abs(nsigmaTOFK)<3.0 && TMath::Abs(nsigmaTPCK)<3.0) 
-         {
-         return true;
-         }
-         else
-         {
-         return false;
-         }
+      if(TMath::Abs(nsigmaTOFK)<3.0 && TMath::Abs(nsigmaTPCK)<3.0) 
+       {
+         return true;
+       }
+      else
+       {
+         return false;
+       }
     }
     
 //   if(mom>1.5 || mom<0.15)return false;
-    
+  return false;
 
 }