Geant4-11
|
#include <G4STRead.hh>
Public Member Functions | |
G4LogicalVolume * | Read (const G4String &, G4Material *mediumMaterial, G4Material *solidMaterial) |
Private Member Functions | |
void | FacetRead (const std::string &) |
void | PhysvolRead (const std::string &) |
void | ReadGeom (const G4String &) |
void | ReadTree (const G4String &) |
void | TessellatedRead (const std::string &) |
Private Attributes | |
G4Material * | solid_material = nullptr |
std::vector< G4TessellatedSolid * > | tessellatedList |
std::map< G4TessellatedSolid *, G4LogicalVolume * > | volumeMap |
G4Box * | world_box = nullptr |
G4ThreeVector | world_extent |
G4LogicalVolume * | world_volume = nullptr |
Definition at line 49 of file G4STRead.hh.
|
private |
Definition at line 70 of file G4STRead.cc.
References ABSOLUTE, FatalException, G4Exception(), and tessellatedList.
Referenced by ReadGeom().
|
private |
Definition at line 112 of file G4STRead.cc.
References G4TessellatedSolid::CalculateExtent(), FatalException, G4cout, G4endl, G4Exception(), CLHEP::HepRotation::inverse(), kXAxis, kYAxis, kZAxis, G4InuclParticleNames::name(), pos, CLHEP::Hep3Vector::setX(), CLHEP::Hep3Vector::setY(), CLHEP::Hep3Vector::setZ(), tessellatedList, volumeMap, world_extent, world_volume, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by ReadTree().
G4LogicalVolume * G4STRead::Read | ( | const G4String & | name, |
G4Material * | mediumMaterial, | ||
G4Material * | solidMaterial | ||
) |
Definition at line 275 of file G4STRead.cc.
References FatalException, G4Exception(), G4Box::GetXHalfLength(), G4Box::GetYHalfLength(), G4Box::GetZHalfLength(), kInfinity, G4InuclParticleNames::name(), ReadGeom(), ReadTree(), G4Box::SetXHalfLength(), G4Box::SetYHalfLength(), G4Box::SetZHalfLength(), solid_material, world_box, world_extent, world_volume, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
|
private |
Definition at line 210 of file G4STRead.cc.
References FacetRead(), FatalException, G4cout, G4endl, G4Exception(), G4InuclParticleNames::name(), tessellatedList, TessellatedRead(), and volumeMap.
Referenced by Read().
|
private |
Definition at line 248 of file G4STRead.cc.
References FatalException, G4cout, G4endl, G4Exception(), G4InuclParticleNames::name(), and PhysvolRead().
Referenced by Read().
|
private |
Definition at line 46 of file G4STRead.cc.
References G4cout, G4endl, G4InuclParticleNames::name(), solid_material, tessellatedList, and volumeMap.
Referenced by ReadGeom().
|
private |
Definition at line 68 of file G4STRead.hh.
Referenced by Read(), and TessellatedRead().
|
private |
Definition at line 71 of file G4STRead.hh.
Referenced by FacetRead(), PhysvolRead(), ReadGeom(), and TessellatedRead().
|
private |
Definition at line 72 of file G4STRead.hh.
Referenced by PhysvolRead(), ReadGeom(), and TessellatedRead().
|
private |
Definition at line 66 of file G4STRead.hh.
Referenced by Read().
|
private |
Definition at line 67 of file G4STRead.hh.
Referenced by PhysvolRead(), and Read().
|
private |
Definition at line 69 of file G4STRead.hh.
Referenced by PhysvolRead(), and Read().