31 #ifndef ExG4DetectorConstruction02_h
32 #define ExG4DetectorConstruction02_h 1
40 #include "CLHEP/Units/SystemOfUnits.h"
52 const G4String& boxMaterialName =
"G4_AIR",
56 const G4String& worldMaterialName =
"G4_AIR",
virtual G4VPhysicalVolume * Construct()
CLHEP::Hep3Vector G4ThreeVector
void SetWorldMaterial(const G4String &materialName)
void SetBoxDimensions(G4double hx, G4double hy, G4double hz)
G4String fBoxMaterialName
G4ThreeVector fBoxDimensions
Messenger class that defines commands for ExG4DetectorConstruction02.
Simple detector construction with a box volume placed in a world.
G4String fWorldMaterialName
void SetBoxMaterial(const G4String &materialName)
Definition of the ExG4DetectorConstruction02Messenger class.
ExG4DetectorConstruction02Messenger fMessenger
void SetWorldSizeFactor(G4double factor)
G4LogicalVolume * fWorldVolume
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()
Messenger class that defines commands for DetectorConstruction.
G4LogicalVolume * fBoxVolume
G4double fWorldSizeFactor