]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/src/AliL3ConfMapTrack.h
Get the Bfield from AliL3Transform
[u/mrichter/AliRoot.git] / HLT / src / AliL3ConfMapTrack.h
1 #ifndef ALIL3_ConfMapTrack
2 #define ALIL3_ConfMapTrack
3
4 #include <string.h>
5
6 #include "AliL3Track.h"
7
8 #include "AliL3RootTypes.h"
9 #include "AliL3ConfMapPoint.h"
10
11 class AliL3Vertex;
12
13 class AliL3ConfMapTrack :public AliL3Track {
14   
15  private:
16
17   
18  public:
19   
20   AliL3ConfMapTrack();
21   virtual ~AliL3ConfMapTrack();
22   void Fill(AliL3Vertex *vertex,Double_t max_Dca);
23   void UpdateToFirstPoint();
24   void Reset();
25   void UpdateParam(AliL3ConfMapPoint *hit);
26   void DeleteCandidate();
27
28   void StartLoop() {currentHit = firstHit;}  //!
29   void GetNextHit() {currentHit = ((AliL3ConfMapPoint*)currentHit)->nextTrackHit;} //!
30   Int_t LoopDone() {return currentHit != 0;}  //!
31   AliL3ConfMapPoint *currentHit;  //!
32   AliL3ConfMapPoint *lastHit;  //!
33   AliL3ConfMapPoint *firstHit;  //!
34
35
36   // getter
37   Double_t const  *GetChiSq()   const { return fChiSq;}
38   Int_t GetMCLabel();
39
40   // setter   
41   void  SetChiSq1(Double_t f) {fChiSq[0]=f;} 
42   void  SetChiSq2(Double_t f) {fChiSq[1]=f;}
43   void   SetProperties(Bool_t fUsage);
44
45   Double_t fChiSq[2];
46   
47   //fit parameters. Bad naming convention, i know...
48   Double_t    s11Xy  ; 
49   Double_t    s12Xy  ;
50   Double_t    s22Xy  ;
51   Double_t    g1Xy   ;
52   Double_t    g2Xy   ;       
53   Double_t    s11Sz  ;
54   Double_t    s12Sz  ;
55   Double_t    s22Sz  ;
56   Double_t    g1Sz   ;
57   Double_t    g2Sz   ; 
58   
59   Double_t    ddXy, a1Xy, a2Xy ;    /*fit par in xy */
60   Double_t    ddSz, a1Sz, a2Sz ;    /*fit par in sz */
61   
62   ClassDef(AliL3ConfMapTrack,1) //Conformal mapping track class
63 };
64     
65 #endif
66