]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/UPGRADE/AliITSURecoSens.h
Reco Interface: changed sensor mapping in the layer to account for multiple rows
[u/mrichter/AliRoot.git] / ITS / UPGRADE / AliITSURecoSens.h
index 56ed68232fc05d31b26fa7988ce5ed0762c91a70..66ce21be15f3000ee5c73def1755591f500c93c4 100644 (file)
@@ -14,7 +14,6 @@
 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); 
@@ -29,15 +28,12 @@ class AliITSURecoSens : public TObject
   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;}
@@ -47,9 +43,12 @@ class AliITSURecoSens : public TObject
   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