EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_coresoftware/blob/master/simulation/g4simulation/g4gdml/PHG4GDMLWrite.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 (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 58 of file PHG4GDMLWrite.hh.
View newest version in sPHENIX GitHub at line 58 of file PHG4GDMLWrite.hh
|
private |
Definition at line 62 of file PHG4GDMLWrite.hh.
View newest version in sPHENIX GitHub at line 62 of file PHG4GDMLWrite.hh
|
private |
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 60 of file PHG4GDMLWrite.hh.
View newest version in sPHENIX GitHub at line 60 of file PHG4GDMLWrite.hh
|
protected |
Definition at line 46 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 46 of file PHG4GDMLWrite.cc
|
protectedvirtual |
Definition at line 50 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 50 of file PHG4GDMLWrite.cc
void PHG4GDMLWrite::AddAuxiliary | ( | PHG4GDMLAuxStructType | myaux | ) |
Definition at line 349 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 349 of file PHG4GDMLWrite.cc
References auxList.
|
protected |
Definition at line 90 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 90 of file PHG4GDMLWrite.cc
References NewAttribute(), and NewElement().
Referenced by PHG4GDMLWriteStructure::TraverseVolumeTree(), and UserinfoWrite().
|
virtual |
Definition at line 78 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 78 of file PHG4GDMLWrite.cc
Referenced by PHG4GDMLWriteStructure::TraverseVolumeTree().
void PHG4GDMLWrite::AddModule | ( | const G4VPhysicalVolume *const | topVol | ) |
Definition at line 281 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 281 of file PHG4GDMLWrite.cc
References GenerateName(), and PvolumeMap().
void PHG4GDMLWrite::AddModule | ( | const G4int | depth | ) |
Definition at line 314 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 314 of file PHG4GDMLWrite.cc
References DepthMap().
|
pure virtual |
Implemented in PHG4GDMLWriteDefine.
Referenced by Write().
|
protected |
Definition at line 72 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 72 of file PHG4GDMLWrite.cc
Referenced by AddModule(), and Modularize().
|
virtual |
Definition at line 85 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 85 of file PHG4GDMLWrite.cc
Referenced by Write().
|
protected |
Definition at line 54 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 54 of file PHG4GDMLWrite.cc
Referenced by Write().
G4String PHG4GDMLWrite::GenerateName | ( | const G4String & | name, |
const void * const | ptr | ||
) |
Definition at line 123 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 123 of file PHG4GDMLWrite.cc
References addPointerToName, and 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().
|
pure virtual |
Implemented in PHG4GDMLWriteMaterials.
Referenced by Write().
|
protected |
Definition at line 329 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 329 of file PHG4GDMLWrite.cc
References DepthMap(), and PvolumeMap().
Referenced by PHG4GDMLWriteStructure::TraverseVolumeTree().
|
protected |
Definition at line 136 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 136 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 146 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 146 of file PHG4GDMLWrite.cc
|
protected |
Definition at line 160 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 160 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 66 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 66 of file PHG4GDMLWrite.cc
Referenced by AddModule(), and Modularize().
|
static |
Definition at line 354 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 354 of file PHG4GDMLWrite.cc
References addPointerToName.
|
pure virtual |
Implemented in PHG4GDMLWriteSetup.
Referenced by Write().
|
pure virtual |
Implemented in PHG4GDMLWriteSolids.
Referenced by Write().
|
pure virtual |
Implemented in PHG4GDMLWriteStructure.
Referenced by Write().
|
pure virtual |
Implemented in PHG4GDMLWriteStructure.
Referenced by Write().
|
pure virtual |
Implemented in PHG4GDMLWriteStructure.
Referenced by Write().
|
virtual |
Definition at line 111 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 111 of file PHG4GDMLWrite.cc
References AddAuxInfo(), auxList, NewElement(), and userinfoElement.
Referenced by Write().
|
protected |
Definition at line 60 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 60 of file PHG4GDMLWrite.cc
Referenced by PHG4GDMLWriteStructure::TraverseVolumeTree(), and Write().
G4Transform3D PHG4GDMLWrite::Write | ( | const G4String & | filename, |
const G4LogicalVolume *const | topLog, | ||
const G4String & | schemaPath, | ||
const G4int | depth, | ||
G4bool | storeReferences = true |
||
) |
Definition at line 166 of file PHG4GDMLWrite.cc.
View newest version in sPHENIX GitHub at line 166 of file PHG4GDMLWrite.cc
References addPointerToName, DefineWrite(), doc, ExtensionWrite(), FileExists(), MaterialsWrite(), NewAttribute(), Acts::IntegrationTest::R, conf::release, SchemaLocation, SetupWrite(), SolidsWrite(), StructureWrite(), SurfacesWrite(), tempStr, TraverseVolumeTree(), UserinfoWrite(), and VolumeMap().
Referenced by PHG4GDMLUtility::Dump_GDML(), and PHG4GDMLWriteStructure::TraverseVolumeTree().
|
staticprotected |
Definition at line 133 of file PHG4GDMLWrite.hh.
View newest version in sPHENIX GitHub at line 133 of file PHG4GDMLWrite.hh
Referenced by GenerateName(), SetAddPointerToName(), and Write().
|
protected |
Definition at line 138 of file PHG4GDMLWrite.hh.
View newest version in sPHENIX GitHub at line 138 of file PHG4GDMLWrite.hh
Referenced by AddAuxiliary(), and UserinfoWrite().
|
protected |
Definition at line 134 of file PHG4GDMLWrite.hh.
View newest version in sPHENIX GitHub at line 134 of file PHG4GDMLWrite.hh
Referenced by NewAttribute(), NewElement(), and Write().
|
protected |
Definition at line 135 of file PHG4GDMLWrite.hh.
View newest version in sPHENIX GitHub at line 135 of file PHG4GDMLWrite.hh
|
protected |
Definition at line 132 of file PHG4GDMLWrite.hh.
View newest version in sPHENIX GitHub at line 132 of file PHG4GDMLWrite.hh
Referenced by PHG4GDMLWriteStructure::TraverseVolumeTree(), and Write().
|
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 136 of file PHG4GDMLWrite.hh.
View newest version in sPHENIX GitHub at line 136 of file PHG4GDMLWrite.hh
Referenced by UserinfoWrite().