From 403c758f82ff968c26dc7cc05baf73abc9166c5e Mon Sep 17 00:00:00 2001
From: Markus Frank <markus.frank@cern.ch>
Date: Tue, 11 Dec 2012 13:32:13 +0000
Subject: [PATCH] Fix bug

---
 DDCore/include/DD4hep/LCDD.h | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/DDCore/include/DD4hep/LCDD.h b/DDCore/include/DD4hep/LCDD.h
index a73b1fc74..584bb086f 100644
--- a/DDCore/include/DD4hep/LCDD.h
+++ b/DDCore/include/DD4hep/LCDD.h
@@ -71,11 +71,14 @@ namespace DD4hep {
       /// Return handle to the world volume containing the volume with the tracking devices
       virtual Volume   trackingVolume() const = 0;
 
+      /// Accessor to the map of header entries
+      virtual Header header()  const = 0;
+      /// Accessor to the header entry
+      virtual void setHeader(Header h) = 0;
+
       /// Return handle to the combined electromagentic field description.
       virtual OverlayedField field() const = 0;
 
-      /// Accessor to the map of header entries
-      virtual const HandleMap& header()  const = 0;
       /// Accessor to the map of constants
       virtual const HandleMap& constants()  const = 0;
       /// Accessor to the map of region settings
@@ -180,11 +183,14 @@ namespace DD4hep {
       virtual void fromXML(const std::string& fname) = 0;
       /// 
       virtual void dump() const = 0;
+      /// Manipulate geometry using facroy converter
+      virtual void apply(const char* factory, int argc, char** argv) = 0;
 
       ///---Factory method-------
       static LCDD& getInstance(void);
     };
 
+
     /*
      *   The following are convenience implementations to access constants by type.
      *   I do not think this violates the interface approach, but it is so much 
-- 
GitLab