]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSLink.h
Init() declared virtual. (thanks to B. Nilsen)
[u/mrichter/AliRoot.git] / PHOS / AliPHOSLink.h
CommitLineData
d15a28e7 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
6ad0bfa0 6/* $Id$ */
7
b2a60966 8//_________________________________________________________________________
9// Algorithm class used only by AliPHOSTrackSegmentMaker
2f04ed65 10// Links recpoints
11// into tracksegments
b2a60966 12//*-- Author: Dmitri Peressounko (SUBATECH)
d15a28e7 13
14// --- ROOT system ---
15
16#include "TObject.h"
17
18// --- Standard library ---
19
20// --- AliRoot header files ---
21
22class AliPHOSLink : public TObject{
23
24public:
25
26 AliPHOSLink( Float_t r, Int_t EMC, Int_t PPSD) ; // ctor
88714635 27 virtual ~AliPHOSLink(){
28 // dtor
29 }
2a941f4e 30 Int_t Compare(const TObject * obj) const;
88714635 31 Int_t GetEmc(void) {
32 // returns the index of EMC
33 return fEmcN;
34 }
35 Int_t GetPpsd(void) {
36 // returns the index of PPSD
37 return fPpsdN ;
38 }
39 Float_t GetR(void) {
40 // returns the distance between EMC and PPSD
41 return fR ;
42 }
43 Bool_t IsSortable() const{
44 // tells if this is a sortable object
45 return kTRUE ;
46 }
d15a28e7 47
48private:
49
50 Int_t fEmcN ; // Emc index
51 Int_t fPpsdN ; // Ppsd index
b2a60966 52 Float_t fR ; // Distance between EMC and PPSD RecPoints in a track segment
d15a28e7 53
b2a60966 54 ClassDef(AliPHOSLink,1) // Auxilliary algorithm class used by AliPHOSTrackSegmentMaker
d15a28e7 55
56};
57
58#endif // AliPHOSLINK_H