From d2fbf7bb77963228d5d45b8476d8126ac9968d83 Mon Sep 17 00:00:00 2001 From: hristov Date: Tue, 15 Feb 2005 05:54:20 +0000 Subject: [PATCH] Using the same arguments in SetTruePos and GetTruePos --- STEER/AliESDVertex.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/STEER/AliESDVertex.h b/STEER/AliESDVertex.h index 5ea8e4a95e6..675a86ec6bb 100644 --- a/STEER/AliESDVertex.h +++ b/STEER/AliESDVertex.h @@ -70,8 +70,8 @@ class AliESDVertex : public TNamed { void Print(Option_t* option = "") const; void PrintStatus() const {Print();} void SetTruePos(Double_t *tp){for(Int_t i=0;i<3;i++)fTruePos[i]=tp[i];} - void GetTruePos(Double_t &x,Double_t &y,Double_t &z) const - {x=fTruePos[0]; y=fTruePos[1]; z=fTruePos[2];} + void GetTruePos(Double_t *tp) const + {for(Int_t i=0;i<3;i++)tp[i]=fTruePos[i];} void Reset() { SetToZero(); SetName("Vertex"); } -- 2.43.0