]>
Commit | Line | Data |
---|---|---|
29c81279 | 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 | // | |
11 | //*-- Author: Dmitri Peressounko (SUBATECH) | |
12 | ||
13 | // --- ROOT system --- | |
14 | ||
15 | #include "TObject.h" | |
16 | ||
17 | // --- Standard library --- | |
18 | ||
19 | // --- AliRoot header files --- | |
20 | ||
21 | class AliPHOSLink : public TObject{ | |
22 | ||
23 | public: | |
24 | ||
25 | AliPHOSLink( Float_t r, Int_t EMC, Int_t PPSD) ; // ctor | |
26 | virtual ~AliPHOSLink(){} // dtor | |
27 | ||
28 | Int_t Compare(TObject * obj) ; | |
29 | Int_t GetEmc(void) { return fEmcN; } | |
30 | Int_t GetPpsd(void) { return fPpsdN ; } | |
31 | Float_t GetR(void) { return fR ; } | |
32 | Bool_t IsSortable() const{ return kTRUE ; } | |
33 | ||
34 | private: | |
35 | ||
36 | Int_t fEmcN ; // Emc index | |
37 | Int_t fPpsdN ; // Ppsd index | |
38 | Float_t fR ; // Distance between EMC and PPSD RecPoints in a track segment | |
39 | ||
40 | ClassDef(AliPHOSLink,1) // Auxilliary algorithm class used by AliPHOSTrackSegmentMaker | |
41 | ||
42 | }; | |
43 | ||
44 | #endif // AliPHOSLINK_H |