]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Remove useless code
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 9 Sep 2011 09:38:07 +0000 (09:38 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 9 Sep 2011 09:38:07 +0000 (09:38 +0000)
PWG4/GammaConv/AliV0Reader.cxx

index e5ad2f96e4693c9d400ae579ab0ed3e36b993d6d..aeda9cd4a461e2cf593c0a4c506d3873d564da98 100644 (file)
@@ -1654,18 +1654,8 @@ Bool_t AliV0Reader::GetHelixCenter(AliESDtrack* track, Double_t b,Int_t charge,
       xpoint = - xpoint;
       ypoint = - ypoint;
     }
       xpoint = - xpoint;
       ypoint = - ypoint;
     }
-
-    if(charge < 0){
-      xpoint =  xpoint;
-      ypoint =  ypoint;
-    }
   }
   if(b>0){
   }
   if(b>0){
-    if(charge > 0){
-      xpoint =  xpoint;
-      ypoint =  ypoint;
-    }
-
     if(charge < 0){
       xpoint = - xpoint;
       ypoint = - ypoint;
     if(charge < 0){
       xpoint = - xpoint;
       ypoint = - ypoint;