]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
No reason to return references for simple types (Christian)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 8 Aug 2007 13:00:23 +0000 (13:00 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 8 Aug 2007 13:00:23 +0000 (13:00 +0000)
EMCAL/AliEMCALTracker.h

index 2610d4682f9389004a08f75770e3ef064cce7fd2..849ea6e8098b0f6cba933100e61877c92c068fb3 100644 (file)
@@ -75,11 +75,11 @@ public:
                AliEMCALMatchCluster(Int_t ID, AliESDCaloCluster *caloCluster);
                virtual ~AliEMCALMatchCluster() { }
                //----------------------------------------------------------------------------
                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)
                Double_t   Phi() {return TMath::ATan2(fY, fX);}
        private:
                Int_t     fIndex;  // index of cluster in its native container (ESD or TClonesArray)