X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=RALICE%2FAli4Vector.cxx;h=0253a4d2bba94b98353a01ca7b9247dcaa3e4e70;hb=29f1b13acefb4489817708f095b9b255d05205fd;hp=334e554299c64ded821ee70ff75d090ccda751c6;hpb=176f88c02a2de005ce39e1b9d61eb9b34510820e;p=u%2Fmrichter%2FAliRoot.git diff --git a/RALICE/Ali4Vector.cxx b/RALICE/Ali4Vector.cxx index 334e554299c..0253a4d2bba 100644 --- a/RALICE/Ali4Vector.cxx +++ b/RALICE/Ali4Vector.cxx @@ -297,7 +297,7 @@ Double_t Ali4Vector::GetScalar() } } /////////////////////////////////////////////////////////////////////////// -Double_t Ali4Vector::GetResultError() +Double_t Ali4Vector::GetResultError() const { // Provide the error on the result of an operation yielding a scalar // E.g. GetScalar(), GetInvariant() or Dot() @@ -439,7 +439,7 @@ Double_t Ali4Vector::GetInvariant() } } /////////////////////////////////////////////////////////////////////////// -Ali3Vector Ali4Vector::Get3Vector() +Ali3Vector Ali4Vector::Get3Vector() const { // Provide the 3-vector part return fV; @@ -742,13 +742,13 @@ Ali4Vector& Ali4Vector::operator/=(Double_t s) } } /////////////////////////////////////////////////////////////////////////// -Int_t Ali4Vector::GetScalarFlag() +Int_t Ali4Vector::GetScalarFlag() const { // Provide the value of the fScalar flag (for internal use only). return fScalar; } /////////////////////////////////////////////////////////////////////////// -Ali3Vector Ali4Vector::GetVecTrans() +Ali3Vector Ali4Vector::GetVecTrans() const { // Provide the transverse vector part w.r.t. z-axis. // Error propagation is performed automatically @@ -756,7 +756,7 @@ Ali3Vector Ali4Vector::GetVecTrans() return fV.GetVecTrans(); } /////////////////////////////////////////////////////////////////////////// -Ali3Vector Ali4Vector::GetVecLong() +Ali3Vector Ali4Vector::GetVecLong() const { // Provide the longitudinal vector part w.r.t. z-axis. // Error propagation is performed automatically @@ -820,7 +820,7 @@ Double_t Ali4Vector::GetPseudoRapidity() return eta; } /////////////////////////////////////////////////////////////////////////// -Ali3Vector Ali4Vector::GetBetaVector() +Ali3Vector Ali4Vector::GetBetaVector() const { // Provide the beta 3-vector corresponding to this 4-vector. Ali3Vector beta;