]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/TPCLib/AliHLTTPCTrack.h
Bugfix, comparison of string -sorted was not correct.
[u/mrichter/AliRoot.git] / HLT / TPCLib / AliHLTTPCTrack.h
index c9f23881d627256a1f948bbac16bc5a8272f060f..5c1f8f37d8d9f158977c415f91ece28458c166a8 100644 (file)
@@ -97,7 +97,9 @@ class AliHLTTPCTrack : public AliTPCtrack {
   Double_t GetPterr() const {return fPterr;}
   Double_t GetPsierr() const {return fPsierr;}
   Double_t GetTglerr() const {return fTanlerr;}
-  
+  Double_t GetZ0err() const {return fZ0err;}
+  Double_t GetY0err() const {return fY0err;}
+
   Double_t GetKappa() const {return fKappa;}
   Double_t GetRadius() const {return fRadius;}
   Double_t GetCenterX() const {return fCenterX;}
@@ -118,7 +120,9 @@ class AliHLTTPCTrack : public AliTPCtrack {
   Int_t GetCharge() const {return fQ;}
   Int_t GetMCid() const {return fMCid;}
   Double_t GetLength() const {return fLength;}
-
+  Double_t GetLengthXY() const ;
+  Double_t GetLengthTot() const;
+  
   Int_t GetFirstRow() const {return fRowRange[0];}
   Int_t GetLastRow()  const {return fRowRange[1];}
   Int_t GetSector()   const {return fSector;}
@@ -141,6 +145,7 @@ class AliHLTTPCTrack : public AliTPCtrack {
   void SetPterr(Double_t f) {fPterr = f;}
   void SetPsierr(Double_t f) {fPsierr = f;}
   void SetZ0err(Double_t f) {fZ0err = f;}
+  void SetY0err(Double_t f) {fY0err = f;}  
   void SetTglerr(Double_t f) {fTanlerr = f;}
   void SetKappa(Double_t f) {fKappa = f;}
   void SetNHits(Int_t f) {fNHits = f;}
@@ -161,6 +166,16 @@ class AliHLTTPCTrack : public AliTPCtrack {
    */
   int Convert2AliKalmanTrack();
 
+  /**
+   * Check the structure members to be within reasonable limits.
+   */
+  int CheckConsistency();
+
+  /**
+   * Check consistency of a double member
+   */
+  int CheckDoubleMember(double* pMember, double def, const char* name) const;
+
  private:
 
   Int_t fNHits; //Number of hits
@@ -187,6 +202,7 @@ class AliHLTTPCTrack : public AliTPCtrack {
   Double_t fPterr;   //error in pt
   Double_t fPsierr;  //error in psi
   Double_t fZ0err;   //error in first point
+  Double_t fY0err;   //error in first point
   Double_t fTanlerr; //error in tanl
 
   Double_t fPhi0; //azimuthal angle of the first point