Skip to content
Snippets Groups Projects
Commit 179ca310 authored by Markus Frank's avatar Markus Frank
Browse files

Fix backwards compatibility issue with magnetic field name conventions

parent 434a0da7
No related branches found
No related tags found
No related merge requests found
......@@ -148,6 +148,8 @@ static Ref_t create_SolenoidField(lcdd_t& lcdd, xml_h e) {
obj.assign(ptr,c.nameStr(),c.typeStr());
return obj;
}
DECLARE_XMLELEMENT(SolenoidMagnet,create_SolenoidField);
// This is the plugin required for slic: note the different name
DECLARE_XMLELEMENT(solenoid,create_SolenoidField);
static Ref_t create_DipoleField(lcdd_t& /* lcdd */, xml_h e) {
......
......@@ -1166,7 +1166,7 @@ static long create_visASCII(LCDD& lcdd, int argc, char** argv) {
return 1;
}
DECLARE_APPLY(DD4hepGeometry2VIS, create_vis);
DECLARE_APPLY(DD4hepGeometry2VIS, create_vis);
DECLARE_APPLY(DD4hepGeometry2VISASCII, create_visASCII);
DECLARE_APPLY(DD4hepGeometry2GDML,create_gdml);
DECLARE_APPLY(DD4hepGeometry2LCDD,create_lcdd);
DECLARE_APPLY(DD4hepGeometry2GDML, create_gdml);
DECLARE_APPLY(DD4hepGeometry2LCDD, create_lcdd);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment