Geant4
10.00.p01
|
Detector construction for the GDML extensions example. More...
#include <G03DetectorConstruction.hh>
Public Member Functions | |
G03DetectorConstruction () | |
~G03DetectorConstruction () | |
virtual G4VPhysicalVolume * | Construct () |
void | ListOfMaterials () |
void | SetReadFile (const G4String &fname) |
void | SetWriteFile (const G4String &fname) |
Public Member Functions inherited from G4VUserDetectorConstruction | |
G4VUserDetectorConstruction () | |
virtual | ~G4VUserDetectorConstruction () |
virtual void | ConstructSDandField () |
virtual void | CloneSD () |
virtual void | CloneF () |
void | RegisterParallelWorld (G4VUserParallelWorld *) |
G4int | ConstructParallelGeometries () |
void | ConstructParallelSD () |
G4int | GetNumberOfParallelWorld () const |
G4VUserParallelWorld * | GetParallelWorld (G4int i) const |
Additional Inherited Members | |
Protected Member Functions inherited from G4VUserDetectorConstruction | |
void | SetSensitiveDetector (const G4String &logVolName, G4VSensitiveDetector *aSD, G4bool multi=false) |
void | SetSensitiveDetector (G4LogicalVolume *logVol, G4VSensitiveDetector *aSD) |
Detector construction for the GDML extensions example.
Definition at line 50 of file G03DetectorConstruction.hh.
G03DetectorConstruction::G03DetectorConstruction | ( | ) |
Definition at line 60 of file G03DetectorConstruction.cc.
References fDetectorMessenger, fParser, fReader, fReadFile, fWriteFile, fWriter, and fWritingChoice.
G03DetectorConstruction::~G03DetectorConstruction | ( | ) |
Definition at line 79 of file G03DetectorConstruction.cc.
References fDetectorMessenger, fParser, fReader, and fWriter.
|
virtual |
Implements G4VUserDetectorConstruction.
Definition at line 89 of file G03DetectorConstruction.cc.
References fParser, fReadFile, fWriteFile, fWritingChoice, G4cout, G4endl, G4Material::GetMaterialTable(), G4GDMLParser::GetWorldVolume(), G4GDMLParser::Read(), and G4GDMLParser::Write().
void G03DetectorConstruction::ListOfMaterials | ( | ) |
Definition at line 119 of file G03DetectorConstruction.cc.
References a, G4Material::AddElement(), atmosphere, cm3, density, elN, elO, fAir, fAluminum, fPb, fXenon, g, G4cout, G4endl, G4Element::GetElementTable(), G4Material::GetMaterialTable(), kelvin, kStateGas, mg, mole, name, symbol, and z.
void G03DetectorConstruction::SetReadFile | ( | const G4String & | fname | ) |
Definition at line 173 of file G03DetectorConstruction.cc.
References fReadFile, and fWritingChoice.
Referenced by G03DetectorMessenger::SetNewValue().
void G03DetectorConstruction::SetWriteFile | ( | const G4String & | fname | ) |
Definition at line 181 of file G03DetectorConstruction.cc.
References fWriteFile, and fWritingChoice.
Referenced by G03DetectorMessenger::SetNewValue().
|
private |
Definition at line 74 of file G03DetectorConstruction.hh.
Referenced by ListOfMaterials().
|
private |
Definition at line 75 of file G03DetectorConstruction.hh.
Referenced by ListOfMaterials().
|
private |
Definition at line 98 of file G03DetectorConstruction.hh.
Referenced by G03DetectorConstruction(), and ~G03DetectorConstruction().
|
private |
Definition at line 89 of file G03DetectorConstruction.hh.
Referenced by Construct(), G03DetectorConstruction(), and ~G03DetectorConstruction().
|
private |
Definition at line 76 of file G03DetectorConstruction.hh.
Referenced by ListOfMaterials().
|
private |
Definition at line 81 of file G03DetectorConstruction.hh.
Referenced by G03DetectorConstruction(), and ~G03DetectorConstruction().
|
private |
Definition at line 93 of file G03DetectorConstruction.hh.
Referenced by Construct(), G03DetectorConstruction(), and SetReadFile().
|
private |
Definition at line 93 of file G03DetectorConstruction.hh.
Referenced by Construct(), G03DetectorConstruction(), and SetWriteFile().
|
private |
Definition at line 85 of file G03DetectorConstruction.hh.
Referenced by G03DetectorConstruction(), and ~G03DetectorConstruction().
|
private |
Definition at line 94 of file G03DetectorConstruction.hh.
Referenced by Construct(), G03DetectorConstruction(), SetReadFile(), and SetWriteFile().
|
private |
Definition at line 77 of file G03DetectorConstruction.hh.
Referenced by ListOfMaterials().