/* $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 ---
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
};