31 #include "ExG4DetectorConstruction02.hh"
32 #include "ExG4DetectorConstruction02Messenger.hh"
49 fBoxMaterialName(boxMaterialName),
50 fWorldMaterialName(worldMaterialName),
51 fBoxDimensions(boxHx*2, boxHy*2, boxHz*2),
52 fWorldSizeFactor(worldSizeFactor),
140 if ( ! newMaterial ) {
141 G4cerr <<
"Material " << materialName <<
" not found." <<
G4endl;
142 G4cerr <<
"The box material was not changed." <<
G4endl;
147 G4cout <<
"Material of box changed to " << materialName <<
G4endl;
159 if ( ! newMaterial ) {
160 G4cerr <<
"Material " << materialName <<
" not found." <<
G4endl;
161 G4cerr <<
"The box material was not changed." <<
G4endl;
166 G4cout <<
"Material of box changed to " << materialName <<
G4endl;
virtual G4VPhysicalVolume * Construct()
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
CLHEP::Hep3Vector G4ThreeVector
G4LogicalVolume * fWorldVolume
void SetWorldMaterial(const G4String &materialName)
void SetBoxDimensions(G4double hx, G4double hy, G4double hz)
G4String fBoxMaterialName
static G4NistManager * Instance()
G4ThreeVector fBoxDimensions
G4GLOB_DLL std::ostream G4cout
G4String fWorldMaterialName
void SetBoxMaterial(const G4String &materialName)
void SetWorldSizeFactor(G4double factor)
void SetMaterial(G4Material *pMaterial)
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()
G4LogicalVolume * fBoxVolume
G4GLOB_DLL std::ostream G4cerr
G4double fWorldSizeFactor