diff --git a/Detector/DetFCCeeECalInclined/compact/FCCee_ECalBarrel_thetamodulemerged.xml b/Detector/DetFCCeeECalInclined/compact/FCCee_ECalBarrel_thetamodulemerged.xml
index d4b13390..e9401b96 100644
--- a/Detector/DetFCCeeECalInclined/compact/FCCee_ECalBarrel_thetamodulemerged.xml
+++ b/Detector/DetFCCeeECalInclined/compact/FCCee_ECalBarrel_thetamodulemerged.xml
@@ -79,38 +79,21 @@
-
-
-
-
-
-
-
-
-
+
+
-
system:4,cryo:1,type:3,subtype:3,layer:8,module:11,theta:10
-
+
-
system:4,cryo:1,type:3,subtype:3,layer:8,module:11,theta:10
-
-
diff --git a/Detector/DetSegmentation/include/DetSegmentation/GridTheta.h b/Detector/DetSegmentation/include/DetSegmentation/GridTheta.h
index e8f086ea..5707d2e7 100644
--- a/Detector/DetSegmentation/include/DetSegmentation/GridTheta.h
+++ b/Detector/DetSegmentation/include/DetSegmentation/GridTheta.h
@@ -69,7 +69,7 @@ class GridTheta : public Segmentation {
inline void setFieldNameTheta(const std::string& fieldName) { m_thetaID = fieldName; }
/// calculates the Cartesian position from cylindrical coordinates (r, phi, theta)
inline Vector3D positionFromRThetaPhi(double ar, double atheta, double aphi) const {
- return Vector3D(ar * std::cos(aphi), ar * std::sin(aphi), ar * std::cos(atheta)/std::sin(atheta));
+ return Vector3D(ar * std::cos(aphi), ar * std::sin(aphi), ar * std::cos(atheta)/std::sin(atheta));
}
/// calculates the theta angle from Cartesian coordinates
inline double thetaFromXYZ(const Vector3D& aposition) const {