X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PHOS%2FAliPHOSGeometry.h;h=503ead9a601cf70358f5347cc92200c7802cdf1e;hb=e033748bd92072b7065ffb7cba5e5d5779f9c450;hp=71212f794a38a8effe4273489c12a5e2e8bbfb41;hpb=2725c395785c64f73ada53b400096252b5a5f7b3;p=u%2Fmrichter%2FAliRoot.git diff --git a/PHOS/AliPHOSGeometry.h b/PHOS/AliPHOSGeometry.h index 71212f794a3..503ead9a601 100644 --- a/PHOS/AliPHOSGeometry.h +++ b/PHOS/AliPHOSGeometry.h @@ -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