From: hristov Date: Wed, 8 Aug 2007 13:00:23 +0000 (+0000) Subject: No reason to return references for simple types (Christian) X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;ds=sidebyside;h=ef7ce307a209b8a843eb6842e287fd22cf170234;p=u%2Fmrichter%2FAliRoot.git No reason to return references for simple types (Christian) --- diff --git a/EMCAL/AliEMCALTracker.h b/EMCAL/AliEMCALTracker.h index 2610d4682f9..849ea6e8098 100644 --- a/EMCAL/AliEMCALTracker.h +++ b/EMCAL/AliEMCALTracker.h @@ -75,11 +75,11 @@ public: AliEMCALMatchCluster(Int_t ID, AliESDCaloCluster *caloCluster); virtual ~AliEMCALMatchCluster() { } //---------------------------------------------------------------------------- - Int_t& Index() {return fIndex;} - Int_t& Label() {return fLabel;} - Double_t& X() {return fX;} - Double_t& Y() {return fY;} - Double_t& Z() {return fZ;} + Int_t Index() {return fIndex;} + Int_t Label() {return fLabel;} + Double_t X() {return fX;} + Double_t Y() {return fY;} + Double_t Z() {return fZ;} Double_t Phi() {return TMath::ATan2(fY, fX);} private: Int_t fIndex; // index of cluster in its native container (ESD or TClonesArray)