From be4aae111be74eb16fc91d5621c3777c1143cfa5 Mon Sep 17 00:00:00 2001
From: Andre Sailer <andre.philippe.sailer@cern.ch>
Date: Fri, 3 Mar 2017 14:43:34 +0100
Subject: [PATCH] Add deprecated to VolumeManager:worldTransformation(VolumeID)

---
 DDCore/include/DD4hep/VolumeManager.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/DDCore/include/DD4hep/VolumeManager.h b/DDCore/include/DD4hep/VolumeManager.h
index 1a9b2aa37..2600627b3 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;
     };
 
-- 
GitLab