![]() |
Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/simulation/g4simulation/g4gdml/PHG4GDMLWrite.hh>
Inheritance diagram for PHG4GDMLWrite:
Collaboration diagram for PHG4GDMLWrite: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 (PHG4GDMLAuxStructType 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 | |
| PHG4GDMLWrite () | |
| virtual | ~PHG4GDMLWrite () |
| 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 (PHG4GDMLAuxListType *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] |
| PHG4GDMLAuxListType | 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 61 of file PHG4GDMLWrite.hh.
View newest version in sPHENIX GitHub at line 61 of file PHG4GDMLWrite.hh
|
private |
Definition at line 65 of file PHG4GDMLWrite.hh.
View newest version in sPHENIX GitHub at line 65 of file PHG4GDMLWrite.hh
|
private |
Definition at line 64 of file PHG4GDMLWrite.hh.
View newest version in sPHENIX GitHub at line 64 of file PHG4GDMLWrite.hh
|
private |
Definition at line 63 of file PHG4GDMLWrite.hh.
View newest version in sPHENIX GitHub at line 63 of file PHG4GDMLWrite.hh
|
protected |
Definition at line 47 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 47 of file PHG4GDMLWrite.cc
|
protectedvirtual |
Definition at line 54 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 54 of file PHG4GDMLWrite.cc
| void PHG4GDMLWrite::AddAuxiliary | ( | PHG4GDMLAuxStructType | myaux | ) |
Definition at line 391 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 391 of file PHG4GDMLWrite.cc
References auxList.
|
protected |
Definition at line 94 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 94 of file PHG4GDMLWrite.cc
References NewAttribute(), and NewElement().
Referenced by PHG4GDMLWriteStructure::TraverseVolumeTree(), and UserinfoWrite().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Definition at line 82 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 82 of file PHG4GDMLWrite.cc
Referenced by PHG4GDMLWriteStructure::TraverseVolumeTree().
Here is the caller graph for this function:| void PHG4GDMLWrite::AddModule | ( | const G4VPhysicalVolume *const | topVol | ) |
Definition at line 323 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 323 of file PHG4GDMLWrite.cc
References INTTVtxZ::fname, GenerateName(), and PvolumeMap().
Here is the call graph for this function:| void PHG4GDMLWrite::AddModule | ( | const G4int | depth | ) |
Definition at line 356 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 356 of file PHG4GDMLWrite.cc
References depth, DepthMap(), and end.
Here is the call graph for this function:
|
pure virtual |
Implemented in PHG4GDMLWriteDefine.
Referenced by Write().
Here is the caller graph for this function:
|
protected |
Definition at line 76 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 76 of file PHG4GDMLWrite.cc
Referenced by AddModule(), and Modularize().
Here is the caller graph for this function:
|
virtual |
Definition at line 89 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 89 of file PHG4GDMLWrite.cc
Referenced by Write().
Here is the caller graph for this function:
|
protected |
Definition at line 58 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 58 of file PHG4GDMLWrite.cc
Referenced by Write().
Here is the caller graph for this function:| G4String PHG4GDMLWrite::GenerateName | ( | const G4String & | name, |
| const void * const | ptr | ||
| ) |
Definition at line 154 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 154 of file PHG4GDMLWrite.cc
References addPointerToName, and perf_headwind::name.
Referenced by AddModule(), PHG4GDMLWriteSolids::BooleanWrite(), PHG4GDMLWriteStructure::BorderSurfaceCache(), PHG4GDMLWriteSolids::BoxWrite(), PHG4GDMLWriteSolids::ConeWrite(), PHG4GDMLWriteSolids::CutTubeWrite(), PHG4GDMLWriteStructure::DivisionvolWrite(), PHG4GDMLWriteSolids::ElconeWrite(), PHG4GDMLWriteMaterials::ElementWrite(), PHG4GDMLWriteSolids::EllipsoidWrite(), PHG4GDMLWriteSolids::EltubeWrite(), PHG4GDMLWriteSolids::GenericPolyconeWrite(), PHG4GDMLWriteSolids::GenTrapWrite(), PHG4GDMLWriteSolids::HypeWrite(), PHG4GDMLWriteMaterials::IsotopeWrite(), PHG4GDMLWriteMaterials::MaterialWrite(), PHG4GDMLWriteSolids::OrbWrite(), PHG4GDMLWriteSolids::ParaboloidWrite(), PHG4GDMLWriteParamvol::ParametersWrite(), PHG4GDMLWriteParamvol::ParamvolAlgorithmWrite(), PHG4GDMLWriteParamvol::ParamvolWrite(), PHG4GDMLWriteSolids::ParaWrite(), PHG4GDMLWriteStructure::PhysvolWrite(), PHG4GDMLWriteSolids::PolyconeWrite(), PHG4GDMLWriteSolids::PolyhedraWrite(), PHG4GDMLWriteMaterials::PropertyVectorWrite(), PHG4GDMLWriteMaterials::PropertyWrite(), PHG4GDMLWriteStructure::ReplicavolWrite(), PHG4GDMLWriteSetup::SetupWrite(), PHG4GDMLWriteStructure::SkinSurfaceCache(), PHG4GDMLWriteSolids::SphereWrite(), PHG4GDMLWriteSolids::TessellatedWrite(), PHG4GDMLWriteSolids::TetWrite(), PHG4GDMLWriteSolids::TorusWrite(), PHG4GDMLWriteSolids::TrapWrite(), PHG4GDMLWriteStructure::TraverseVolumeTree(), PHG4GDMLWriteSolids::TrdWrite(), PHG4GDMLWriteSolids::TubeWrite(), PHG4GDMLWriteSolids::TwistedboxWrite(), PHG4GDMLWriteSolids::TwistedtrapWrite(), PHG4GDMLWriteSolids::TwistedtrdWrite(), PHG4GDMLWriteSolids::TwistedtubsWrite(), and PHG4GDMLWriteSolids::XtruWrite().
Here is the caller graph for this function:
|
pure virtual |
Implemented in PHG4GDMLWriteMaterials.
Referenced by Write().
Here is the caller graph for this function:
|
protected |
Definition at line 371 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 371 of file PHG4GDMLWrite.cc
References depth, DepthMap(), end, and PvolumeMap().
Referenced by PHG4GDMLWriteStructure::TraverseVolumeTree().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 172 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 172 of file PHG4GDMLWrite.cc
Referenced by AddAuxInfo(), PHG4GDMLWriteMaterials::AtomWrite(), PHG4GDMLWriteSolids::BooleanWrite(), PHG4GDMLWriteStructure::BorderSurfaceCache(), PHG4GDMLWriteParamvol::Box_dimensionsWrite(), PHG4GDMLWriteSolids::BoxWrite(), PHG4GDMLWriteParamvol::Cone_dimensionsWrite(), PHG4GDMLWriteSolids::ConeWrite(), PHG4GDMLWriteSolids::CutTubeWrite(), PHG4GDMLWriteStructure::DivisionvolWrite(), PHG4GDMLWriteMaterials::DWrite(), PHG4GDMLWriteSolids::ElconeWrite(), PHG4GDMLWriteMaterials::ElementWrite(), PHG4GDMLWriteParamvol::Ellipsoid_dimensionsWrite(), PHG4GDMLWriteSolids::EllipsoidWrite(), PHG4GDMLWriteSolids::EltubeWrite(), PHG4GDMLWriteSolids::GenericPolyconeWrite(), PHG4GDMLWriteSolids::GenTrapWrite(), PHG4GDMLWriteParamvol::Hype_dimensionsWrite(), PHG4GDMLWriteSolids::HypeWrite(), PHG4GDMLWriteMaterials::IsotopeWrite(), PHG4GDMLWriteMaterials::MaterialWrite(), PHG4GDMLWriteMaterials::MEEWrite(), PHG4GDMLWriteSolids::OpticalSurfaceWrite(), PHG4GDMLWriteParamvol::Orb_dimensionsWrite(), PHG4GDMLWriteSolids::OrbWrite(), PHG4GDMLWriteParamvol::Para_dimensionsWrite(), PHG4GDMLWriteSolids::ParaboloidWrite(), PHG4GDMLWriteParamvol::ParametersWrite(), PHG4GDMLWriteParamvol::ParamvolWrite(), PHG4GDMLWriteSolids::ParaWrite(), PHG4GDMLWriteStructure::PhysvolWrite(), PHG4GDMLWriteParamvol::Polycone_dimensionsWrite(), PHG4GDMLWriteSolids::PolyconeWrite(), PHG4GDMLWriteParamvol::Polyhedra_dimensionsWrite(), PHG4GDMLWriteSolids::PolyhedraWrite(), PHG4GDMLWriteDefine::Position_vectorWrite(), PHG4GDMLWriteMaterials::PropertyVectorWrite(), PHG4GDMLWriteMaterials::PropertyWrite(), PHG4GDMLWriteMaterials::PWrite(), PHG4GDMLWriteStructure::ReplicavolWrite(), PHG4GDMLWriteDefine::Rotation_vectorWrite(), PHG4GDMLWriteSolids::RZPointWrite(), PHG4GDMLWriteDefine::Scale_vectorWrite(), PHG4GDMLWriteSetup::SetupWrite(), PHG4GDMLWriteStructure::SkinSurfaceCache(), PHG4GDMLWriteParamvol::Sphere_dimensionsWrite(), PHG4GDMLWriteSolids::SphereWrite(), PHG4GDMLWriteSolids::TessellatedWrite(), PHG4GDMLWriteSolids::TetWrite(), PHG4GDMLWriteParamvol::Torus_dimensionsWrite(), PHG4GDMLWriteSolids::TorusWrite(), PHG4GDMLWriteParamvol::Trap_dimensionsWrite(), PHG4GDMLWriteSolids::TrapWrite(), PHG4GDMLWriteStructure::TraverseVolumeTree(), PHG4GDMLWriteParamvol::Trd_dimensionsWrite(), PHG4GDMLWriteSolids::TrdWrite(), PHG4GDMLWriteParamvol::Tube_dimensionsWrite(), PHG4GDMLWriteSolids::TubeWrite(), PHG4GDMLWriteSolids::TwistedboxWrite(), PHG4GDMLWriteSolids::TwistedtrapWrite(), PHG4GDMLWriteSolids::TwistedtrdWrite(), PHG4GDMLWriteSolids::TwistedtubsWrite(), PHG4GDMLWriteMaterials::TWrite(), Write(), PHG4GDMLWriteSolids::XtruWrite(), and PHG4GDMLWriteSolids::ZplaneWrite().
|
protected |
Definition at line 182 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 182 of file PHG4GDMLWrite.cc
|
protected |
Definition at line 196 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 196 of file PHG4GDMLWrite.cc
Referenced by AddAuxInfo(), PHG4GDMLWriteMaterials::AtomWrite(), PHG4GDMLWriteSolids::BooleanWrite(), PHG4GDMLWriteStructure::BorderSurfaceCache(), PHG4GDMLWriteParamvol::Box_dimensionsWrite(), PHG4GDMLWriteSolids::BoxWrite(), PHG4GDMLWriteParamvol::Cone_dimensionsWrite(), PHG4GDMLWriteSolids::ConeWrite(), PHG4GDMLWriteSolids::CutTubeWrite(), PHG4GDMLWriteDefine::DefineWrite(), PHG4GDMLWriteStructure::DivisionvolWrite(), PHG4GDMLWriteMaterials::DWrite(), PHG4GDMLWriteSolids::ElconeWrite(), PHG4GDMLWriteMaterials::ElementWrite(), PHG4GDMLWriteParamvol::Ellipsoid_dimensionsWrite(), PHG4GDMLWriteSolids::EllipsoidWrite(), PHG4GDMLWriteSolids::EltubeWrite(), PHG4GDMLWriteSolids::GenericPolyconeWrite(), PHG4GDMLWriteSolids::GenTrapWrite(), PHG4GDMLWriteParamvol::Hype_dimensionsWrite(), PHG4GDMLWriteSolids::HypeWrite(), PHG4GDMLWriteMaterials::IsotopeWrite(), PHG4GDMLWriteMaterials::MaterialsWrite(), PHG4GDMLWriteMaterials::MaterialWrite(), PHG4GDMLWriteMaterials::MEEWrite(), PHG4GDMLWriteSolids::OpticalSurfaceWrite(), PHG4GDMLWriteParamvol::Orb_dimensionsWrite(), PHG4GDMLWriteSolids::OrbWrite(), PHG4GDMLWriteParamvol::Para_dimensionsWrite(), PHG4GDMLWriteSolids::ParaboloidWrite(), PHG4GDMLWriteParamvol::ParametersWrite(), PHG4GDMLWriteParamvol::ParamvolWrite(), PHG4GDMLWriteSolids::ParaWrite(), PHG4GDMLWriteStructure::PhysvolWrite(), PHG4GDMLWriteParamvol::Polycone_dimensionsWrite(), PHG4GDMLWriteSolids::PolyconeWrite(), PHG4GDMLWriteParamvol::Polyhedra_dimensionsWrite(), PHG4GDMLWriteSolids::PolyhedraWrite(), PHG4GDMLWriteDefine::Position_vectorWrite(), PHG4GDMLWriteMaterials::PropertyVectorWrite(), PHG4GDMLWriteMaterials::PropertyWrite(), PHG4GDMLWriteMaterials::PWrite(), PHG4GDMLWriteStructure::ReplicavolWrite(), PHG4GDMLWriteDefine::Rotation_vectorWrite(), PHG4GDMLWriteSolids::RZPointWrite(), PHG4GDMLWriteDefine::Scale_vectorWrite(), PHG4GDMLWriteSetup::SetupWrite(), PHG4GDMLWriteStructure::SkinSurfaceCache(), PHG4GDMLWriteSolids::SolidsWrite(), PHG4GDMLWriteParamvol::Sphere_dimensionsWrite(), PHG4GDMLWriteSolids::SphereWrite(), PHG4GDMLWriteStructure::StructureWrite(), PHG4GDMLWriteSolids::TessellatedWrite(), PHG4GDMLWriteSolids::TetWrite(), PHG4GDMLWriteParamvol::Torus_dimensionsWrite(), PHG4GDMLWriteSolids::TorusWrite(), PHG4GDMLWriteParamvol::Trap_dimensionsWrite(), PHG4GDMLWriteSolids::TrapWrite(), PHG4GDMLWriteStructure::TraverseVolumeTree(), PHG4GDMLWriteParamvol::Trd_dimensionsWrite(), PHG4GDMLWriteSolids::TrdWrite(), PHG4GDMLWriteParamvol::Tube_dimensionsWrite(), PHG4GDMLWriteSolids::TubeWrite(), PHG4GDMLWriteSolids::TwistedboxWrite(), PHG4GDMLWriteSolids::TwistedtrapWrite(), PHG4GDMLWriteSolids::TwistedtrdWrite(), PHG4GDMLWriteSolids::TwistedtubsWrite(), PHG4GDMLWriteMaterials::TWrite(), UserinfoWrite(), PHG4GDMLWriteSolids::XtruWrite(), and PHG4GDMLWriteSolids::ZplaneWrite().
|
protected |
Definition at line 70 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 70 of file PHG4GDMLWrite.cc
Referenced by AddModule(), and Modularize().
Here is the caller graph for this function:
|
static |
Definition at line 396 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 396 of file PHG4GDMLWrite.cc
References addPointerToName.
|
pure virtual |
Implemented in PHG4GDMLWriteSetup.
Referenced by Write().
Here is the caller graph for this function:
|
pure virtual |
Implemented in PHG4GDMLWriteSolids.
Referenced by Write().
Here is the caller graph for this function:
|
pure virtual |
Implemented in PHG4GDMLWriteStructure.
Referenced by Write().
Here is the caller graph for this function:
|
pure virtual |
Implemented in PHG4GDMLWriteStructure.
Referenced by Write().
Here is the caller graph for this function:
|
pure virtual |
Implemented in PHG4GDMLWriteStructure.
Referenced by Write().
Here is the caller graph for this function:
|
virtual |
Definition at line 119 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 119 of file PHG4GDMLWrite.cc
References AddAuxInfo(), auxList, NewElement(), and userinfoElement.
Referenced by Write().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 64 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 64 of file PHG4GDMLWrite.cc
Referenced by PHG4GDMLWriteStructure::TraverseVolumeTree(), and Write().
Here is the caller graph for this function:| G4Transform3D PHG4GDMLWrite::Write | ( | const G4String & | filename, |
| const G4LogicalVolume *const | topLog, | ||
| const G4String & | schemaPath, | ||
| const G4int | depth, | ||
| G4bool | storeReferences = true |
||
| ) |
Definition at line 202 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 202 of file PHG4GDMLWrite.cc
References addPointerToName, DefineWrite(), doc, ErrorMessage(), ExtensionWrite(), FileExists(), MaterialsWrite(), gtest_output_test::message, NewAttribute(), Acts::IntegrationTest::R, SchemaLocation, SetupWrite(), SolidsWrite(), StructureWrite(), SurfacesWrite(), tempStr, TraverseVolumeTree(), UserinfoWrite(), VolumeMap(), and writer.
Referenced by PHG4GDMLUtility::Dump_GDML(), and PHG4GDMLWriteStructure::TraverseVolumeTree().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprotected |
Definition at line 136 of file PHG4GDMLWrite.hh.
View newest version in sPHENIX GitHub at line 136 of file PHG4GDMLWrite.hh
Referenced by GenerateName(), SetAddPointerToName(), and Write().
|
protected |
Definition at line 141 of file PHG4GDMLWrite.hh.
View newest version in sPHENIX GitHub at line 141 of file PHG4GDMLWrite.hh
Referenced by AddAuxiliary(), and UserinfoWrite().
|
protected |
Definition at line 137 of file PHG4GDMLWrite.hh.
View newest version in sPHENIX GitHub at line 137 of file PHG4GDMLWrite.hh
Referenced by NewAttribute(), NewElement(), and Write().
|
protected |
Definition at line 138 of file PHG4GDMLWrite.hh.
View newest version in sPHENIX GitHub at line 138 of file PHG4GDMLWrite.hh
|
protected |
Definition at line 135 of file PHG4GDMLWrite.hh.
View newest version in sPHENIX GitHub at line 135 of file PHG4GDMLWrite.hh
Referenced by PHG4GDMLWriteStructure::TraverseVolumeTree(), and Write().
|
protected |
Definition at line 140 of file PHG4GDMLWrite.hh.
View newest version in sPHENIX GitHub at line 140 of file PHG4GDMLWrite.hh
Referenced by NewAttribute(), NewElement(), and Write().
|
protected |
Definition at line 139 of file PHG4GDMLWrite.hh.
View newest version in sPHENIX GitHub at line 139 of file PHG4GDMLWrite.hh
Referenced by UserinfoWrite().