]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSIOTrack.h
Splitting of the ITS libraries (M.Masera & E.Crescio)
[u/mrichter/AliRoot.git] / ITS / AliITSIOTrack.h
index 182f3da8cec33f5c9d801a2f9b34b83d91670d46..f298c2a9a9a9d610efbb87ddf310966a61f4ba5d 100644 (file)
@@ -31,17 +31,19 @@ class AliITSIOTrack : public TObject {
   Double_t GetStateTgl() const {return fStateVTgl;}  // gets the dip angle tangent of the state vector
   Double_t GetRadius() const {return fRadius;}       // gets the radius corresponding to the state vector
   Int_t     GetCharge() const {return fCharge;}      // gets the particle charge
-  Float_t GetX() const {return fX;}     // gets the x cohordinate of the found vertex
-  Float_t GetZ() const {return fZ;}     // gets the z cohordinate of the found vertex
-  Float_t GetY() const {return fY;}     // gets the y cohordinate of the found vertex
-  Float_t GetPx() const {return fPx;}   // gets the x momentum component at the found vertex 
-  Float_t GetPy() const {return fPy;}   // gets the y momentum component at the found vertex 
-  Float_t GetPz() const {return fPz;}    // gets the z momentum component at the found vertex 
-  Int_t GetCode() const  {return fCode;}   // gets the PDG particle code
-  Float_t GetPxg() const  {return fPxg;}   // gets the x momentum component read from Geant
-  Float_t GetPyg() const  {return fPyg;}   // gets the y momentum component read from Geant
-  Float_t GetPzg() const  {return fPzg;}   // gets the z momentum component read from Geant
+  Float_t GetX() const {return fX;}     // gets the x cohordinate of the track point nearest to primary vertex
+  Float_t GetZ() const {return fZ;}     // gets the z cohordinate of the track point nearest to primary vertex
+  Float_t GetY() const {return fY;}     // gets the y cohordinate of the track point nearest to primary vertex
+  Float_t GetPx() const {return fPx;}   // gets the x momentum component at the fX,fY,fZ point  
+  Float_t GetPy() const {return fPy;}   // gets the y momentum component at the fX,fY,fZ point  
+  Float_t GetPz() const {return fPz;}    // gets the z momentum component at the fX,fY,fZ point  
+  Double_t GetDz() const {return fDz;}   // gets the longitudinal impact parameter
+  Int_t    GetPid() const {return fPid;} // gets the identified particle code
+  Double_t GetMass()  const {return fMass;}                             // get the tracking mass  
+  Float_t GetdEdx() const {return fdEdx;}                              //get the track energy loss
+  void SetMass(Double_t mass) {fMass=mass;}                      // put the tracking mass
+  void SetPid(Int_t pid) {fPid=pid;}                             // put the identified particle code
+  
   void SetCovMatrix(Double_t C00, Double_t C10, Double_t C11, Double_t C20, Double_t C21, 
        Double_t C22, Double_t C30, Double_t C31, Double_t C32, Double_t C33, Double_t C40, 
        Double_t C41, Double_t C42, Double_t C43, Double_t C44);
@@ -59,44 +61,48 @@ class AliITSIOTrack : public TObject {
   void SetRadius(Double_t r) {fRadius= r;}           // sets the radius corresponding to the state vector
   void SetCharge(Int_t charge) {fCharge=charge;}     // sets the particle charge
 
-  void SetX(Float_t x){fX=x;}        // sets the x cohordinate of the found vertex
-  void SetZ(Float_t z){fZ=z;}        // sets the z cohordinate of the found vertex
-  void SetY(Float_t y){fY=y;}        // sets the y cohordinate of the found vertex
-  void SetPx(Float_t px) {fPx=px;}   // sets the x momentum component at the found vertex 
-  void SetPy(Float_t py) {fPy=py;}   // sets the y momentum component at the found vertex
-  void SetPz(Float_t pz) {fPz=pz;}   // sets the z momentum component at the found vertex
-  void SetCode(Int_t code) {fCode=code;}   // sets the PDG particle code
-  void SetPxg(Float_t pxg) {fPxg=pxg;}   // sets the x momentum component read from Geant
-  void SetPyg(Float_t pyg) {fPyg=pyg;}   // sets the y momentum component read from Geant
-  void SetPzg(Float_t pzg) {fPzg=pzg;}   // sets the z momentum component read from Geant
-  
+  void SetX(Float_t x){fX=x;}        // sets the x position of the track point nearest to primary vertex
+  void SetZ(Float_t z){fZ=z;}        // sets the z position of the track point nearest to primary vertex
+  void SetY(Float_t y){fY=y;}        // sets the y position of the track point nearest to primary vertex
+  void SetPx(Float_t px) {fPx=px;}   // sets the x momentum component at the fX,fY,fZ point 
+  void SetPy(Float_t py) {fPy=py;}   // sets the y momentum component at the fX,fY,fZ point
+  void SetPz(Float_t pz) {fPz=pz;}   // sets the z momentum component at the fX,fY,fZ point
+  void SetDz(Double_t dz) {fDz=dz;}  //sets the longitudinal impact parameter
+  void SetdEdx(Float_t dedx) {fdEdx=dedx;} //sets the de/dx
+
+
  private:
     
   Int_t     fLab;       // label of reconstructed track
   Int_t     fTPCLab;       // label of TPC track  
-  Int_t     fCode;      // PDG particle code
-  Float_t   fX ;        // x cohordinate of the found vertex
-  Float_t   fY ;        // y cohordinate of the found vertex
-  Float_t   fZ ;        // z cohordinate of the found vertex
-  Float_t   fPx;        // x component of track momentum at the found vertex
-  Float_t   fPy;        // y component of track momentum at the found vertex
-  Float_t   fPz;        // z component of track momentum at the found vertex
-  Float_t   fPxg;        // x component of track momentum read from Geant
-  Float_t   fPyg;        // y component of track momentum read from Geant
-  Float_t   fPzg;        // z component of track momentum read from Geant
+  Float_t   fX ;        // x cohordinate of the track point nearest to primary vertex
+  Float_t   fY ;        // y cohordinate of the track point nearest to primary vertex
+  Float_t   fZ ;        // z cohordinate of the track point nearest to primary vertex
+  Float_t   fPx;        // x component of track momentum at the fX,fY,fZ point 
+  Float_t   fPy;        // y component of track momentum at the fX,fY,fZ point 
+  Float_t   fPz;        // z component of track momentum at the fX,fY,fZ point 
+
    
   //
   Int_t     fIdPoints[6];   // points assigned to the track (entry # in fRecPoints is given by module #)
   Int_t     fIdModules[6];  // module # corresponding to each point belonging to the track
 
-  Double_t  fStateVPhi;          //  state vector component Phi
-  Double_t  fStateVZ;            //  state vector component Z
+  Double_t  fStateVPhi;          //  state vector component Phi to beam pipe
+  Double_t  fStateVZ;            //  state vector component Z   to beam pipe
   Double_t  fStateVD;            //  state vector component D
   Double_t  fStateVTgl;          //  state vector component Tgl
   Double_t  fStateVC;            //  state vector component C
         
   Double_t  fRadius;             //  distance of the point from the origin
-  Int_t     fCharge;             //  particle charge  
+  Int_t     fPid;                //  identified particle code
+  Int_t     fCharge;             //  particle charge 
+  
+  Double_t  fMass;               //  tracking mass
+  
+  Double_t  fDz;                 // longitudinal impact parameter 
+  
+  Float_t fdEdx;             //track energy loss by trouncated method
+
 
 //  Covariance matrix
   Double_t  fC00;                                   // first row elements of the covariance matrix