+//$Id$
+
+// Author: Anders Vestbo <mailto:vestbo@fi.uib.no>
+//*-- Copyright © ASV
+
#include <math.h>
+#include "AliL3Defs.h"
#include "AliL3Logging.h"
#include "AliL3ConfMapFit.h"
#include "AliL3Vertex.h"
#include "AliL3ConfMapTrack.h"
#include "AliL3ConfMapPoint.h"
-//_______________________________
+//_____________________________________________________________
// AliL3ConfMapFit
//
// Fit class for conformal mapping tracking
fTrack = track;
fVertex = vertex;
BFACT = 0.0029980;
- bField = 0.2;
}
//
// Get charge
//
- Double_t q = ( ( yrrav < 0 ) ? 1 : -1 ) ;
+ Int_t q = ( ( yrrav < 0 ) ? 1 : -1 ) ;
fTrack->SetCharge(q);
psi = psi + q * 0.5F * pi ;
if ( psi < 0 ) psi = psi + 2*pi;
- pt = (Double_t)(BFACT * bField * radius ) ;
+ pt = (Double_t)(BFACT * BField * radius ) ;
fTrack->SetPsi(psi);
fTrack->SetPt(pt);
//find sum , sums ,sumz, sumss
//
Double_t dx, dy ;
- Double_t radius = (Double_t)(fTrack->GetPt() / ( BFACT * bField ) ) ;
+ Double_t radius = (Double_t)(fTrack->GetPt() / ( BFACT * BField ) ) ;
//TObjArray *hits = fTrack->GetHits();
//Int_t num_of_hits = fTrack->GetNumberOfPoints();