34 #include "DetectorConstruction.hh"
35 #include "DetectorMessenger.hh"
67 {
delete fDetectorMessenger;}
73 return ConstructVolumes();
78 void DetectorConstruction::DefineMaterials()
97 G4int ncomponents, natoms;
164 sBox =
new G4Box(
"Container",
165 fBoxSize/2,fBoxSize/2,fBoxSize/2);
203 fMaterial = pttoMaterial;
206 G4cout <<
"\n--> warning from DetectorConstruction::SetMaterial : "
207 << materialChoice <<
" not found" <<
G4endl;
G4IonisParamMat * GetIonisation() const
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
void SetChemicalFormula(const G4String &chF)
static constexpr double mg
CLHEP::Hep3Vector G4ThreeVector
std::vector< ExP01TrackerHit * > a
void SetMeanExcitationEnergy(G4double value)
static constexpr double perCent
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()
G4GLOB_DLL std::ostream G4cout
const XML_Char int const XML_Char * value
void PhysicsHasBeenModified()
static constexpr double cm
static G4LogicalVolumeStore * GetInstance()
static G4SolidStore * GetInstance()
static constexpr double eV
static G4GeometryManager * GetInstance()
static constexpr double cm3
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
void OpenGeometry(G4VPhysicalVolume *vol=0)
void AddElement(G4Element *element, G4int nAtoms)
static constexpr double mole
void SetMaterial(G4String)