StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
AliStHbtTrack.h
1 // any problems, send an email to chajecki@mps.ohio-state.edu
2 #ifndef ALICESTHBTTRACK_H
3 #define ALICESTHBTTRACK_H
4 #include "TObject.h"
5 #include "TClonesArray.h"
6 
7 class AliStHbtTrack : public TObject {
8 
9 public:
10 
11  AliStHbtTrack() {}
12  virtual ~AliStHbtTrack() {}
13 
14  int GetCharge() {return mCharge;}
15  void SetCharge(int charge) {mCharge = charge;}
16 
17  int GetNTpcHits() {return mNTpcHits;}
18  void SetNTpcHits(int nHits) {mNTpcHits = nHits;}
19 
20  void SetP(double Px, double Py, double Pz) { fPx = Px; fPy = Py; fPz = Pz; }
21  double GetPx() {return fPx;}
22  double GetPy() {return fPy;}
23  double GetPz() {return fPz;}
24 
25  void SetTrackId (int id) { mTrackId = id;}
26  int GetTrackId () { return mTrackId;}
27 
28  void SetPidProbElectron (float pid) { mPidProbElectron = pid;}
29  float GetPidProbElectron () { return mPidProbElectron; }
30 
31  void SetPidProbPion (float pid) { mPidProbPion = pid;}
32  float GetPidProbPion () { return mPidProbPion; }
33 
34  void SetPidProbKaon (float pid) { mPidProbKaon = pid;}
35  float GetPidProbKaon () { return mPidProbKaon; }
36 
37  void SetPidProbProton (float pid) { mPidProbProton = pid;}
38  float GetPidProbProton () { return mPidProbProton; }
39 
40  void SetVertex(float vx, float vy, float vz) {mVertexX = vx; mVertexY = vy; mVertexZ = vz;}
41  float GetVertexX () {return mVertexX;}
42  float GetVertexY () {return mVertexY;}
43  float GetVertexZ () {return mVertexZ;}
44 
45  void SetdEdx (float dedx) { mdEdx = dedx; }
46  float GetdEdx () { return mdEdx;}
47 
48  void SetImpactParameters(float xy, float z) { mImpactParameterXY = xy; mImpactParameterZ = z;}
49  float GetImpactParameterXY() { return mImpactParameterXY;}
50  float GetImpactParameterZ() { return mImpactParameterZ;}
51 
52  unsigned int GetTopologyMap(int word) { return mMap[word];}
53  void SetTopologyMap(int word, unsigned int map) { mMap[word]=map;}
54 
55 private:
56 
57  double fPx; // x component of track momentum
58  double fPy; // y component of track momentum
59  double fPz; // z component of track momentum
60  char mCharge; // charge of the track
61  unsigned int mMap[6]; // topology map
62  int mTrackId; // track id
63 
64  float mPidProbElectron; // pid probabilities
65  float mPidProbPion; //
66  float mPidProbKaon; //
67  float mPidProbProton; //
68 
69  float mVertexX; // x component of track vertex
70  float mVertexY; // y component of track vertex
71  float mVertexZ; // z component of track vertex
72 
73  float mdEdx; // dEdx of track
74  int mNTpcHits; // # of hits in tpc
75  float mImpactParameterXY; // x comp. of impact parameter
76  float mImpactParameterZ; // y comp. of impact parameter
77 
78  ClassDef(AliStHbtTrack,1)
79 };
80 
81 
82 #endif