diff --git a/DDG4/include/DDG4/Factories.h b/DDG4/include/DDG4/Factories.h index 944a46b69a75b19e14ca20b895b946bde66dd855..ba21bf2bb419e708e350837168aa2390fb7e46f0 100644 --- a/DDG4/include/DDG4/Factories.h +++ b/DDG4/include/DDG4/Factories.h @@ -214,7 +214,7 @@ namespace { #define DECLARE_GEANT4_SETUP(name,func) \ namespace DD4hep { namespace Simulation { struct xml_g4_setup_##name {}; \ template <> long Geant4SetupAction<DD4hep::Simulation::xml_g4_setup_##name>::create(LCDD& l,const DD4hep::Geometry::GeoHandler& e, const std::map<std::string,std::string>& a) {return func(l,e,a);} }} \ - DD4HEP_PLUGINSVC_FACTORY(xml_g4_setup_##name,name "_Geant4_action",long(DD4hep::Geometry::LCDD*,const DD4hep::Geometry::GeoHandler*,const std::map<std::string,std::string>*),__LINE__) + DD4HEP_PLUGINSVC_FACTORY(xml_g4_setup_##name,name##_Geant4_action,long(DD4hep::Geometry::LCDD*,const DD4hep::Geometry::GeoHandler*,const std::map<std::string,std::string>*),__LINE__) /// Plugin defintion to create event reader objects #define DECLARE_GEANT4_EVENT_READER(name) \