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 2610d46..849ea6e 100644 (file)
@@ -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)