]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSLink.h
RelPosToAbsId(...) declared
[u/mrichter/AliRoot.git] / PHOS / AliPHOSLink.h
index 600a803cd2bdfb9049a8763aa9e99266894d9ce7..e17576f89685b2e4929067b6f63734df9b62c28a 100644 (file)
@@ -5,13 +5,11 @@
 
 /* $Id$ */
 
-////////////////////////////////////////////////
-//  Short description                         //
-//  Version SUBATECH                          //
-//  Author Dmitri Peressounko   SUBATECH      //
-//      comment: auxiliary class used   ONLY  //  
-//               by AliPHOSTrackSegmentMaker  //
-////////////////////////////////////////////////
+//_________________________________________________________________________
+//  Algorithm class used only by AliPHOSTrackSegmentMaker 
+//  Links recpoints
+// into tracksegments                
+//*-- Author: Dmitri Peressounko (SUBATECH)
 
 // --- ROOT system ---
 
@@ -26,23 +24,34 @@ class AliPHOSLink : public  TObject{
 public:
   
   AliPHOSLink( Float_t r, Int_t EMC, Int_t PPSD) ;  // ctor            
-  virtual ~AliPHOSLink(){} // dtor
-  
-  Int_t   Compare(TObject * obj) ;
-  Int_t   GetEmc(void) { return fEmcN; }
-  Int_t   GetPpsd(void) { return fPpsdN ; }
-  Float_t GetR(void) { return fR ; } 
-  Bool_t  IsSortable() const{ return kTRUE ; }
+  virtual ~AliPHOSLink(){
+    // dtor
+  }
+  Int_t   Compare(const TObject * obj) const;
+  Int_t   GetEmc(void) { 
+    // returns the index of EMC
+    return fEmcN; 
+  }
+  Int_t   GetPpsd(void) { 
+    // returns the index of PPSD
+    return fPpsdN ; 
+  }
+  Float_t GetR(void) { 
+    // returns the distance between EMC and PPSD
+    return fR ; 
+  } 
+  Bool_t  IsSortable() const{ 
+    // tells if this is a sortable object 
+    return kTRUE ; 
+  }
   
 private:
   
   Int_t fEmcN ;  // Emc index
   Int_t fPpsdN ; // Ppsd index 
-  Float_t fR ;   // Distance 
-
-public: 
+  Float_t fR ;   // Distance between EMC and PPSD RecPoints in a track segment 
   
-  ClassDef(AliPHOSLink,1)  // description , version 1
+  ClassDef(AliPHOSLink,1)  // Auxilliary algorithm class used by AliPHOSTrackSegmentMaker
 
 };