/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
-/* $Id$ */
+// $Id$
-#include <iostream.h>
+#include "Riostream.h"
#include <math.h>
#include "TObject.h"
virtual void GetErrors(Double_t* e,TString f); // Provide errors of vector in frame f
virtual void SetErrors(Float_t* e,TString f); // Store errors of vector in frame f
virtual void GetErrors(Float_t* e,TString f); // Provide errors of vector in frame f
- virtual void Info(TString f="car"); // Print vector components in frame f
+ virtual void Data(TString f="car"); // Print vector components in frame f
Double_t GetNorm(); // Provide norm of the vector
Double_t Dot(Ali3Vector& q); // Provide dot product with q
Double_t GetPseudoRapidity(); // Provide the pseudorapidity w.r.t z-axis
Ali3Vector& operator-=(Ali3Vector& q); // Subtract vector q
Ali3Vector& operator*=(Double_t s); // Multiply with scalar s
Ali3Vector& operator/=(Double_t s); // Divide by scalar s
+ Ali3Vector GetVecTrans(); // Provide transverse vector w.r.t. z-axis
+ Ali3Vector GetVecLong(); // Provide longitudinal vector w.r.t. z-axis
protected:
Double_t fV,fTheta,fPhi; // Vector in spherical coordinates
Double_t fDx,fDy,fDz; // Errors on Cartesian coordinates
Double_t fDresult; // Error on scalar result (e.g. norm or dotproduct)
- ClassDef(Ali3Vector,1) // Handling of 3-vectors in various reference frames.
+ ClassDef(Ali3Vector,2) // Handling of 3-vectors in various reference frames.
};
#endif