From f189b1262c8873049344a5d5c32e3a5a973c5b2a Mon Sep 17 00:00:00 2001
From: Markus Frank <markus.frank@cern.ch>
Date: Fri, 25 Apr 2014 13:56:40 +0000
Subject: [PATCH] Fix after commit of changes to DDCore

---
 DDRec/src/Surface.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/DDRec/src/Surface.cpp b/DDRec/src/Surface.cpp
index 5d2d00c3b..777f24ed5 100644
--- a/DDRec/src/Surface.cpp
+++ b/DDRec/src/Surface.cpp
@@ -1,5 +1,5 @@
 #include "DDRec/Surface.h"
-#include "DD4hep/Detector.h"
+#include "DD4hep/objects/DetectorInterna.h"
 
 #include <math.h>
 #include <memory>
@@ -287,7 +287,7 @@ namespace DD4hep {
 
       //=========== compute and cache world transform for surface ==========
 
-      TGeoMatrix* wm = _det.object<DetElement::Object>().worldTransformation() ;
+      const TGeoMatrix* wm = &_det.worldTransformation() ;
 
 #if 0 // debug
       wm->Print() ;
-- 
GitLab