Geant4_10
|
Simple detector construction with a box volume placed in a world. More...
#include <ExG4DetectorConstruction02.hh>
Public Member Functions | |
ExG4DetectorConstruction02 (const G4String &boxMaterialName="G4_AIR", G4double boxHx=40 *CLHEP::cm, G4double boxHy=40 *CLHEP::cm, G4double boxHz=40 *CLHEP::cm, const G4String &worldMaterialName="G4_AIR", G4double worldSizeFactor=1.25) | |
~ExG4DetectorConstruction02 () | |
virtual G4VPhysicalVolume * | Construct () |
void | SetBoxMaterial (const G4String &materialName) |
void | SetWorldMaterial (const G4String &materialName) |
void | SetBoxDimensions (G4double hx, G4double hy, G4double hz) |
void | SetWorldSizeFactor (G4double factor) |
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) |
Simple detector construction with a box volume placed in a world.
Definition at line 48 of file ExG4DetectorConstruction02.hh.
ExG4DetectorConstruction02::ExG4DetectorConstruction02 | ( | const G4String & | boxMaterialName = "G4_AIR" , |
G4double | boxHx = 40*CLHEP::cm , |
||
G4double | boxHy = 40*CLHEP::cm , |
||
G4double | boxHz = 40*CLHEP::cm , |
||
const G4String & | worldMaterialName = "G4_AIR" , |
||
G4double | worldSizeFactor = 1.25 |
||
) |
Definition at line 43 of file ExG4DetectorConstruction02.cc.
ExG4DetectorConstruction02::~ExG4DetectorConstruction02 | ( | ) |
Definition at line 61 of file ExG4DetectorConstruction02.cc.
|
virtual |
Implements G4VUserDetectorConstruction.
Definition at line 67 of file ExG4DetectorConstruction02.cc.
Set box dimension (in half lengths). This setting has effect only if called in PreInit> phase
Definition at line 172 of file ExG4DetectorConstruction02.cc.
Definition at line 134 of file ExG4DetectorConstruction02.cc.
Definition at line 153 of file ExG4DetectorConstruction02.cc.
Set the multiplication factor from box dimensions to world dimensions. This setting has effect only if called in PreInit> phase
Definition at line 183 of file ExG4DetectorConstruction02.cc.