diff --git a/DDG4/include/DDG4/DDG4Dict.h b/DDG4/include/DDG4/DDG4Dict.h index 175a1c4f582ff6dfaef5cbb4e821ae17069a4183..4ecf63eb27a62fbf0bc972272ca21600e7ad6721 100644 --- a/DDG4/include/DDG4/DDG4Dict.h +++ b/DDG4/include/DDG4/DDG4Dict.h @@ -85,7 +85,8 @@ namespace { class DDG4Dict {}; } /// Dictionaires for basic Hit data structures #pragma link C++ class dd4hep::sim::Geant4HitData+; -#pragma link C++ class std::vector<dd4hep::sim::Geant4HitData*>+; +namespace dd4hep { namespace sim { typedef Geant4HitData* Geant4HitData_ptr_t; }} +#pragma link C++ class std::vector<dd4hep::sim::Geant4HitData_ptr_t>+; #pragma link C++ class dd4hep::sim::Geant4HitData::Contribution+; #pragma link C++ class dd4hep::sim::Geant4HitData::Contributions+;