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