diff --git a/DDCore/src/segmentations/CylindricalGridPhiZ.cpp b/DDCore/src/segmentations/CylindricalGridPhiZ.cpp index e0cee722cde4c20d3d8e4fa318da9b2b99e856d1..284084727b8ab64115ba9a57708202e1a200996c 100644 --- a/DDCore/src/segmentations/CylindricalGridPhiZ.cpp +++ b/DDCore/src/segmentations/CylindricalGridPhiZ.cpp @@ -92,7 +92,7 @@ Vector3D CylindricalGridPhiZ::position(const CellID& cID) const { std::vector<double> CylindricalGridPhiZ::cellDimensions(const CellID&) const { #if __cplusplus >= 201103L - return {_gridSizePhi, _gridSizeZ}; + return {_radius*_gridSizePhi, _gridSizeZ}; #else std::vector<double> cellDims(2,0.0); cellDims[0] = _radius*_gridSizePhi;