00001
00002 #ifndef ALICESTHBTTRACK_H
00003 #define ALICESTHBTTRACK_H
00004 #include "TObject.h"
00005 #include "TClonesArray.h"
00006
00007 class AliStHbtTrack : public TObject {
00008
00009 public:
00010
00011 AliStHbtTrack() {}
00012 virtual ~AliStHbtTrack() {}
00013
00014 int GetCharge() {return mCharge;}
00015 void SetCharge(int charge) {mCharge = charge;}
00016
00017 int GetNTpcHits() {return mNTpcHits;}
00018 void SetNTpcHits(int nHits) {mNTpcHits = nHits;}
00019
00020 void SetP(double Px, double Py, double Pz) { fPx = Px; fPy = Py; fPz = Pz; }
00021 double GetPx() {return fPx;}
00022 double GetPy() {return fPy;}
00023 double GetPz() {return fPz;}
00024
00025 void SetTrackId (int id) { mTrackId = id;}
00026 int GetTrackId () { return mTrackId;}
00027
00028 void SetPidProbElectron (float pid) { mPidProbElectron = pid;}
00029 float GetPidProbElectron () { return mPidProbElectron; }
00030
00031 void SetPidProbPion (float pid) { mPidProbPion = pid;}
00032 float GetPidProbPion () { return mPidProbPion; }
00033
00034 void SetPidProbKaon (float pid) { mPidProbKaon = pid;}
00035 float GetPidProbKaon () { return mPidProbKaon; }
00036
00037 void SetPidProbProton (float pid) { mPidProbProton = pid;}
00038 float GetPidProbProton () { return mPidProbProton; }
00039
00040 void SetVertex(float vx, float vy, float vz) {mVertexX = vx; mVertexY = vy; mVertexZ = vz;}
00041 float GetVertexX () {return mVertexX;}
00042 float GetVertexY () {return mVertexY;}
00043 float GetVertexZ () {return mVertexZ;}
00044
00045 void SetdEdx (float dedx) { mdEdx = dedx; }
00046 float GetdEdx () { return mdEdx;}
00047
00048 void SetImpactParameters(float xy, float z) { mImpactParameterXY = xy; mImpactParameterZ = z;}
00049 float GetImpactParameterXY() { return mImpactParameterXY;}
00050 float GetImpactParameterZ() { return mImpactParameterZ;}
00051
00052 unsigned int GetTopologyMap(int word) { return mMap[word];}
00053 void SetTopologyMap(int word, unsigned int map) { mMap[word]=map;}
00054
00055 private:
00056
00057 double fPx;
00058 double fPy;
00059 double fPz;
00060 char mCharge;
00061 unsigned int mMap[6];
00062 int mTrackId;
00063
00064 float mPidProbElectron;
00065 float mPidProbPion;
00066 float mPidProbKaon;
00067 float mPidProbProton;
00068
00069 float mVertexX;
00070 float mVertexY;
00071 float mVertexZ;
00072
00073 float mdEdx;
00074 int mNTpcHits;
00075 float mImpactParameterXY;
00076 float mImpactParameterZ;
00077
00078 ClassDef(AliStHbtTrack,1)
00079 };
00080
00081
00082 #endif