23 #include <Geant4/G4VPhysicalVolume.hh>
24 #include <Geant4/G4GDMLWriteStructure.hh>
35 if (topNode ==
nullptr)
42 GetOrMakeConfigNode(topNode);
51 xercesc::XMLPlatformUtils::Terminate();
63 xercesc::XMLPlatformUtils::Terminate();
72 "PHCompositeNode",
"PAR"));
76 serr << __PRETTY_FUNCTION__ <<
": PAR Node missing, request aborting.";
77 cout << serr.str() << endl;
79 throw runtime_error(serr.str());
86 if (!config and build_new)
90 getDSTNodeName(),
"PHObject");
91 parNode->addNode(node);