]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSsegmentation.h
fix typo
[u/mrichter/AliRoot.git] / ITS / AliITSsegmentation.h
index f6beaa7529e79a37c6af320ce08f37a9748ac019..def0ffcfe71fbd6969e387c140244e5ae5835e28 100644 (file)
@@ -17,7 +17,6 @@ class AliITSsegmentation :
 public TObject {
  public:
   AliITSsegmentation();
-  AliITSsegmentation(AliITSgeom *geom);
   AliITSsegmentation(const AliITSsegmentation& source);
   virtual ~AliITSsegmentation();
   AliITSsegmentation& operator=(const AliITSsegmentation &source);
@@ -36,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;}
 
@@ -53,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;
     //