diff --git a/DDG4/edm4hep/Geant4Output2EDM4hep.cpp b/DDG4/edm4hep/Geant4Output2EDM4hep.cpp index bc7abd5e61c29d3f1967febee379159760fac328..7a3b8596916c7aaa839a46b38e3897c1b57f5909 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"