]>
Commit | Line | Data |
---|---|---|
3e87ef69 | 1 | // @(#) $Id$ |
2 | ||
3 | #ifndef ALIL3_KALMAN | |
4 | #define ALIL3_KALMAN | |
5 | ||
6 | #include "AliL3RootTypes.h" | |
7 | #include "AliL3KalmanTrack.h" | |
8 | #include "AliL3Track.h" | |
9 | ||
10 | class AliL3SpacePointData; | |
11 | class AliL3TrackArray; | |
12 | class AliL3Benchmark; | |
0a86fbb7 | 13 | class AliL3TrackSegmentData; |
3e87ef69 | 14 | |
15 | class AliL3Kalman { | |
16 | ||
17 | private: | |
18 | ||
19 | Int_t fMinSlice; | |
20 | Int_t fMaxSlice; | |
21 | AliL3SpacePointData *fClusters[36][6]; | |
22 | Char_t fPath[1024]; | |
23 | UInt_t fNcl[36][6]; | |
24 | AliL3TrackArray *fTracks; | |
25 | AliL3TrackArray *fKalmanTracks; | |
26 | AliL3TrackArray *fSeeds; | |
27 | ||
28 | AliL3Benchmark *fBenchmark; | |
29 | Int_t fMinPointsOnTrack; | |
30 | Int_t fRow[6][2]; | |
31 | Char_t fWriteOutPath[256]; | |
32 | Bool_t fWriteOut; | |
0a86fbb7 | 33 | Int_t fEvent; |
3e87ef69 | 34 | |
35 | public: | |
36 | ||
37 | AliL3Kalman(Char_t *datapath, Int_t *slice=0, Int_t min_clusters=0); | |
38 | virtual ~AliL3Kalman(); | |
39 | void Init(); | |
40 | void LoadTracks(Int_t event, Bool_t sp); | |
41 | void ProcessTracks(); | |
3e87ef69 | 42 | Int_t MakeSeed(AliL3KalmanTrack *kalmantrack, AliL3Track *track); |
3e87ef69 | 43 | Int_t Propagate(AliL3KalmanTrack *kalmantrack, AliL3Track *track); |
44 | Int_t Update(AliL3SpacePointData *points, UInt_t pos, AliL3KalmanTrack *kalmantrack); | |
0a86fbb7 | 45 | void WriteFiles(Char_t *path="data"){fWriteOut = kTRUE; sprintf(fWriteOutPath,"%s",path);} |
3e87ef69 | 46 | Double_t GetCpuTime(); |
0a86fbb7 | 47 | AliL3TrackArray *GetTracks() {return fKalmanTracks;} |
3e87ef69 | 48 | }; |
49 | ||
50 | #endif |