]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RALICE/Ali4Vector.h
Changes related to the extraction of the V0 finder into a separate class (A. Dainese...
[u/mrichter/AliRoot.git] / RALICE / Ali4Vector.h
index 6956e0995bffda0f49ee1cef7525e9eace7b2843..ea101911558b396109c2fa162466ca1ea404b32c 100644 (file)
@@ -54,19 +54,21 @@ 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)
-  Double_t fV0;      // The scalar part
-  Ali3Vector fV;     // The 3-vector part
-  Double_t fDv2;     // The error on the Lorentz invariant
-  Double_t fDv0;     // The error on the scalar part
-  Double_t fDresult; // The error on the scalar result of an operation (e.g. dotproduct) 
-  Int_t fScalar;     // Flag denoting scalar mode
+  Double32_t fV2;      // The Lorentz invariant (v^i*v_i)
+  Double32_t fV0;      // The scalar part
+  Ali3Vector fV;       // The 3-vector part
+  Double32_t fDv2;     // The error on the Lorentz invariant
+  Double32_t fDv0;     // The error on the scalar part
+  Double32_t fDresult; //! The error on the scalar result of an operation (e.g. dotproduct) 
+  Int_t fScalar;       // Flag denoting scalar mode
   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,11) // Handling of Lorentz 4-vectors in various reference frames.
 };
 #endif