Geant4
10.01.p03
|
Simple detector construction with only a world volume. More...
#include <ExG4DetectorConstruction01.hh>
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.
ExG4DetectorConstruction01::ExG4DetectorConstruction01 | ( | const G4String & | materialName = "G4_AIR" , |
G4double | hx = 50 *CLHEP::cm , |
||
G4double | hy = 50 *CLHEP::cm , |
||
G4double | hz = 50 *CLHEP::cm |
||
) |
ExG4DetectorConstruction01::~ExG4DetectorConstruction01 | ( | ) |
ExG4DetectorConstruction01::ExG4DetectorConstruction01 | ( | const G4String & | materialName = "G4_AIR" , |
G4double | hx = 50 *CLHEP::cm , |
||
G4double | hy = 50 *CLHEP::cm , |
||
G4double | hz = 50 *CLHEP::cm |
||
) |
ExG4DetectorConstruction01::~ExG4DetectorConstruction01 | ( | ) |
|
virtual |
Implements G4VUserDetectorConstruction.
Definition at line 62 of file ExG4DetectorConstruction01.cc.
References fDimensions, G4NistManager::FindOrBuildMaterial(), fMaterialName, fWorldVolume, and G4NistManager::Instance().
|
virtual |
Implements G4VUserDetectorConstruction.
|
virtual |
Implements G4VUserDetectorConstruction.
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().
void ExG4DetectorConstruction01::SetMaterial | ( | const G4String & | materialName | ) |
void ExG4DetectorConstruction01::SetMaterial | ( | const G4String & | materialName | ) |
|
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().