]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSsegmentation.h
reco update
[u/mrichter/AliRoot.git] / ITS / AliITSsegmentation.h
index 1bf370e4355f5b8c4aef67d19d3cdaf85a4174e1..def0ffcfe71fbd6969e387c140244e5ae5835e28 100644 (file)
@@ -35,8 +35,10 @@ public TObject {
     virtual void SetLayer(Int_t) {MayNotUse("SetLayer");}
     // Number of Chips
     virtual Int_t    GetNumberOfChips() const {MayNotUse("GetNumberOfChips"); return 0;}
+    virtual Int_t    GetMaximumChipIndex() const {MayNotUse("GetNumberOfChips"); return 0;}
     // Chip number from local coordinates
     virtual Int_t    GetChipFromLocal(Float_t, Float_t) const {MayNotUse("GetChipFromLocal"); return 0;}
+    virtual Int_t    GetChipsInLocalWindow(Int_t* /*array*/, Float_t /*zmin*/, Float_t /*zmax*/, Float_t /*xmin*/, Float_t /*xmax*/) const {MayNotUse("GetChipsInLocalWindow"); return 0;}
     // Chip number from channel number
     virtual Int_t    GetChipFromChannel(Int_t, Int_t) const {MayNotUse("GetChipFromChannel"); return 0;}
 
@@ -52,18 +54,6 @@ public TObject {
     // Transformation from detector segmentation/cell coordiantes starting
     // from (0,0) to Geant cm detector center local coordinates.
     virtual void    DetToLocal(Int_t,Int_t,Float_t &,Float_t &) const = 0;
-
-    // Transform from real global to local coordinates
-    void GetLocal(Int_t module,Float_t *g ,Float_t *l, AliITSgeom *geom) const {
-      if(geom) geom->GtoL(module,g,l);
-      else AliFatal("Pointer to ITS geometry class (AliITSgeom) is null\n");
-    }
-    // Transform from real local to global coordinates
-    void GetGlobal(Int_t module,Float_t *l ,Float_t *g, AliITSgeom *geom) const {
-      if(geom) geom->LtoG(module,l,g);
-      else AliFatal("Pointer to ITS geometry class (AliITSgeom) is null\n");
-    }
-
     // Initialisation
     virtual void Init() = 0;
     //