From 7c4c5c869f3eb2a2203a8c3d70c71399ef5168a8 Mon Sep 17 00:00:00 2001
From: Frank Gaede <frank.gaede@desy.de>
Date: Tue, 8 Dec 2020 11:44:00 +0100
Subject: [PATCH] use correct CLHEP/Units/SystemOfUnits.h

 - need the units in namespace CLHEP
---
 DDG4/edm4hep/Geant4Output2EDM4hep.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/DDG4/edm4hep/Geant4Output2EDM4hep.cpp b/DDG4/edm4hep/Geant4Output2EDM4hep.cpp
index bc7abd5e6..7a3b85969 100644
--- a/DDG4/edm4hep/Geant4Output2EDM4hep.cpp
+++ b/DDG4/edm4hep/Geant4Output2EDM4hep.cpp
@@ -26,7 +26,9 @@
 #include "G4Threading.hh"
 #include "G4AutoLock.hh"
 #include "G4Version.hh"
-#include "G4SystemOfUnits.hh"
+
+// use the Geant4 units in namespace CLHEP
+#include "CLHEP/Units/SystemOfUnits.h"
 
 // edm4hep include files
 #include "edm4hep/EventHeaderCollection.h"
-- 
GitLab