]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSsegmentationSPD.h
New macro to run/test SPD test beam simulation.
[u/mrichter/AliRoot.git] / ITS / AliITSsegmentationSPD.h
index 017915fb74db8c904d3a407bc1a068851af79827..020f6b64423c6b020db6e98a2be162062ae7930f 100644 (file)
@@ -36,9 +36,9 @@ public AliITSsegmentation {
     // Transform from pixel to real coordinates
     virtual void    GetPadCxz(Int_t ix,Int_t iz,Float_t &x,Float_t &z);
     // Transform from real global to local coordinates
-    virtual void    GetLocal(Int_t module,Float_t *g ,Float_t *l) {}
+    //virtual void    GetLocal(Int_t module,Float_t *g ,Float_t *l) {}
     // Transform from real local to global coordinates
-    virtual void    GetGlobal(Int_t module,Float_t *l ,Float_t *g) {}
+    //virtual void    GetGlobal(Int_t module,Float_t *l ,Float_t *g) {}
     // Local transformation of real local coordinates -
     virtual void    GetPadTxz(Float_t &x ,Float_t &z);
     // Transformation from Geant cm detector center local coordinates
@@ -47,6 +47,11 @@ public AliITSsegmentation {
     // Transformation from detector segmentation/cell coordiantes starting
     // from (0,0) to Geant cm detector center local coordinates.
     virtual void    DetToLocal(Int_t ix,Int_t iz,Float_t &x,Float_t &z);
+    // Returns the Cell upper and lower boundries in x and y. cell indexes
+    // starting from (0,0) and return Geant cm detector centered local
+    // coordinates, consistant with DetToLocal and LocalToDet functions above.
+    virtual void CellBoundries(Int_t ix,Int_t iz,Double_t &xl,Double_t &xu,
+                              Double_t &zl,Double_t &zu);
     //
     // Initialisation
     virtual void Init();