]>
Commit | Line | Data |
---|---|---|
1d99986f | 1 | #ifndef ALIESDFRIENDTRACK_H |
2 | #define ALIESDFRIENDTRACK_H | |
3 | ||
4 | //------------------------------------------------------------------------- | |
5 | // Class AliESDfriendTrack | |
6 | // This class contains ESD track additions | |
7 | // Origin: Iouri Belikov, CERN, Jouri.Belikov@cern.ch | |
8 | //------------------------------------------------------------------------- | |
9 | ||
10 | #include <TObject.h> | |
1d99986f | 11 | |
12 | class AliTrackPointArray; | |
15e85efa | 13 | class AliKalmanTrack; |
00dce61a | 14 | class TObjArrray; |
1d99986f | 15 | //_____________________________________________________________________________ |
16 | class AliESDfriendTrack : public TObject { | |
17 | public: | |
15e85efa | 18 | enum { |
19 | kMaxITScluster=12, | |
20 | kMaxTPCcluster=160, | |
21 | kMaxTRDcluster=180 | |
22 | }; | |
1d99986f | 23 | AliESDfriendTrack(); |
24 | AliESDfriendTrack(const AliESDfriendTrack &); | |
1d99986f | 25 | virtual ~AliESDfriendTrack(); |
26 | ||
15e85efa | 27 | void Set1P(Float_t p) {f1P=p;} |
28 | void SetTrackPointArray(AliTrackPointArray *points) { | |
29 | fPoints=points; | |
30 | } | |
31 | Float_t Get1P() const {return f1P;} | |
32 | Int_t *GetITSindices() {return fITSindex;} | |
33 | Int_t *GetTPCindices() {return fTPCindex;} | |
34 | Int_t *GetTRDindices() {return fTRDindex;} | |
1d99986f | 35 | const AliTrackPointArray *GetTrackPointArray() const {return fPoints;} |
36 | ||
15e85efa | 37 | void SetITStrack(AliKalmanTrack *t) {fITStrack=t;} |
38 | void SetTRDtrack(AliKalmanTrack *t) {fTRDtrack=t;} | |
39 | AliKalmanTrack *GetTRDtrack() {return fTRDtrack;} | |
40 | AliKalmanTrack *GetITStrack() {return fITStrack;} | |
00dce61a | 41 | void AddCalibObject(TObject * calibObject); |
42 | TObject * GetCalibObject(Int_t index); | |
1d99986f | 43 | protected: |
15e85efa | 44 | Float_t f1P; // 1/P (1/(GeV/c)) |
45 | Int_t fITSindex[kMaxITScluster]; // indices of the ITS clusters | |
46 | Int_t fTPCindex[kMaxTPCcluster]; // indices of the TPC clusters | |
47 | Int_t fTRDindex[kMaxTRDcluster]; // indices of the TRD clusters | |
48 | AliTrackPointArray *fPoints;//Array of track space points in the global frame | |
00dce61a | 49 | TObjArray *fCalibContainer; //Array of objects for calibration |
15e85efa | 50 | AliKalmanTrack *fITStrack; //! pointer to the ITS track (debug purposes) |
51 | AliKalmanTrack *fTRDtrack; //! pointer to the TRD track (debug purposes) | |
1d99986f | 52 | |
00dce61a | 53 | ClassDef(AliESDfriendTrack,2) //ESD friend track |
1d99986f | 54 | }; |
55 | ||
56 | #endif | |
57 | ||
58 |