]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Small bug fixed for some class of tracks (Sacha)
authormartinez <martinez@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 25 Oct 2005 10:11:44 +0000 (10:11 +0000)
committermartinez <martinez@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 25 Oct 2005 10:11:44 +0000 (10:11 +0000)
MUON/AliMUONTrackK.cxx

index f4808806b0c8c969012c055232d37145ce2f0968..74e3e301e9e3546a1628f8730115da9ed0afa568 100644 (file)
@@ -405,7 +405,8 @@ Bool_t AliMUONTrackK::KalmanFilter(Int_t ichamBeg, Int_t ichamEnd, Bool_t Back,
 
   miss = success = kTRUE;
   Int_t endOfProp = 0;
-  iFB = (ichamEnd == ichamBeg) ? fTrackDir : TMath::Sign(1,ichamEnd-ichamBeg);
+  //iFB = (ichamEnd == ichamBeg) ? fTrackDir : TMath::Sign(1,ichamEnd-ichamBeg);
+  iFB = (ichamEnd == ichamBeg) ? -fTrackDir : TMath::Sign(1,ichamEnd-ichamBeg);
   iMin = TMath::Min(ichamEnd,ichamBeg);
   iMax = TMath::Max(ichamEnd,ichamBeg);
   ichamb = ichamBeg;