48 fMaterialName(materialName),
49 fDimensions(hx, hy, hz),
107 if ( ! newMaterial ) {
108 G4cerr <<
"Material " << materialName <<
" not found." <<
G4endl;
109 G4cerr <<
"The box material was not changed." <<
G4endl;
114 G4cout <<
"Material of box changed to " << materialName <<
G4endl;
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
CLHEP::Hep3Vector G4ThreeVector
void SetDimensions(G4double hx, G4double hy, G4double hz)
ExG4DetectorConstruction01(const G4String &materialName="G4_AIR", G4double hx=50 *CLHEP::cm, G4double hy=50 *CLHEP::cm, G4double hz=50 *CLHEP::cm)
virtual G4VPhysicalVolume * Construct()
static G4NistManager * Instance()
G4LogicalVolume * fWorldVolume
G4GLOB_DLL std::ostream G4cout
~ExG4DetectorConstruction01()
Definition of the ExG4DetectorConstruction01Messenger class.
void SetMaterial(const G4String &materialName)
G4ThreeVector fDimensions
Definition of the ExG4DetectorConstruction01 class.
void SetMaterial(G4Material *pMaterial)
G4GLOB_DLL std::ostream G4cerr