From 915a80bbf755bd11b55a91aabe2f24fad3b9f94a Mon Sep 17 00:00:00 2001 From: Markus Frank <markus.frank@cern.ch> Date: Mon, 22 Sep 2014 18:08:12 +0000 Subject: [PATCH] Fix factory bug for geant4 setup --- DDCore/src/plugins/Geant4XML.cpp | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/DDCore/src/plugins/Geant4XML.cpp b/DDCore/src/plugins/Geant4XML.cpp index 1c1fd9ca2..65346156f 100644 --- a/DDCore/src/plugins/Geant4XML.cpp +++ b/DDCore/src/plugins/Geant4XML.cpp @@ -45,20 +45,3 @@ static Ref_t handle_Geant4(lcdd_t& lcdd, const xml_h& element) { return Ref_t(0); } DECLARE_XMLELEMENT(geant4_xml_setup,handle_Geant4) - -#include <iostream> -using namespace std; -struct Blabla; -namespace DD4hep { -template <> void Converter<Blabla>::operator()(xml_h element) const { - xml_elt_t e(element); - xml_h s = e.child(_Unicode(electronics_structure_thickness)); - double value = _toDouble(e.child(_Unicode(electronics_structure_thickness)).text()); - cout << s.tag() << " = " << s.text() << " --> double value:" << value << endl; -} -} -static long handle_blabla(lcdd_t& lcdd, const xml_h& element) { - (Converter<Blabla>(lcdd))(element); - return 1; -} -DECLARE_XML_DOC_READER(blabla,handle_blabla) -- GitLab