]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RALICE/Ali4Vector.h
o) Added DrawHistograms function
[u/mrichter/AliRoot.git] / RALICE / Ali4Vector.h
index 6956e0995bffda0f49ee1cef7525e9eace7b2843..db238a9c58c5443a220873eba597f766bf59e101 100644 (file)
@@ -54,7 +54,9 @@ class Ali4Vector
   Ali3Vector GetBetaVector() const;                 // Provide the beta 3-vector
   Double_t GetBeta();                               // Provide the norm of the beta 3-vector, i.e. v/c
   Double_t GetGamma();                              // Provide the Lorentz gamma factor
+  Double_t GetX(Int_t i,TString f,TString u="rad"); // Provide i-th vector component in frame f in units u
   virtual Double_t GetOpeningAngle(Ali4Vector& q,TString u="rad"); // Opening angle between 3-vector parts in units u
+  virtual Double_t GetOpeningAngle(Ali3Vector& q,TString u="rad"); // Opening angle with 3-vector q in units u
 
  protected:
   Double_t fV2;      // The Lorentz invariant (v^i*v_i)
@@ -67,6 +69,6 @@ class Ali4Vector
   Double_t GetScaTrans(); // Provide "transverse value" of scalar part w.r.t. z-axis
   Double_t GetScaLong();  // Provide "longitudinal value" of scalar part w.r.t. z-axis
 
- ClassDef(Ali4Vector,8) // Handling of Lorentz 4-vectors in various reference frames.
+ ClassDef(Ali4Vector,10) // Handling of Lorentz 4-vectors in various reference frames.
 };
 #endif