]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSGeometry.h
Coding rule violations corrected.
[u/mrichter/AliRoot.git] / PHOS / AliPHOSGeometry.h
index 71212f794a38a8effe4273489c12a5e2e8bbfb41..503ead9a601cf70358f5347cc92200c7802cdf1e 100644 (file)
@@ -48,7 +48,7 @@ public:
     fgGeom        = 0;
     fRotMatrixArray = 0;  }  
 
-  AliPHOSGeometry(const AliPHOSGeometry & geom) {
+  AliPHOSGeometry(const AliPHOSGeometry & geom) : AliGeometry(geom) {
     // cpy ctor requested by Coding Convention but not yet needed
     
     assert(0==1) ;
@@ -61,7 +61,7 @@ public:
   virtual void   GetGlobal(const AliRecPoint* RecPoint, TVector3 & gpos) const ;
   virtual Bool_t Impact(const TParticle * particle) const ;
 
-  AliPHOSGeometry & operator = (const AliPHOSGeometry  & rvalue) const {
+  AliPHOSGeometry & operator = (const AliPHOSGeometry  & /*rvalue*/) const {
     // assignement operator requested by coding convention but not needed
     assert(0==1) ;
     return *(GetInstance()) ; 
@@ -104,6 +104,8 @@ public:
   Float_t  GetIPtoUpperCPVsurface(void)         const { return fIPtoUpperCPVsurface ; }
   Float_t  GetOuterBoxSize(Int_t index)         const { return 2.*fPHOSParams[index]; }
   Float_t  GetCrystalSize(Int_t index)          const { return fGeometryEMCA->GetCrystalSize(index) ;  }
+  Float_t  GetCellStep(void)                    const { return 2*(fGeometryEMCA->GetAirCellHalfSize()[0] + 
+                                                                 fGeometryEMCA->GetStripWallWidthOut()) ;}
 
   // Return EMCA geometry parameters