diff --git a/DDG4/include/DDG4/Geant4ParticleHandler.h b/DDG4/include/DDG4/Geant4ParticleHandler.h index e18be8ef979fb1bfb178069986d881995e6d0f40..31ee72d9fac37ba89e0ff7d03341db339addda35 100644 --- a/DDG4/include/DDG4/Geant4ParticleHandler.h +++ b/DDG4/include/DDG4/Geant4ParticleHandler.h @@ -65,7 +65,8 @@ namespace DD4hep { typedef Geant4ParticleMap::Particle Particle; typedef Geant4ParticleMap::ParticleMap ParticleMap; typedef Geant4ParticleMap::TrackEquivalents TrackEquivalents; -#ifdef __MAKECINT__ +#if defined(__CINT__) || defined(__MAKECINT__) || defined(G__DICTIONARY) + // Need to force to public for the ROOT dictionary public: #else private: diff --git a/DDG4/src/python/DDG4Python.C b/DDG4/src/python/DDG4Python.C index 6e9c95087822795610e47c73d4bbc339f81c89bf..cecececc44949a4ad89b442e66db99581d4bb934 100644 --- a/DDG4/src/python/DDG4Python.C +++ b/DDG4/src/python/DDG4Python.C @@ -23,7 +23,6 @@ #include "DDG4Python/Geant4PythonDetectorConstruction.h" #include "PyDDG4.h" - // CINT configuration #if defined(__MAKECINT__) #pragma link C++ namespace DD4hep;