From 23dac9b641da346aa78d22a0b312691c0e292047 Mon Sep 17 00:00:00 2001
From: Marko Petric <marko.petric@cern.ch>
Date: Wed, 30 May 2018 22:47:19 +0200
Subject: [PATCH] Update DDSim for change in DD4hep (DD4hep->dd4hep)

---
 DDSim/DD4hepSimulation.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/DDSim/DD4hepSimulation.py b/DDSim/DD4hepSimulation.py
index d4a79192f..52a2b4667 100644
--- a/DDSim/DD4hepSimulation.py
+++ b/DDSim/DD4hepSimulation.py
@@ -279,12 +279,12 @@ class DD4hepSimulation(object):
     import ROOT
     ROOT.PyConfig.IgnoreCommandLineOptions = True
 
-    import DDG4, DD4hep
+    import DDG4, dd4hep
 
     self.printLevel = getOutputLevel(self.printLevel)
 
     kernel = DDG4.Kernel()
-    DD4hep.setPrintLevel(self.printLevel)
+    dd4hep.setPrintLevel(self.printLevel)
     #kernel.setOutputLevel('Compact',1)
 
     kernel.loadGeometry("file:"+ self.compactFile )
@@ -479,7 +479,7 @@ class DD4hepSimulation(object):
     ph.addPhysicsConstructor('G4StepLimiterPhysics')
     _phys.add(ph)
 
-    DD4hep.setPrintLevel(self.printLevel)
+    dd4hep.setPrintLevel(self.printLevel)
 
     kernel.configure()
     kernel.initialize()
-- 
GitLab