6 ///////////////////////////////////////////////////////////////////
8 // Class used by AliITSVertexerZ //
9 // Contains Z coordinates with their error //
12 ///////////////////////////////////////////////////////////////////
14 class AliITSZPoint : public TObject {
19 AliITSZPoint(Float_t z, Float_t ez);
20 virtual ~AliITSZPoint();
21 virtual Bool_t IsEqual(const TObject *obj) const
22 {return fZ == ((AliITSZPoint*)obj)->fZ;}
23 virtual Bool_t IsSortable() const { return kTRUE; }
24 virtual Int_t Compare(const TObject *obj) const
25 {if(fZ<((AliITSZPoint*)obj)->fZ) return -1;
26 else if(fZ>((AliITSZPoint*)obj)->fZ) return 1;
28 virtual void Print(Option_t *option="") const;
29 Float_t GetZ() const {return fZ;}
30 Float_t GetErrZ() const {return fErrz;}
33 Float_t fZ; // Z coordinate on beam axiz
34 Float_t fErrz; // error on Z
36 ClassDef(AliITSZPoint,1);