#include <DetectorConstruction.h>
Public Member Functions | |
| DetectorConstruction () | |
| ~DetectorConstruction () | |
| G4VPhysicalVolume * | Construct () |
| void | SetGDMLFile (const char *filename) |
Private Attributes | |
| std::string | fGDMLFile |
| File to read geometry from. | |
| DetectorMessenger * | fMessenger |
| Command handler. | |
| G4GDMLParser * | fGDMLParser |
| Parser for GDML geometry file. | |
Definition at line 19 of file DetectorConstruction.h.
|
|
Definition at line 12 of file DetectorConstruction.cxx. References fGDMLFile, fGDMLParser, and fMessenger. 00013 {
00014 fGDMLFile = "fardet.gdml";
00015 fMessenger = new DetectorMessenger(this);
00016 fGDMLParser = new G4GDMLParser;
00017 }
|
|
|
Definition at line 21 of file DetectorConstruction.cxx. 00022 {
00023 delete fMessenger;
00024 delete fGDMLParser;
00025 }
|
|
|
Definition at line 36 of file DetectorConstruction.cxx. References fGDMLFile, and fGDMLParser. 00037 {
00038 fGDMLParser->Read(fGDMLFile);
00039 std::cout << *(G4Material::GetMaterialTable()) << std::endl;
00040 return fGDMLParser->GetWorldVolume();
00041 }
|
|
|
Definition at line 29 of file DetectorConstruction.cxx. References fGDMLFile. Referenced by g4nova::DetectorMessenger::SetNewValue(). 00030 {
00031 fGDMLFile = filename;
00032 }
|
|
|
File to read geometry from.
Definition at line 30 of file DetectorConstruction.h. Referenced by Construct(), DetectorConstruction(), and SetGDMLFile(). |
|
|
Parser for GDML geometry file.
Definition at line 32 of file DetectorConstruction.h. Referenced by Construct(), and DetectorConstruction(). |
|
|
Command handler.
Definition at line 31 of file DetectorConstruction.h. Referenced by DetectorConstruction(). |
1.3.9.1