]>
Commit | Line | Data |
---|---|---|
93ce7d1b | 1 | //-*- Mode: C++ -*- |
2 | // $Id$ | |
3 | ||
d679dd6c | 4 | #ifndef ALIHLTTRDTRACK_H |
5 | #define ALIHLTTRDTRACK_H | |
93ce7d1b | 6 | //* This file is property of and copyright by the ALICE HLT Project * |
7 | //* ALICE Experiment at CERN, All rights reserved. * | |
8 | //* See cxx source for full Copyright notice * | |
d679dd6c | 9 | |
10 | #include "AliTRDtrackV1.h" | |
11 | #include "AliHLTLogging.h" | |
d679dd6c | 12 | |
93ce7d1b | 13 | class AliHLTTRDTracklet; |
d679dd6c | 14 | |
15 | class AliHLTTRDTrack | |
16 | { | |
17 | public: | |
18 | AliHLTTRDTrack(); | |
93ce7d1b | 19 | AliHLTTRDTrack(const AliTRDtrackV1* const inTrack); |
d679dd6c | 20 | ~AliHLTTRDTrack(); |
d679dd6c | 21 | |
93ce7d1b | 22 | void CopyDataMembers(const AliTRDtrackV1* const inTrack); |
23 | void ExportTRDTrack(AliTRDtrackV1* const outTrack) const; | |
24 | AliHLTUInt8_t *GetEndPointer() const // Returns pointer to the end of the track | |
d679dd6c | 25 | { return ((AliHLTUInt8_t *) this + fSize); }; |
93ce7d1b | 26 | AliHLTUInt32_t GetSize() const {return fSize;}; |
27 | void Print(Bool_t printTracklets = kTRUE) const; | |
28 | // void ReadTrackletsFromMemory(void* ); | |
d679dd6c | 29 | |
30 | private: | |
31 | AliHLTTRDTrack(const AliHLTTRDTrack& inTrack); | |
32 | AliHLTTRDTrack& operator=(const AliHLTTRDTrack& inTrack); | |
33 | void InitArrays(); | |
0fae33c8 | 34 | |
d679dd6c | 35 | /* Probably need */ |
93ce7d1b | 36 | Float_t fPID[AliPID::kSPECIES];// PID probabilities |
37 | Float_t fBudget[3]; // Integrated material budget | |
38 | Float_t fDE; // Integrated delta energy | |
d679dd6c | 39 | |
40 | /* ======== From AliKalmanTrack ======== */ | |
41 | ||
42 | /* Defenitely need */ | |
93ce7d1b | 43 | Float_t fFakeRatio; // fake ratio |
44 | Float_t fChi2; // total chi2 value for this track | |
0fae33c8 | 45 | // Float_t fMass; // mass hypothesis |
46 | // Int_t fLab; // track label | |
d679dd6c | 47 | |
48 | /* Probably need */ | |
93ce7d1b | 49 | Int_t fN; // number of associated clusters |
50 | Float_t fIntegratedLength; // integrated length // variables for time integration (S.Radomski@gsi.de) | |
d679dd6c | 51 | |
52 | /* ======= From AliExternalTrackParam ======== */ | |
53 | ||
54 | /* Defenitely need */ | |
93ce7d1b | 55 | Float_t fX; // X coordinate for the point of parametrisation |
56 | Float_t fAlpha; // Local <-->global coor.system rotation angle | |
57 | Float_t fP[5]; // The track parameters | |
58 | Float_t fC[15]; // The track parameter covariance matrix | |
59 | ||
60 | /* Not need */ | |
61 | // static Float_t fgMostProbablePt; // "Most probable" pt (to be used if Bz=0) | |
62 | ||
63 | AliHLTUInt32_t fSize; // Size of the track with tracklets and clusters in the memory | |
0fae33c8 | 64 | UChar_t fBits; |
93ce7d1b | 65 | Bool_t fTrackletAtPlane[AliTRDtrackV1::kNplane]; // Used positions in the original array of tracklets |
d679dd6c | 66 | |
d679dd6c | 67 | |
68 | }; | |
69 | ||
70 | #endif |