class AliITSURecoSens : public TObject
{
public:
- enum {kNghbR,kNghbTR,kNghbT,kNghbTL,kNghbL,kNghbBL,kNghbB,kNghbBR,kNNeighbors}; // neighbors: Top,Left etc
//
AliITSURecoSens(Int_t id);
AliITSURecoSens(const AliITSURecoSens &source);
Double_t GetZMin() const {return fZMin;}
Double_t GetZMax() const {return fZMax;}
//
- Int_t GetNeighborID(int i) const {return fNeighbors[i];}
- //
Int_t GetNClusters() const {return fNClusters;}
Int_t GetFirstClusterId() const {return fFirstClusterId;}
//
void SetID(Int_t i) {SetUniqueID(i);}
void SetXTF(double v) {fXTF = v;}
void SetPhiTF(double v) {fPhiTF = v;}
- void SetNeighborID(int i, int id) {fNeighbors[i] = id;}
void SetBoundaries(double phiMn,double phiMx, double zMn, double zMx);
//
void SetNClusters(Int_t ncl) {fNClusters = ncl;}
void ProcessClusters(Int_t mode=0);
//
virtual void Print(Option_t* option = "") const;
-
+ //
+ virtual Bool_t IsSortable() const {return kTRUE;}
+ virtual Int_t Compare(const TObject* obj) const;
+ virtual Bool_t IsEqual(const TObject* obj) const {return Compare(obj)==0;}
+ //
protected:
- Int_t fNeighbors[kNNeighbors]; // id of neighbors
Int_t fNClusters; // number of clusters
Int_t fFirstClusterId; // index of the 1st cluster in the layer's clusters array
Double_t fXTF; // X in tracking frame