]>
Commit | Line | Data |
---|---|---|
a6c02c85 | 1 | // @(#) $Id$ |
2 | ||
3 | #ifndef ALIHLTTPC_ConfMapTrack | |
4 | #define ALIHLTTPC_ConfMapTrack | |
5 | ||
6 | #include <string.h> | |
7 | ||
8 | #include "AliHLTTPCTrack.h" | |
9 | ||
10 | #include "AliHLTTPCRootTypes.h" | |
11 | #include "AliHLTTPCConfMapPoint.h" | |
12 | ||
13 | class AliHLTTPCVertex; | |
14 | ||
15 | class AliHLTTPCConfMapTrack :public AliHLTTPCTrack { | |
16 | ||
17 | public: | |
18 | ||
19 | AliHLTTPCConfMapTrack(); | |
20 | virtual ~AliHLTTPCConfMapTrack(); | |
21 | void Fill(AliHLTTPCVertex *vertex,Double_t max_Dca); | |
22 | void Reset(); | |
23 | void UpdateParam(AliHLTTPCConfMapPoint *hit); | |
24 | void DeleteCandidate(); | |
25 | ||
26 | void StartLoop() {fCurrentHit = fFirstHit;} | |
27 | void GetNextHit() {fCurrentHit = ((AliHLTTPCConfMapPoint*)fCurrentHit)->GetNextTrackHit();} | |
28 | Int_t LoopDone() const {return fCurrentHit != 0;} | |
29 | ||
30 | // setter | |
31 | void SetChiSq1(Double_t f) {fChiSq[0]=f;} | |
32 | void SetChiSq2(Double_t f) {fChiSq[1]=f;} | |
33 | void SetProperties(Bool_t fUsage); | |
34 | ||
35 | // getter | |
36 | Double_t const *GetChiSq() const { return fChiSq;} | |
37 | Double_t GetChiSq1() const { return fChiSq[0]; } | |
38 | Double_t GetChiSq2() const { return fChiSq[1]; } | |
39 | ||
40 | /* | |
41 | Double_t GetS11Xy() const {return fs11Xy;} | |
42 | Double_t GetS12Xy() const {return fs12Xy;} | |
43 | Double_t GetS22Xy() const {return fs22Xy;} | |
44 | Double_t GetG1Xy() const {return fg1Xy;} | |
45 | Double_t GetG2Xy() const {return fg2Xy;} | |
46 | Double_t GetS11Sz() const {return fs11Sz;} | |
47 | Double_t GetS12Sz() const {return fs12Sz;} | |
48 | Double_t GetS22z() const {return fs22Sz;} | |
49 | Double_t GetG1Sz() const {return fg1Sz;} | |
50 | Double_t GetG2Sz() const { return fg2Sz;} | |
51 | */ | |
52 | ||
53 | Double_t GetDDXy() const {return fddXy;} | |
54 | Double_t GetA1Xy() const {return fa1Xy;} | |
55 | Double_t GetA2Xy() const {return fa2Xy;} | |
56 | Double_t GetDDSz() const {return fddSz;} | |
57 | Double_t GetA1Sz() const {return fa1Sz;} | |
58 | Double_t GetA2Sz() const {return fa2Sz;} | |
59 | ||
60 | AliHLTTPCConfMapPoint* GetFirstHit() const {return fFirstHit;} | |
61 | AliHLTTPCConfMapPoint* GetLastHit() const {return fLastHit;} | |
62 | AliHLTTPCConfMapPoint* GetCurrentHit() const {return fCurrentHit;} | |
63 | Int_t GetMCLabel(); | |
64 | ||
65 | protected: | |
66 | ||
67 | AliHLTTPCConfMapPoint *fCurrentHit; //! | |
68 | AliHLTTPCConfMapPoint *fLastHit; //! | |
69 | AliHLTTPCConfMapPoint *fFirstHit; //! | |
70 | ||
71 | ||
72 | Double_t fChiSq[2]; //chi squared | |
73 | ||
74 | //fit parameters. Bad naming convention, i know... | |
75 | Double_t fs11Xy; //helper | |
76 | Double_t fs12Xy; //helper | |
77 | Double_t fs22Xy; //helper | |
78 | Double_t fg1Xy; //helper | |
79 | Double_t fg2Xy; //helper | |
80 | Double_t fs11Sz; //helper | |
81 | Double_t fs12Sz; //helper | |
82 | Double_t fs22Sz; //helper | |
83 | Double_t fg1Sz; //helper | |
84 | Double_t fg2Sz; //helper | |
85 | ||
86 | Double_t fddXy, fa1Xy, fa2Xy ; /*fit par in xy */ | |
87 | Double_t fddSz, fa1Sz, fa2Sz ; /*fit par in sz */ | |
88 | ||
89 | ClassDef(AliHLTTPCConfMapTrack,1) //Conformal mapping track class | |
90 | }; | |
91 | ||
92 | #endif | |
93 |