35 #include "DetectorConstruction.hh"
36 #include "DetectorMessenger.hh"
68 {
delete fDetectorMessenger;}
74 return ConstructVolumes();
79 void DetectorConstruction::DefineMaterials()
97 G4int ncomponents, natoms;
116 density = 0.001*
mg/
cm3;
180 sBox =
new G4Box(
"Container",
181 fBoxSize/2,fBoxSize/2,fBoxSize/2);
220 fMaterial = pttoMaterial;
223 G4cout <<
"\n--> warning from DetectorConstruction::SetMaterial : "
224 << materialChoice <<
" not found" <<
G4endl;
245 if ( fFieldMessenger.
Get() == 0 ) {
254 fFieldMessenger.
Put( msg );
G4IonisParamMat * GetIonisation() const
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
CLHEP::Hep3Vector G4ThreeVector
void AddMaterial(G4Material *material, G4double fraction)
void SetMeanExcitationEnergy(G4double value)
const G4String & GetName() const
G4VPhysicalVolume * Construct()
static G4MaterialTable * GetMaterialTable()
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
static G4NistManager * Instance()
static G4PhysicalVolumeStore * GetInstance()
void ConstructSDandField()
G4GLOB_DLL std::ostream G4cout
void PhysicsHasBeenModified()
static G4LogicalVolumeStore * GetInstance()
static G4SolidStore * GetInstance()
static G4GeometryManager * GetInstance()
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
const XML_Char int const XML_Char * value
void OpenGeometry(G4VPhysicalVolume *vol=0)
void AddElement(G4Element *element, G4int nAtoms)
void SetMaterial(G4Material *pMaterial)
void Put(const value_type &val) const
void SetMaterial(G4String)