Fix on magnetic field sign used in error calculation (F. Prino)
authorprino <prino@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 31 Aug 2009 16:52:06 +0000 (16:52 +0000)
committerprino <prino@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 31 Aug 2009 16:52:06 +0000 (16:52 +0000)
ITS/AliITSVertexer3D.cxx

index 270252c..a645099 100644 (file)
@@ -338,9 +338,9 @@ Int_t AliITSVertexer3D::FindTracklets(TTree *itsClusterTree, Int_t optCuts){
   Double_t a[3]={xbeam,ybeam,0.}; 
   Double_t b[3]={xbeam,ybeam,10.};
   AliStrLine zeta(a,b,kTRUE);
-  static Double_t bField=AliTracker::GetBz()/10.; //T
+  static Double_t bField=TMath::Abs(AliTracker::GetBz()/10.); //T
   SetMeanPPtSelTracks(bField);
-
+  
   Int_t nolines = 0;
   // Loop on modules of layer 1
   for(Int_t modul1= firstL1; modul1<=lastL1;modul1++){   // Loop on modules of layer 1