]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSLink.cxx
New Jet Finder classes
[u/mrichter/AliRoot.git] / PHOS / AliPHOSLink.cxx
index 1a78b2427211d9ed734e415507c77b61fc07bc56..56c7aad3f5b5902ced75decbd38d2c07de87c002 100644 (file)
  * about the suitability of this software for any purpose. It is          *
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
-
+/* $Id$ */
 //_________________________________________________________________________
-// Auxiliary class, used ONLY by AliPHOSTrackSegmentMaker
-//*-- Author : Dmitri Peressounko  SUBATECH 
-//////////////////////////////////////////////////////////////////////////////
+//  Algorithm class used only by AliPHOSTrackSegmentMaker 
+//  Links recpoints into tracksegments
+//  Why should I put meaningless comments
+//  just to satisfy
+//  the code checker                                
+//*-- Author: Dmitri Peressounko (SUBATECH)
 
 // --- ROOT system ---
 
@@ -30,14 +33,18 @@ ClassImp(AliPHOSLink)
 //____________________________________________________________________________
   AliPHOSLink::AliPHOSLink(Float_t r, Int_t Emc, Int_t Ppsd)
 {
+  // ctor
+
   fR     = r ;  
   fEmcN  = Emc ;
   fPpsdN = Ppsd ;   
 }
 
 //____________________________________________________________________________
-Int_t AliPHOSLink::Compare(TObject * obj)
+Int_t AliPHOSLink::Compare(const TObject * obj) const
 {
+  // Compare according to the distance between EMC and PPSD RecPoints in a track segment 
+
   Int_t rv ;
 
   AliPHOSLink * link = (AliPHOSLink *) obj ;