34 #include "DetectorConstruction.hh"
35 #include "DetectorMessenger.hh"
57 fWorld(0), fBox(0), fTargetMaterial(0), fWorldMaterial(0)
62 SetTargetMaterial(
"G4_Fe");
89 sWorld =
new G4Box(
"World",
108 sBox =
new G4Box(
"Container",
157 G4cout <<
"### Warning! Target material: <"
158 << materialChoice <<
"> not found" <<
G4endl;
175 G4cout <<
"### Warning! World material: <"
176 << materialChoice <<
"> not found" <<
G4endl;
static G4RunManager * GetRunManager()
CLHEP::Hep3Vector G4ThreeVector
static constexpr double mm
G4VPhysicalVolume * Construct()
void SetWorldMaterial(G4Material *amaterial)
virtual void DefineWorldVolume(G4VPhysicalVolume *worldVol, G4bool topologyIsChanged=true)
const G4String & GetName() const
void SetWorldMaterial(const G4String &materialName)
static constexpr double m
G4VPhysicalVolume * fWorld
const XML_Char int const XML_Char * value
static G4GeometryManager * GetInstance()
void SetTargetMaterial(const G4String &)
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
void OpenGeometry(G4VPhysicalVolume *vol=0)
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
static G4SolidStore * GetInstance()
static G4PhysicalVolumeStore * GetInstance()
G4Material * fTargetMaterial
G4GenericMessenger * fMessenger
G4GLOB_DLL std::ostream G4cout
G4Material * fWorldMaterial
static G4PolarizationManager * GetInstance()
static G4LogicalVolumeStore * GetInstance()
static G4NistManager * Instance()