]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSLink.h
Fixing coding violations
[u/mrichter/AliRoot.git] / PHOS / AliPHOSLink.h
1 #ifndef ALIPHOSLINK_H
2 #define ALIPHOSLINK_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id$ */
7
8 //_________________________________________________________________________
9 //  Algorithm class used only by AliPHOSTrackSegmentMaker 
10 //  Links recpoints
11 // into tracksegments                
12 //*-- Author: Dmitri Peressounko (SUBATECH)
13
14 // --- ROOT system ---
15
16 #include "TObject.h"
17
18 // --- Standard library ---
19
20 // --- AliRoot header files ---
21
22 class AliPHOSLink : public  TObject{
23   
24 public:
25   
26   AliPHOSLink( Float_t r, Int_t EMC, Int_t PPSD) ;  // ctor            
27   virtual ~AliPHOSLink(){
28     // dtor
29   }
30   Int_t   Compare(const TObject * obj) const;
31   Int_t   GetEmc(void) const { return fEmcN; }
32   Int_t   GetPpsd(void) const { return fPpsdN ; }
33   Float_t GetR(void) const { return fR ; } 
34   Bool_t  IsSortable() const{ 
35     // tells if this is a sortable object 
36     return kTRUE ; 
37   }
38   
39 private:
40   
41   Int_t fEmcN ;  // Emc index
42   Int_t fPpsdN ; // Ppsd index 
43   Float_t fR ;   // Distance between EMC and PPSD RecPoints in a track segment 
44   
45   ClassDef(AliPHOSLink,1)  // Auxilliary algorithm class used by AliPHOSTrackSegmentMaker
46
47 };
48
49 #endif // AliPHOSLINK_H