]>
Commit | Line | Data |
---|---|---|
0c53b57d | 1 | #ifndef ALIEMCALLINK_H |
2 | #define ALIEMCALLINK_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 AliEMCALTrackSegmentMaker | |
10 | // Links recpoints | |
11 | // into tracksegments | |
12 | //*-- Author: Dmitri Peressounko (SUBATECH) | |
13 | //*-- Author: Adapted from PHOS by Y. Schutz (SUBATECH) | |
14 | ||
15 | // --- ROOT system --- | |
16 | ||
17 | #include "TObject.h" | |
18 | ||
19 | // --- Standard library --- | |
20 | ||
21 | // --- AliRoot header files --- | |
22 | ||
23 | class AliEMCALLink : public TObject | |
24 | { | |
25 | ||
26 | public: | |
27 | ||
fdebddeb | 28 | AliEMCALLink( Float_t prod, Int_t ec, Int_t rp) ; // ctor |
0c53b57d | 29 | virtual ~AliEMCALLink(){ |
30 | // dtor | |
31 | } | |
32 | Int_t Compare(const TObject * obj) const ; | |
17323043 | 33 | Int_t GetECA(void) const { return fECAN ; } |
34 | Int_t GetOther(void) const { return fOtherN ; } | |
35 | Float_t GetProd(void) const { return fProd ; } | |
88cb7938 | 36 | Bool_t IsSortable() const{ return kTRUE; } |
0c53b57d | 37 | |
38 | private: | |
39 | ||
88cb7938 | 40 | Int_t fECAN ; // ECAL index |
41 | Int_t fOtherN ; // index of the linked recpoint | |
42 | Float_t fProd ; // Scalar produc of the direction of the 2 recpoints | |
0c53b57d | 43 | |
44 | ClassDef(AliEMCALLink,1) // Auxilliary algorithm class used by AliEMCALTrackSegmentMaker | |
45 | ||
46 | }; | |
47 | ||
48 | #endif // AliEMCALLINK_H |