Tracking in non-uniform nmagnetic field (Yu.Belikov)
[u/mrichter/AliRoot.git] / ITS / AliV0FindVertices.C
index 338ae94..5c917ec 100644 (file)
@@ -10,7 +10,7 @@
   #include "TStopwatch.h"
 
   #include "AliRun.h"
-  #include "AliKalmanTrack.h"
+  #include "AliTracker.h"
   #include "AliMagF.h"
   #include "AliESD.h"
   #include "AliRunLoader.h"
@@ -39,9 +39,8 @@ Int_t AliV0FindVertices(Int_t nev=5) {
       return 3;
    }
 
-   AliKalmanTrack::SetConvConst(
-      1000/0.299792458/rl->GetAliRun()->Field()->SolenoidField()
-   );
+   // Magnetic field
+   AliTracker::SetFieldMap(gAlice->Field(),1); // 1 means uniform magnetic field
        
    Double_t cuts[]={33,  // max. allowed chi2
                     0.16,// min. allowed negative daughter's impact parameter