31 #include "ExG4DetectorConstruction01.hh"
32 #include "ExG4DetectorConstruction01Messenger.hh"
47 fMaterialName(materialName),
48 fDimensions(hx, hy, hz),
106 if ( ! newMaterial ) {
107 G4cerr <<
"Material " << materialName <<
" not found." <<
G4endl;
108 G4cerr <<
"The box material was not changed." <<
G4endl;
112 if ( fWorldVolume ) fWorldVolume->
SetMaterial(newMaterial);
113 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()
G4GLOB_DLL std::ostream G4cout
~ExG4DetectorConstruction01()
void SetMaterial(const G4String &materialName)
void SetMaterial(G4Material *pMaterial)
G4GLOB_DLL std::ostream G4cerr