3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 //_________________________________________________________________________
9 // Algorithm class used only by AliPHOSTrackSegmentMaker
12 //*-- Author: Dmitri Peressounko (SUBATECH)
14 // --- ROOT system ---
18 // --- Standard library ---
20 // --- AliRoot header files ---
22 class AliPHOSLink : public TObject{
26 AliPHOSLink() ; // ctor
27 AliPHOSLink( Float_t x, Float_t z, Int_t emc, Int_t cpv, Int_t track) ; // ctor
28 virtual ~AliPHOSLink(){
31 Int_t Compare(const TObject * obj) const;
32 Int_t GetEmc(void) const { return fEmcN; }
33 Int_t GetCpv(void) const { return fCpvN ; }
34 void GetXZ(Float_t &dx, Float_t &dz) const { dx=fx ; dz = fz ; }
35 Int_t GetTrack(void) const { return fTrack ; }
36 Bool_t IsSortable() const{
37 // tells if this is a sortable object
43 Int_t fEmcN ; // Emc index
44 Int_t fCpvN ; // Cpv index
45 Int_t fTrack; // Charged tracked within a minimum distance of the EMC
46 Float_t fx ; // Distance between EMC and CPV RecPoints in a track segment
47 Float_t fz ; // Distance between EMC and CPV RecPoints in a track segment
49 ClassDef(AliPHOSLink,2) // Auxilliary algorithm class used by AliPHOSTrackSegmentMaker
53 #endif // AliPHOSLINK_H