40 #ifndef _PHG4GDMLWRITE_INCLUDED_
41 #define _PHG4GDMLWRITE_INCLUDED_
45 #include <xercesc/dom/DOM.hpp>
46 #include <xercesc/framework/LocalFileFormatTarget.hpp>
47 #include <xercesc/util/PlatformUtils.hpp>
48 #include <xercesc/util/XMLString.hpp>
50 #include <Geant4/G4Transform3D.hh>
55 class G4LogicalVolume;
56 class G4VPhysicalVolume;
67 const G4LogicalVolume*
const topLog,
68 const G4String& schemaPath,
69 const G4int depth, G4bool storeReferences=
true);
73 void AddModule(
const G4VPhysicalVolume*
const topVol);
94 const G4LogicalVolume*
const)=0;
101 const G4LogicalVolume*
const);
109 G4String
GenerateName(
const G4String&,
const void*
const);
118 xercesc::DOMAttr*
NewAttribute(
const G4String&,
const G4String&);
119 xercesc::DOMAttr*
NewAttribute(
const G4String&,
const G4double&);
120 xercesc::DOMElement*
NewElement(
const G4String&);
121 G4String
Modularize(
const G4VPhysicalVolume*
const topvol,
134 xercesc::DOMDocument*
doc;