35 #include "DetectorConstruction.hh"
36 #include "DetectorMessenger.hh"
59 fMaterial(0), fLAbsor(0), fWorldMat(0), fPWorld(0), fDetectorMessenger(0)
62 fWorldSize = 1.1*fRadius;
71 {
delete fDetectorMessenger;}
77 return ConstructVolumes();
82 void DetectorConstruction::DefineMaterials()
87 G4int ncomponents, natoms;
164 sWorld =
new G4Box(
"World",
165 fWorldSize,fWorldSize,fWorldSize);
184 0., fRadius, 0.,
twopi, 0.,
pi);
209 <<
" of " << fMaterial->
GetName()
210 <<
"\n \n" << fMaterial <<
G4endl;
222 fMaterial = pttoMaterial;
226 G4cout <<
"\n--> warning from DetectorConstruction::SetMaterial : "
227 << materialChoice <<
" not found" <<
G4endl;
G4IonisParamMat * GetIonisation() const
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
CLHEP::Hep3Vector G4ThreeVector
int universe_mean_density
void SetMeanExcitationEnergy(G4double value)
static constexpr double perCent
const G4String & GetName() const
G4VPhysicalVolume * Construct()
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
static G4NistManager * Instance()
static constexpr double twopi
static G4PhysicalVolumeStore * GetInstance()
G4GLOB_DLL std::ostream G4cout
double A(double temperature)
const XML_Char int const XML_Char * value
void PhysicsHasBeenModified()
static constexpr double cm
void AddIsotope(G4Isotope *isotope, G4double RelativeAbundance)
static G4LogicalVolumeStore * GetInstance()
static G4SolidStore * GetInstance()
static constexpr double eV
static G4GeometryManager * GetInstance()
static constexpr double kelvin
static constexpr double cm3
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
G4Material * MaterialWithSingleIsotope(G4String, G4String, G4double, G4int, G4int)
void OpenGeometry(G4VPhysicalVolume *vol=0)
void AddElement(G4Element *element, G4int nAtoms)
static constexpr double pi
static constexpr double bar
void SetMaterial(G4Material *pMaterial)
static constexpr double atmosphere
static constexpr double mole
void SetMaterial(G4String)