Analysis Software
Documentation for sPHENIX simulation software
|
Construct the Geant4 detector from a Gdml file. More...
Public Member Functions | |
GdmlDetectorConstruction (std::string path) | |
G4VPhysicalVolume * | Construct () override |
Private Attributes | |
std::string | m_path |
Path to the Gdml file. | |
G4VPhysicalVolume * | m_world = nullptr |
Cached worled volume. | |
Construct the Geant4 detector from a Gdml file.
Definition at line 22 of file GdmlDetectorConstruction.hpp.
View newest version in sPHENIX GitHub at line 22 of file GdmlDetectorConstruction.hpp
GdmlDetectorConstruction::GdmlDetectorConstruction | ( | std::string | path | ) |
path | is the path to the Gdml file |
Definition at line 19 of file GdmlDetectorConstruction.cpp.
View newest version in sPHENIX GitHub at line 19 of file GdmlDetectorConstruction.cpp
|
override |
Read the file and parse it to construct the Geant4 description
Definition at line 22 of file GdmlDetectorConstruction.cpp.
View newest version in sPHENIX GitHub at line 22 of file GdmlDetectorConstruction.cpp
References m_path, m_world, and filter::parser.
Referenced by ActsExamples::MockupSectorBuilder::MockupSectorBuilder(), and PYBIND11_MODULE().
|
private |
Path to the Gdml file.
Definition at line 35 of file GdmlDetectorConstruction.hpp.
View newest version in sPHENIX GitHub at line 35 of file GdmlDetectorConstruction.hpp
Referenced by Construct().
|
private |
Cached worled volume.
Definition at line 37 of file GdmlDetectorConstruction.hpp.
View newest version in sPHENIX GitHub at line 37 of file GdmlDetectorConstruction.hpp
Referenced by Construct().