X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=PHOS%2FAliPHOSLink.h;h=53b59d475ab54927333a5c7e45f83c4be7f01459;hp=e17576f89685b2e4929067b6f63734df9b62c28a;hb=25779c683861b6c34023e982719f2dfd6face719;hpb=2a941f4e098ff79a7f285b70f2ffd3b33e176064 diff --git a/PHOS/AliPHOSLink.h b/PHOS/AliPHOSLink.h index e17576f8968..53b59d475ab 100644 --- a/PHOS/AliPHOSLink.h +++ b/PHOS/AliPHOSLink.h @@ -23,23 +23,16 @@ class AliPHOSLink : public TObject{ public: - AliPHOSLink( Float_t r, Int_t EMC, Int_t PPSD) ; // ctor + AliPHOSLink() ; // ctor + AliPHOSLink( Float_t x, Float_t z, Int_t emc, Int_t cpv, Int_t track) ; // ctor virtual ~AliPHOSLink(){ // dtor } Int_t Compare(const TObject * obj) const; - Int_t GetEmc(void) { - // returns the index of EMC - return fEmcN; - } - Int_t GetPpsd(void) { - // returns the index of PPSD - return fPpsdN ; - } - Float_t GetR(void) { - // returns the distance between EMC and PPSD - return fR ; - } + Int_t GetEmc(void) const { return fEmcN; } + Int_t GetCpv(void) const { return fCpvN ; } + void GetXZ(Float_t &dx, Float_t &dz) const { dx=fx ; dz = fz ; } + Int_t GetTrack(void) const { return fTrack ; } Bool_t IsSortable() const{ // tells if this is a sortable object return kTRUE ; @@ -48,10 +41,12 @@ public: 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 + Int_t fTrack; // Charged tracked within a minimum distance of the EMC + Float_t fx ; // Distance between EMC and CPV RecPoints in a track segment + Float_t fz ; // Distance between EMC and CPV RecPoints in a track segment - ClassDef(AliPHOSLink,1) // Auxilliary algorithm class used by AliPHOSTrackSegmentMaker + ClassDef(AliPHOSLink,2) // Auxilliary algorithm class used by AliPHOSTrackSegmentMaker };