ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/persistency/gdml/include/G4GDMLWrite.hh>
Public Member Functions | |
G4Transform3D | Write (const G4String &filename, const G4LogicalVolume *const topLog, const G4String &schemaPath, const G4int depth, G4bool storeReferences=true) |
void | AddModule (const G4VPhysicalVolume *const topVol) |
void | AddModule (const G4int depth) |
void | AddAuxiliary (G4GDMLAuxStructType myaux) |
virtual void | DefineWrite (xercesc::DOMElement *)=0 |
virtual void | MaterialsWrite (xercesc::DOMElement *)=0 |
virtual void | SolidsWrite (xercesc::DOMElement *)=0 |
virtual void | StructureWrite (xercesc::DOMElement *)=0 |
virtual G4Transform3D | TraverseVolumeTree (const G4LogicalVolume *const, const G4int)=0 |
virtual void | SurfacesWrite ()=0 |
virtual void | SetupWrite (xercesc::DOMElement *, const G4LogicalVolume *const)=0 |
virtual void | ExtensionWrite (xercesc::DOMElement *) |
virtual void | UserinfoWrite (xercesc::DOMElement *) |
virtual void | AddExtension (xercesc::DOMElement *, const G4LogicalVolume *const) |
G4String | GenerateName (const G4String &, const void *const) |
Static Public Member Functions | |
static void | SetAddPointerToName (G4bool) |
Protected Member Functions | |
G4GDMLWrite () | |
virtual | ~G4GDMLWrite () |
VolumeMapType & | VolumeMap () |
xercesc::DOMAttr * | NewAttribute (const G4String &, const G4String &) |
xercesc::DOMAttr * | NewAttribute (const G4String &, const G4double &) |
xercesc::DOMElement * | NewElement (const G4String &) |
G4String | Modularize (const G4VPhysicalVolume *const topvol, const G4int depth) |
void | AddAuxInfo (G4GDMLAuxListType *auxInfoList, xercesc::DOMElement *element) |
G4bool | FileExists (const G4String &) const |
PhysVolumeMapType & | PvolumeMap () |
DepthMapType & | DepthMap () |
Protected Attributes | |
G4String | SchemaLocation |
xercesc::DOMDocument * | doc |
xercesc::DOMElement * | extElement |
xercesc::DOMElement * | userinfoElement |
XMLCh | tempStr [10000] |
G4GDMLAuxListType | auxList |
Static Protected Attributes | |
static G4bool | addPointerToName = true |
Private Types | |
typedef std::map< const G4LogicalVolume *, G4Transform3D > | VolumeMapType |
typedef std::map< const G4VPhysicalVolume *, G4String > | PhysVolumeMapType |
typedef std::map< G4int, G4int > | DepthMapType |
Definition at line 56 of file G4GDMLWrite.hh.
View newest version in sPHENIX GitHub at line 56 of file G4GDMLWrite.hh
|
private |
Definition at line 60 of file G4GDMLWrite.hh.
View newest version in sPHENIX GitHub at line 60 of file G4GDMLWrite.hh
|
private |
Definition at line 59 of file G4GDMLWrite.hh.
View newest version in sPHENIX GitHub at line 59 of file G4GDMLWrite.hh
|
private |
Definition at line 58 of file G4GDMLWrite.hh.
View newest version in sPHENIX GitHub at line 58 of file G4GDMLWrite.hh
|
protected |
Definition at line 45 of file G4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 45 of file G4GDMLWrite.cc
|
protectedvirtual |
Definition at line 49 of file G4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 49 of file G4GDMLWrite.cc
void G4GDMLWrite::AddAuxiliary | ( | G4GDMLAuxStructType | myaux | ) |
Definition at line 356 of file G4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 356 of file G4GDMLWrite.cc
References auxList.
|
protected |
Definition at line 89 of file G4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 89 of file G4GDMLWrite.cc
References NewAttribute(), and NewElement().
Referenced by G4GDMLWriteStructure::TraverseVolumeTree(), and UserinfoWrite().
|
virtual |
Reimplemented in G03ColorWriter.
Definition at line 77 of file G4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 77 of file G4GDMLWrite.cc
Referenced by G4GDMLWriteStructure::TraverseVolumeTree().
void G4GDMLWrite::AddModule | ( | const G4VPhysicalVolume *const | topVol | ) |
Definition at line 288 of file G4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 288 of file G4GDMLWrite.cc
References FatalException, test::fname, G4cout, G4endl, G4Exception(), GenerateName(), G4VPhysicalVolume::GetName(), G4VPhysicalVolume::IsParameterised(), G4VPhysicalVolume::IsReplicated(), and PvolumeMap().
Definition at line 321 of file G4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 321 of file G4GDMLWrite.cc
References DepthMap(), FatalException, and G4Exception().
|
pure virtual |
Implemented in G4GDMLWriteDefine.
Referenced by Write().
|
protected |
Definition at line 71 of file G4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 71 of file G4GDMLWrite.cc
References instance.
Referenced by AddModule(), and Modularize().
|
virtual |
Reimplemented in G03ColorWriter.
Definition at line 84 of file G4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 84 of file G4GDMLWrite.cc
Referenced by Write().
Definition at line 53 of file G4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 53 of file G4GDMLWrite.cc
Referenced by Write().
Definition at line 123 of file G4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 123 of file G4GDMLWrite.cc
References addPointerToName, c, and G4String::contains().
Referenced by AddModule(), G4GDMLWriteStructure::AssemblyWrite(), G4GDMLWriteSolids::BooleanWrite(), G4GDMLWriteStructure::BorderSurfaceCache(), G4GDMLWriteSolids::BoxWrite(), G03ColorWriter::ColorWrite(), G4GDMLWriteSolids::ConeWrite(), G4GDMLWriteSolids::CutTubeWrite(), G4GDMLWriteStructure::DivisionvolWrite(), G4GDMLWriteSolids::ElconeWrite(), G4GDMLWriteMaterials::ElementWrite(), G4GDMLWriteSolids::EllipsoidWrite(), G4GDMLWriteSolids::EltubeWrite(), G4GDMLParser::ExportRegions(), G4GDMLWriteSolids::GenericPolyconeWrite(), G4GDMLWriteSolids::GenTrapWrite(), G4GDMLWriteSolids::HypeWrite(), G4GDMLWriteMaterials::IsotopeWrite(), G4GDMLWriteMaterials::MaterialWrite(), G4GDMLWriteSolids::MultiUnionWrite(), G4GDMLWriteSolids::OpticalSurfaceWrite(), G4GDMLWriteSolids::OrbWrite(), G4GDMLWriteSolids::ParaboloidWrite(), G4GDMLWriteParamvol::ParametersWrite(), G4GDMLWriteParamvol::ParamvolAlgorithmWrite(), G4GDMLWriteParamvol::ParamvolWrite(), G4GDMLWriteSolids::ParaWrite(), G4GDMLWriteStructure::PhysvolWrite(), G4GDMLWriteSolids::PolyconeWrite(), G4GDMLWriteSolids::PolyhedraWrite(), G4GDMLWriteMaterials::PropertyVectorWrite(), G4GDMLWriteMaterials::PropertyWrite(), G4GDMLWriteSolids::PropertyWrite(), G4GDMLWriteStructure::ReplicavolWrite(), G4GDMLWriteSolids::ScaledWrite(), G4GDMLWriteSetup::SetupWrite(), G4GDMLWriteStructure::SkinSurfaceCache(), G4GDMLWriteSolids::SphereWrite(), G4GDMLWriteSolids::TessellatedWrite(), G4GDMLWriteSolids::TetWrite(), G4GDMLWriteSolids::TorusWrite(), G4GDMLWriteSolids::TrapWrite(), G4GDMLWriteStructure::TraverseVolumeTree(), G4GDMLWriteSolids::TrdWrite(), G4GDMLWriteSolids::TubeWrite(), G4GDMLWriteSolids::TwistedboxWrite(), G4GDMLWriteSolids::TwistedtrapWrite(), G4GDMLWriteSolids::TwistedtrdWrite(), G4GDMLWriteSolids::TwistedtubsWrite(), and G4GDMLWriteSolids::XtruWrite().
|
pure virtual |
Implemented in G4GDMLWriteMaterials.
Referenced by Write().
|
protected |
Definition at line 336 of file G4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 336 of file G4GDMLWrite.cc
References DepthMap(), and PvolumeMap().
Referenced by G4GDMLWriteStructure::TraverseVolumeTree().
|
protected |
Definition at line 141 of file G4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 141 of file G4GDMLWrite.cc
Referenced by AddAuxInfo(), G4GDMLWriteStructure::AssemblyWrite(), G4GDMLWriteMaterials::AtomWrite(), G4GDMLWriteSolids::BooleanWrite(), G4GDMLWriteStructure::BorderSurfaceCache(), G4GDMLWriteParamvol::Box_dimensionsWrite(), G4GDMLWriteSolids::BoxWrite(), G03ColorWriter::ColorWrite(), G4GDMLWriteParamvol::Cone_dimensionsWrite(), G4GDMLWriteSolids::ConeWrite(), G4GDMLWriteSolids::CutTubeWrite(), G4GDMLWriteStructure::DivisionvolWrite(), G4GDMLWriteMaterials::DWrite(), G4GDMLWriteSolids::ElconeWrite(), G4GDMLWriteMaterials::ElementWrite(), G4GDMLWriteParamvol::Ellipsoid_dimensionsWrite(), G4GDMLWriteSolids::EllipsoidWrite(), G4GDMLWriteSolids::EltubeWrite(), G4GDMLWriteSolids::GenericPolyconeWrite(), G4GDMLWriteSolids::GenTrapWrite(), G4GDMLWriteParamvol::Hype_dimensionsWrite(), G4GDMLWriteSolids::HypeWrite(), G4GDMLWriteMaterials::IsotopeWrite(), G4GDMLWriteMaterials::MaterialWrite(), G4GDMLWriteMaterials::MEEWrite(), G4GDMLWriteSolids::MultiUnionWrite(), G4GDMLWriteSolids::OpticalSurfaceWrite(), G4GDMLWriteParamvol::Orb_dimensionsWrite(), G4GDMLWriteSolids::OrbWrite(), G4GDMLWriteParamvol::Para_dimensionsWrite(), G4GDMLWriteSolids::ParaboloidWrite(), G4GDMLWriteParamvol::ParametersWrite(), G4GDMLWriteParamvol::ParamvolWrite(), G4GDMLWriteSolids::ParaWrite(), G4GDMLWriteStructure::PhysvolWrite(), G4GDMLWriteParamvol::Polycone_dimensionsWrite(), G4GDMLWriteSolids::PolyconeWrite(), G4GDMLWriteParamvol::Polyhedra_dimensionsWrite(), G4GDMLWriteSolids::PolyhedraWrite(), G4GDMLWriteDefine::Position_vectorWrite(), G4GDMLWriteMaterials::PropertyVectorWrite(), G4GDMLWriteMaterials::PropertyWrite(), G4GDMLWriteSolids::PropertyWrite(), G4GDMLWriteMaterials::PWrite(), G4GDMLWriteStructure::ReplicavolWrite(), G4GDMLWriteDefine::Rotation_vectorWrite(), G4GDMLWriteSolids::RZPointWrite(), G4GDMLWriteDefine::Scale_vectorWrite(), G4GDMLWriteSolids::ScaledWrite(), G4GDMLWriteSetup::SetupWrite(), G4GDMLWriteStructure::SkinSurfaceCache(), G4GDMLWriteParamvol::Sphere_dimensionsWrite(), G4GDMLWriteSolids::SphereWrite(), G4GDMLWriteSolids::TessellatedWrite(), G4GDMLWriteSolids::TetWrite(), G4GDMLWriteParamvol::Torus_dimensionsWrite(), G4GDMLWriteSolids::TorusWrite(), G4GDMLWriteParamvol::Trap_dimensionsWrite(), G4GDMLWriteSolids::TrapWrite(), G4GDMLWriteStructure::TraverseVolumeTree(), G4GDMLWriteParamvol::Trd_dimensionsWrite(), G4GDMLWriteSolids::TrdWrite(), G4GDMLWriteParamvol::Tube_dimensionsWrite(), G4GDMLWriteSolids::TubeWrite(), G4GDMLWriteSolids::TwistedboxWrite(), G4GDMLWriteSolids::TwistedtrapWrite(), G4GDMLWriteSolids::TwistedtrdWrite(), G4GDMLWriteSolids::TwistedtubsWrite(), G4GDMLWriteMaterials::TWrite(), Write(), G4GDMLWriteSolids::XtruWrite(), and G4GDMLWriteSolids::ZplaneWrite().
|
protected |
Definition at line 151 of file G4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 151 of file G4GDMLWrite.cc
|
protected |
Definition at line 165 of file G4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 165 of file G4GDMLWrite.cc
Referenced by AddAuxInfo(), G4GDMLWriteStructure::AssemblyWrite(), G4GDMLWriteMaterials::AtomWrite(), G4GDMLWriteSolids::BooleanWrite(), G4GDMLWriteStructure::BorderSurfaceCache(), G4GDMLWriteParamvol::Box_dimensionsWrite(), G4GDMLWriteSolids::BoxWrite(), G03ColorWriter::ColorWrite(), G4GDMLWriteParamvol::Cone_dimensionsWrite(), G4GDMLWriteSolids::ConeWrite(), G4GDMLWriteSolids::CutTubeWrite(), G4GDMLWriteDefine::DefineWrite(), G4GDMLWriteStructure::DivisionvolWrite(), G4GDMLWriteMaterials::DWrite(), G4GDMLWriteSolids::ElconeWrite(), G4GDMLWriteMaterials::ElementWrite(), G4GDMLWriteParamvol::Ellipsoid_dimensionsWrite(), G4GDMLWriteSolids::EllipsoidWrite(), G4GDMLWriteSolids::EltubeWrite(), G03ColorWriter::ExtensionWrite(), G4GDMLWriteSolids::GenericPolyconeWrite(), G4GDMLWriteSolids::GenTrapWrite(), G4GDMLWriteParamvol::Hype_dimensionsWrite(), G4GDMLWriteSolids::HypeWrite(), G4GDMLWriteMaterials::IsotopeWrite(), G4GDMLWriteMaterials::MaterialsWrite(), G4GDMLWriteMaterials::MaterialWrite(), G4GDMLWriteMaterials::MEEWrite(), G4GDMLWriteSolids::MultiUnionWrite(), G4GDMLWriteSolids::OpticalSurfaceWrite(), G4GDMLWriteParamvol::Orb_dimensionsWrite(), G4GDMLWriteSolids::OrbWrite(), G4GDMLWriteParamvol::Para_dimensionsWrite(), G4GDMLWriteSolids::ParaboloidWrite(), G4GDMLWriteParamvol::ParametersWrite(), G4GDMLWriteParamvol::ParamvolWrite(), G4GDMLWriteSolids::ParaWrite(), G4GDMLWriteStructure::PhysvolWrite(), G4GDMLWriteParamvol::Polycone_dimensionsWrite(), G4GDMLWriteSolids::PolyconeWrite(), G4GDMLWriteParamvol::Polyhedra_dimensionsWrite(), G4GDMLWriteSolids::PolyhedraWrite(), G4GDMLWriteDefine::Position_vectorWrite(), G4GDMLWriteMaterials::PropertyVectorWrite(), G4GDMLWriteMaterials::PropertyWrite(), G4GDMLWriteSolids::PropertyWrite(), G4GDMLWriteMaterials::PWrite(), G4GDMLWriteStructure::ReplicavolWrite(), G4GDMLWriteDefine::Rotation_vectorWrite(), G4GDMLWriteSolids::RZPointWrite(), G4GDMLWriteDefine::Scale_vectorWrite(), G4GDMLWriteSolids::ScaledWrite(), G4GDMLWriteSetup::SetupWrite(), G4GDMLWriteStructure::SkinSurfaceCache(), G4GDMLWriteSolids::SolidsWrite(), G4GDMLWriteParamvol::Sphere_dimensionsWrite(), G4GDMLWriteSolids::SphereWrite(), G4GDMLWriteStructure::StructureWrite(), G4GDMLWriteSolids::TessellatedWrite(), G4GDMLWriteSolids::TetWrite(), G4GDMLWriteParamvol::Torus_dimensionsWrite(), G4GDMLWriteSolids::TorusWrite(), G4GDMLWriteParamvol::Trap_dimensionsWrite(), G4GDMLWriteSolids::TrapWrite(), G4GDMLWriteStructure::TraverseVolumeTree(), G4GDMLWriteParamvol::Trd_dimensionsWrite(), G4GDMLWriteSolids::TrdWrite(), G4GDMLWriteParamvol::Tube_dimensionsWrite(), G4GDMLWriteSolids::TubeWrite(), G4GDMLWriteSolids::TwistedboxWrite(), G4GDMLWriteSolids::TwistedtrapWrite(), G4GDMLWriteSolids::TwistedtrdWrite(), G4GDMLWriteSolids::TwistedtubsWrite(), G4GDMLWriteMaterials::TWrite(), UserinfoWrite(), G4GDMLWriteSolids::XtruWrite(), and G4GDMLWriteSolids::ZplaneWrite().
|
protected |
Definition at line 65 of file G4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 65 of file G4GDMLWrite.cc
References instance.
Referenced by AddModule(), and Modularize().
Definition at line 361 of file G4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 361 of file G4GDMLWrite.cc
References addPointerToName.
|
pure virtual |
|
pure virtual |
Implemented in G4GDMLWriteSolids.
Referenced by Write().
|
pure virtual |
Implemented in G4GDMLWriteStructure.
Referenced by Write().
|
pure virtual |
Implemented in G4GDMLWriteStructure.
Referenced by Write().
|
pure virtual |
Implemented in G4GDMLWriteStructure.
Referenced by Write().
|
virtual |
Definition at line 110 of file G4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 110 of file G4GDMLWrite.cc
References AddAuxInfo(), auxList, G4cout, G4endl, NewElement(), and userinfoElement.
Referenced by Write().
|
protected |
Definition at line 59 of file G4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 59 of file G4GDMLWrite.cc
References instance.
Referenced by G4GDMLWriteStructure::TraverseVolumeTree(), and Write().
G4Transform3D G4GDMLWrite::Write | ( | const G4String & | filename, |
const G4LogicalVolume *const | topLog, | ||
const G4String & | schemaPath, | ||
const G4int | depth, | ||
G4bool | storeReferences = true |
||
) |
Definition at line 171 of file G4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 171 of file G4GDMLWrite.cc
References addPointerToName, DefineWrite(), doc, ExtensionWrite(), FatalException, FileExists(), G4cout, G4endl, G4Exception(), HepGeom::Transform3D::Identity, MaterialsWrite(), message(), NewAttribute(), Acts::IntegrationTest::R, SchemaLocation, SetupWrite(), SolidsWrite(), StructureWrite(), SurfacesWrite(), tempStr, TraverseVolumeTree(), UserinfoWrite(), and VolumeMap().
Referenced by PHG4GDMLUtility::Dump_G4_GDML(), and G4GDMLWriteStructure::TraverseVolumeTree().
Definition at line 131 of file G4GDMLWrite.hh.
View newest version in sPHENIX GitHub at line 131 of file G4GDMLWrite.hh
Referenced by GenerateName(), SetAddPointerToName(), and Write().
|
protected |
Definition at line 136 of file G4GDMLWrite.hh.
View newest version in sPHENIX GitHub at line 136 of file G4GDMLWrite.hh
Referenced by AddAuxiliary(), and UserinfoWrite().
|
protected |
Definition at line 132 of file G4GDMLWrite.hh.
View newest version in sPHENIX GitHub at line 132 of file G4GDMLWrite.hh
Referenced by NewAttribute(), NewElement(), and Write().
|
protected |
Definition at line 133 of file G4GDMLWrite.hh.
View newest version in sPHENIX GitHub at line 133 of file G4GDMLWrite.hh
Referenced by G03ColorWriter::ColorWrite(), and G03ColorWriter::ExtensionWrite().
|
protected |
Definition at line 130 of file G4GDMLWrite.hh.
View newest version in sPHENIX GitHub at line 130 of file G4GDMLWrite.hh
Referenced by G4GDMLWriteStructure::TraverseVolumeTree(), and Write().
|
protected |
Definition at line 135 of file G4GDMLWrite.hh.
View newest version in sPHENIX GitHub at line 135 of file G4GDMLWrite.hh
Referenced by NewAttribute(), NewElement(), and Write().
|
protected |
Definition at line 134 of file G4GDMLWrite.hh.
View newest version in sPHENIX GitHub at line 134 of file G4GDMLWrite.hh
Referenced by UserinfoWrite().