]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliESDtrack.h
Temp.protection against undefined beam type in Bfield init
[u/mrichter/AliRoot.git] / STEER / AliESDtrack.h
index 8e2f403cfd3258788e0fa5ed3daed05817ca100a..0600b404f7000930b2d691e0fe5b88eb13cbea65 100644 (file)
@@ -136,26 +136,49 @@ public:
  
   void SetOuterParam(const AliExternalTrackParam *p, ULong_t flags);
 
+  void SetOuterHmpParam(const AliExternalTrackParam *p, ULong_t flags);
+
   const AliExternalTrackParam * GetOuterParam() const { return fOp;}
+
+  const AliExternalTrackParam * GetOuterHmpParam() const { return fHMPIDp;}
+  
   Bool_t GetOuterPxPyPz(Double_t *p) const {
     if (!fOp) return kFALSE;
     return fOp->GetPxPyPz(p);
   }
+  Bool_t GetOuterHmpPxPyPz(Double_t *p) const {
+    if (!fHMPIDp) return kFALSE;
+    return fHMPIDp->GetPxPyPz(p);
+  }
+  
   Bool_t GetOuterXYZ(Double_t *r) const {
     if (!fOp) return kFALSE;
     return fOp->GetXYZ(r);
   }
+    Bool_t GetOuterHmpXYZ(Double_t *r) const {
+    if (!fHMPIDp) return kFALSE;
+    return fHMPIDp->GetXYZ(r);
+  }
+
   Bool_t GetOuterExternalParameters
         (Double_t &alpha, Double_t &x, Double_t p[5]) const;
   Bool_t GetOuterExternalCovariance(Double_t cov[15]) const;
 
+  Bool_t GetOuterHmpExternalParameters
+        (Double_t &alpha, Double_t &x, Double_t p[5]) const;
+  Bool_t GetOuterHmpExternalCovariance(Double_t cov[15]) const;
 
+  
   Int_t GetNcls(Int_t idet) const;
   Int_t GetClusters(Int_t idet, Int_t *idx) const;
  
   void    SetITSpid(const Double_t *p);
   void    GetITSpid(Double_t *p) const;
+
   Double_t GetITSsignal() const {return fITSsignal;}
+  void    SetITSdEdxSamples(const Double_t s[4]);
+  void    GetITSdEdxSamples(Double_t *s) const;
+
   Double_t GetITSchi2() const {return fITSchi2;}
   Char_t   GetITSclusters(Int_t *idx) const;
   UChar_t GetITSClusterMap() const {return fITSClusterMap;}
@@ -216,9 +239,11 @@ public:
 // end A.Bercuci
 
   void     SetNumberOfTRDslices(Int_t n);
-  Int_t    GetNumberOfTRDslices() const {return fTRDnSlices/kTRDnPlanes;}
+  Int_t    GetNumberOfTRDslices() const;
   void     SetTRDslice(Double_t q, Int_t plane, Int_t slice);
+  void     SetTRDmomentum(Double_t p, Int_t plane, Double_t *sp=0x0);
   Double_t GetTRDslice(Int_t plane, Int_t slice=-1) const;
+  Double_t GetTRDmomentum(Int_t plane, Double_t *sp=0x0) const;
        
   void    SetTRDQuality(Float_t quality){fTRDQuality=quality;}
   Double_t GetTRDQuality()const {return fTRDQuality;}
@@ -326,6 +351,7 @@ protected:
   AliExternalTrackParam *fIp; // Track parameters estimated at the inner wall of TPC
   AliExternalTrackParam *fTPCInner; // Track parameters estimated at the inner wall of TPC using the TPC stand-alone 
   AliExternalTrackParam *fOp; // Track parameters estimated at the point of maximal radial coordinate reached during the tracking
+  AliExternalTrackParam *fHMPIDp; // Track parameters at HMPID
   AliESDfriendTrack *fFriendTrack; //! All the complementary information
 
   TBits    fTPCClusterMap; // Map of clusters, one bit per padrow; 1 if has a cluster on given padrow
@@ -385,6 +411,8 @@ protected:
   Double32_t fGlobalChi2;       // [0.,0.,8] chi2 of the global track
 
   Double32_t  fITSsignal;     // [0.,0.,10] detector's PID signal
+  Double32_t  fITSdEdxSamples[4]; // [0.,0.,10] ITS dE/dx samples
+
   Double32_t  fTPCsignal;     // [0.,0.,10] detector's PID signal
   Double32_t  fTPCsignalS;    // [0.,0.,10] RMS of dEdx measurement
   Double32_t  fTPCPoints[4];  // [0.,0.,10] TPC points -first, max. dens, last and max density
@@ -424,8 +452,10 @@ protected:
  private:
 
   AliESDtrack & operator=(const AliESDtrack & );
-  ClassDef(AliESDtrack,49)  //ESDtrack 
+  ClassDef(AliESDtrack,52)  //ESDtrack 
 };
 
+
+
 #endif