]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliESDfriendTrack.h
disable doxygen latex output
[u/mrichter/AliRoot.git] / STEER / AliESDfriendTrack.h
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>
11
12 class AliTrackPointArray;
13 class AliKalmanTrack;
14 class TObjArrray;
15 //_____________________________________________________________________________
16 class AliESDfriendTrack : public TObject {
17 public:
18   enum {
19     kMaxITScluster=12,
20     kMaxTPCcluster=160,
21     kMaxTRDcluster=180
22   };
23   AliESDfriendTrack();
24   AliESDfriendTrack(const AliESDfriendTrack &t);
25   virtual ~AliESDfriendTrack();
26
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;}
35   const AliTrackPointArray *GetTrackPointArray() const {return fPoints;}
36
37   void SetITStrack(AliKalmanTrack *t) {fITStrack=t;}
38   void SetTRDtrack(AliKalmanTrack *t) {fTRDtrack=t;}
39   AliKalmanTrack *GetTRDtrack() {return fTRDtrack;}
40   AliKalmanTrack *GetITStrack() {return fITStrack;}
41   void AddCalibObject(TObject * calibObject); 
42   TObject * GetCalibObject(Int_t index);
43
44 protected:
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
50   TObjArray      *fCalibContainer; //Array of objects for calibration    
51   AliKalmanTrack *fITStrack; //! pointer to the ITS track (debug purposes) 
52   AliKalmanTrack *fTRDtrack; //! pointer to the TRD track (debug purposes) 
53   
54 private:
55   AliESDfriendTrack &operator=(const AliESDfriendTrack & /* t */) {return *this;}
56
57   ClassDef(AliESDfriendTrack,2) //ESD friend track
58 };
59
60 #endif
61
62