Geant4
10.00.p01
|
Simple detector construction with only a world volume. More...
#include <ExG4DetectorConstruction01.hh>
Public Member Functions | |
ExG4DetectorConstruction01 (const G4String &materialName="G4_AIR", G4double hx=50 *CLHEP::cm, G4double hy=50 *CLHEP::cm, G4double hz=50 *CLHEP::cm) | |
~ExG4DetectorConstruction01 () | |
virtual G4VPhysicalVolume * | Construct () |
void | SetMaterial (const G4String &materialName) |
void | SetDimensions (G4double hx, G4double hy, G4double hz) |
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 |
Private Attributes | |
ExG4DetectorConstruction01Messenger | fMessenger |
G4String | fMaterialName |
G4ThreeVector | fDimensions |
G4LogicalVolume * | fWorldVolume |
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) |
Simple detector construction with only a world volume.
Definition at line 48 of file ExG4DetectorConstruction01.hh.
ExG4DetectorConstruction01::ExG4DetectorConstruction01 | ( | const G4String & | materialName = "G4_AIR" , |
G4double | hx = 50*CLHEP::cm , |
||
G4double | hy = 50*CLHEP::cm , |
||
G4double | hz = 50*CLHEP::cm |
||
) |
Definition at line 43 of file ExG4DetectorConstruction01.cc.
ExG4DetectorConstruction01::~ExG4DetectorConstruction01 | ( | ) |
Definition at line 56 of file ExG4DetectorConstruction01.cc.
|
virtual |
Implements G4VUserDetectorConstruction.
Definition at line 62 of file ExG4DetectorConstruction01.cc.
References fDimensions, G4NistManager::FindOrBuildMaterial(), fMaterialName, fWorldVolume, and G4NistManager::Instance().
Set world dimension (in half lengths). This setting has effect only if called in PreInit> phase
Definition at line 119 of file ExG4DetectorConstruction01.cc.
References fDimensions.
Referenced by ExG4DetectorConstruction01Messenger::SetNewValue().
void ExG4DetectorConstruction01::SetMaterial | ( | const G4String & | materialName | ) |
Definition at line 100 of file ExG4DetectorConstruction01.cc.
References G4NistManager::FindOrBuildMaterial(), fWorldVolume, G4cerr, G4cout, G4endl, G4NistManager::Instance(), and G4LogicalVolume::SetMaterial().
Referenced by ExG4DetectorConstruction01Messenger::SetNewValue().
|
private |
Definition at line 70 of file ExG4DetectorConstruction01.hh.
Referenced by Construct(), and SetDimensions().
|
private |
Definition at line 69 of file ExG4DetectorConstruction01.hh.
Referenced by Construct().
|
private |
Definition at line 67 of file ExG4DetectorConstruction01.hh.
|
private |
Definition at line 71 of file ExG4DetectorConstruction01.hh.
Referenced by Construct(), and SetMaterial().