]>
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(); |
7454372c | 24 | AliESDfriendTrack(const AliESDfriendTrack &t); |
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); | |
7454372c | 43 | |
1d99986f | 44 | protected: |
15e85efa | 45 | Float_t f1P; // 1/P (1/(GeV/c)) |
46 | Int_t fITSindex[kMaxITScluster]; // indices of the ITS clusters | |
47 | Int_t fTPCindex[kMaxTPCcluster]; // indices of the TPC clusters | |
48 | Int_t fTRDindex[kMaxTRDcluster]; // indices of the TRD clusters | |
49 | AliTrackPointArray *fPoints;//Array of track space points in the global frame | |
00dce61a | 50 | TObjArray *fCalibContainer; //Array of objects for calibration |
15e85efa | 51 | AliKalmanTrack *fITStrack; //! pointer to the ITS track (debug purposes) |
52 | AliKalmanTrack *fTRDtrack; //! pointer to the TRD track (debug purposes) | |
1d99986f | 53 | |
7454372c | 54 | private: |
42cdc768 | 55 | AliESDfriendTrack &operator=(const AliESDfriendTrack & /* t */) {return *this;} |
7454372c | 56 | |
00dce61a | 57 | ClassDef(AliESDfriendTrack,2) //ESD friend track |
1d99986f | 58 | }; |
59 | ||
60 | #endif | |
61 | ||
62 |