]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSLink.h
Fix compiler problems
[u/mrichter/AliRoot.git] / PHOS / AliPHOSLink.h
index 7d5c5e3a00bfdecefad3ca0ccc4c17dc474f0d62..da46593b7fdd2f5caf2670c3bc058e34813b12d3 100644 (file)
@@ -7,7 +7,8 @@
 
 //_________________________________________________________________________
 //  Algorithm class used only by AliPHOSTrackSegmentMaker 
-//                  
+//  Links recpoints
+// into tracksegments                
 //*-- Author: Dmitri Peressounko (SUBATECH)
 
 // --- ROOT system ---
@@ -22,22 +23,29 @@ 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 ; }
+  AliPHOSLink() ;  // ctor            
+  AliPHOSLink( Float_t r, Int_t emc, Int_t cpv, Int_t track) ;  // ctor            
+  virtual ~AliPHOSLink(){
+    // dtor
+  }
+  Int_t   Compare(const TObject * obj) const;
+  Int_t   GetEmc(void) const { return fEmcN; }
+  Int_t   GetCpv(void) const { return fCpvN ; }
+  Float_t GetR(void) const { return fR ; } 
+  Int_t   GetTrack(void) const { return fTrack ; }
+  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 between EMC and PPSD RecPoints in a track segment 
+  Int_t fCpvN ;  // Cpv index 
+  Float_t fR ;   // Distance between EMC and CPV RecPoints in a track segment
+  Int_t fTrack;  // Charged tracked within a minimum distance of the EMC
   
-  ClassDef(AliPHOSLink,1)  // Auxilliary algorithm class used by AliPHOSTrackSegmentMaker
+  ClassDef(AliPHOSLink,2)  // Auxilliary algorithm class used by AliPHOSTrackSegmentMaker
 
 };