diff --git a/DDCore/src/Segmentations.cpp b/DDCore/src/Segmentations.cpp index a34fdc88aa867ba2df538984c491ff8dfe6ec63b..dc2525f286b516d66486b0cc35bf6e43e51492b5 100644 --- a/DDCore/src/Segmentations.cpp +++ b/DDCore/src/Segmentations.cpp @@ -150,7 +150,6 @@ long64 Segmentation::cellID(const Position& localPosition, const Position& globa /// Namespace for the AIDA detector description toolkit namespace DD4hep { - /// Namespace for the geometry part of the AIDA detector description toolkit namespace Geometry { @@ -165,7 +164,7 @@ namespace DD4hep { } except("CartesianGridXY", "Cannot convert segmentation:%s to CartesianGridXY.", - seg->name()); + obj->name().c_str()); } return 0; }