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"