Geant4  10.02.p02
G4STRead Class Reference

#include <G4STRead.hh>

+ Collaboration diagram for G4STRead:

Public Member Functions

G4LogicalVolumeRead (const G4String &, G4Material *mediumMaterial, G4Material *solidMaterial)
 

Private Member Functions

void TessellatedRead (const std::string &)
 
void FacetRead (const std::string &)
 
void PhysvolRead (const std::string &)
 
void ReadGeom (const G4String &)
 
void ReadTree (const G4String &)
 

Private Attributes

G4Boxworld_box
 
G4ThreeVector world_extent
 
G4Materialsolid_material
 
G4LogicalVolumeworld_volume
 
std::vector< G4TessellatedSolid * > tessellatedList
 
std::map< G4TessellatedSolid
*, G4LogicalVolume * > 
volumeMap
 

Detailed Description

Definition at line 55 of file G4STRead.hh.

Member Function Documentation

void G4STRead::FacetRead ( const std::string &  line)
private

Definition at line 69 of file G4STRead.cc.

References ABSOLUTE, FatalException, G4Exception(), and tessellatedList.

Referenced by ReadGeom().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4STRead::PhysvolRead ( const std::string &  line)
private

Definition at line 113 of file G4STRead.cc.

References FatalException, G4cout, G4endl, G4Exception(), kXAxis, kYAxis, kZAxis, name, pos, tessellatedList, volumeMap, world_extent, and world_volume.

Referenced by ReadTree().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4LogicalVolume * G4STRead::Read ( const G4String name,
G4Material mediumMaterial,
G4Material solidMaterial 
)

Definition at line 253 of file G4STRead.cc.

References FatalException, G4Exception(), G4Box::GetXHalfLength(), G4Box::GetYHalfLength(), G4Box::GetZHalfLength(), kInfinity, ReadGeom(), ReadTree(), G4Box::SetXHalfLength(), G4Box::SetYHalfLength(), G4Box::SetZHalfLength(), solid_material, world_box, world_extent, and world_volume.

+ Here is the call graph for this function:

void G4STRead::ReadGeom ( const G4String name)
private

Definition at line 198 of file G4STRead.cc.

References FacetRead(), FatalException, G4cout, G4endl, G4Exception(), name, tessellatedList, TessellatedRead(), and volumeMap.

Referenced by Read().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4STRead::ReadTree ( const G4String name)
private

Definition at line 229 of file G4STRead.cc.

References FatalException, G4cout, G4endl, G4Exception(), name, and PhysvolRead().

Referenced by Read().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4STRead::TessellatedRead ( const std::string &  line)
private

Definition at line 48 of file G4STRead.cc.

References G4cout, G4endl, name, solid_material, tessellatedList, and volumeMap.

Referenced by ReadGeom().

+ Here is the caller graph for this function:

Member Data Documentation

G4Material* G4STRead::solid_material
private

Definition at line 73 of file G4STRead.hh.

Referenced by Read(), and TessellatedRead().

std::vector<G4TessellatedSolid*> G4STRead::tessellatedList
private

Definition at line 75 of file G4STRead.hh.

Referenced by FacetRead(), PhysvolRead(), ReadGeom(), and TessellatedRead().

std::map<G4TessellatedSolid*,G4LogicalVolume*> G4STRead::volumeMap
private

Definition at line 76 of file G4STRead.hh.

Referenced by PhysvolRead(), ReadGeom(), and TessellatedRead().

G4Box* G4STRead::world_box
private

Definition at line 71 of file G4STRead.hh.

Referenced by Read().

G4ThreeVector G4STRead::world_extent
private

Definition at line 72 of file G4STRead.hh.

Referenced by PhysvolRead(), and Read().

G4LogicalVolume* G4STRead::world_volume
private

Definition at line 74 of file G4STRead.hh.

Referenced by PhysvolRead(), and Read().


The documentation for this class was generated from the following files: