Return the most probable momentum if the magnetic field is too weak and the momentum...
[u/mrichter/AliRoot.git] / TRD / AliTRDtrack.h
index 37f958af26043db7db92aeab578c760e26723d31..535ff43468bdf7fba15fc88786c215fdf858ba35 100644 (file)
@@ -172,4 +172,15 @@ class AliTRDtrack : public AliKalmanTrack {
 
 };                     
 
+inline
+void AliTRDtrack::GetExternalParameters(Double_t& xr, Double_t x[5]) const 
+{
+  //
+  // This function returns external TRD track representation
+  //
+  xr   = fX;
+  x[0] = GetY();  x[1] = GetZ();  x[2] = GetSnp();  x[3] = GetTgl();
+  x[4] = (TMath::Sign(1e-9,fC) + fC)*GetLocalConvConst();
+}           
+
 #endif