diff --git a/DDCore/include/DD4hep/VolumeManager.h b/DDCore/include/DD4hep/VolumeManager.h index 1a9b2aa37571a7df60ddb2316fe257ea3b73472d..2600627b3b4c248d4946cc3d42f066bfab4aa70a 100644 --- a/DDCore/include/DD4hep/VolumeManager.h +++ b/DDCore/include/DD4hep/VolumeManager.h @@ -158,6 +158,7 @@ namespace DD4hep { /// Lookup the closest subdetector detector element in the hierarchy according to a contained 64 bit hit ID DetElement lookupDetElement(VolumeID volume_id) const; /// Access the transformation of a physical volume to the world coordinate system + [[gnu::deprecated("This function might be buggy and will be removed")]] const TGeoMatrix& worldTransformation(VolumeID volume_id) const; };