coding violation fixes
authorjklay <jklay@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 29 Oct 2007 18:47:02 +0000 (18:47 +0000)
committerjklay <jklay@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 29 Oct 2007 18:47:02 +0000 (18:47 +0000)
EMCAL/AliEMCALTracker.cxx
EMCAL/AliEMCALTracker.h

index 9359ef8..131b707 100644 (file)
@@ -138,6 +138,11 @@ AliEMCALTracker& AliEMCALTracker::operator=(const AliEMCALTracker& copy)
 //
 TTree* AliEMCALTracker::SearchTrueMatches()
 {
+  //Search through the list of
+  //track match candidates and clusters
+  //and look for true matches
+  //
+  //
        if (!fClusters) return 0;
        if (fClusters->IsEmpty()) return 0;
        if (!fTracks) return 0;
index 849ea6e..ca78d9c 100644 (file)
@@ -75,12 +75,12 @@ 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;}
-               Double_t   Phi() {return TMath::ATan2(fY, fX);}
+               Int_t     Index() const {return fIndex;}
+               Int_t     Label() const {return fLabel;}
+               Double_t  X() const {return fX;}
+               Double_t  Y() const {return fY;} 
+               Double_t  Z() const {return fZ;}
+               Double_t   Phi() const {return TMath::ATan2(fY, fX);}
        private:
                Int_t     fIndex;  // index of cluster in its native container (ESD or TClonesArray)
                Int_t     fLabel;  // track label of assigned cluster
@@ -98,10 +98,10 @@ public:
                //----------------------------------------------------------------------------
                Bool_t&   CanBeSaved() {return fCanBeSaved;}
                Int_t     Compare(const TObject *obj) const;
-               Double_t  GetDistance() {return fDistance;}
-               Double_t  GetPt() {return fPt;}
-               Int_t     GetIndexC() {return fIndexC;}
-               Int_t     GetIndexT() {return fIndexT;}
+               Double_t  GetDistance() const {return fDistance;}
+               Double_t  GetPt() const {return fPt;}
+               Int_t     GetIndexC() const {return fIndexC;}
+               Int_t     GetIndexT() const {return fIndexT;}
                Bool_t    IsSortable() const {return kTRUE;}
                void      SetIndexC(Int_t icl) {fIndexC=icl;}
                void      SetIndexT(Int_t itr) {fIndexT=itr;}