34 #include "DetectorConstruction.hh"
35 #include "DetectorMessenger.hh"
240 G4cout <<
"\n-------------------------------------------------------------"
241 <<
"\n ---> The Absorber is " <<
fNbOfAbsor <<
" layers of:";
247 G4cout <<
"\n-------------------------------------------------------------\n"
258 {
G4cout <<
"\n ---> warning from SetfNbOfAbsor: "
259 << ival <<
" must be at least 1 and and most " <<
kMaxAbsor-1
260 <<
". Command refused" <<
G4endl;
273 if (iabs > fNbOfAbsor || iabs <= 0)
274 {
G4cout <<
"\n --->warning from SetfAbsorMaterial: absor number "
275 << iabs <<
" out of range. Command refused" <<
G4endl;
293 if (iabs > fNbOfAbsor || iabs <= 0)
294 {
G4cout <<
"\n --->warning from SetfAbsorThickness: absor number "
295 << iabs <<
" out of range. Command refused" <<
G4endl;
299 {
G4cout <<
"\n --->warning from SetfAbsorThickness: thickness "
300 << val <<
" out of range. Command refused" <<
G4endl;
314 {
G4cout <<
"\n --->warning from SetfAbsorSizeYZ: thickness "
315 << val <<
" out of range. Command refused" <<
G4endl;
static constexpr double kelvin
static G4RunManager * GetRunManager()
CLHEP::Hep3Vector G4ThreeVector
static constexpr double mm
G4Material * fAbsorMaterial[kMaxAbsor]
static constexpr double perCent
G4VPhysicalVolume * Construct()
void SetMeanExcitationEnergy(G4double value)
G4VPhysicalVolume * fPhysiWorld
static constexpr double universe_mean_density
G4double fXfront[kMaxAbsor]
const G4String & GetName() const
void AddIsotope(G4Isotope *isotope, G4double RelativeAbundance)
G4Element * FindOrBuildElement(G4int Z, G4bool isotopes=true)
static constexpr double g
virtual void ConstructSDandField()
G4double fAbsorThickness[kMaxAbsor]
void SetAbsorSizeYZ(G4double)
G4Material * fDefaultMaterial
static G4GeometryManager * GetInstance()
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
double A(double temperature)
static constexpr double eV
void OpenGeometry(G4VPhysicalVolume *vol=0)
void Put(const value_type &val) const
G4VPhysicalVolume * ConstructVolumes()
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
void SetAbsorThickness(G4int, G4double)
static G4SolidStore * GetInstance()
static G4PhysicalVolumeStore * GetInstance()
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
void AddElement(G4Element *element, G4int nAtoms)
G4IonisParamMat * GetIonisation() const
void SetAbsorMaterial(G4int, const G4String &)
void PhysicsHasBeenModified()
G4Cache< G4GlobalMagFieldMessenger * > fFieldMessenger
G4GLOB_DLL std::ostream G4cout
DetectorMessenger * fDetectorMessenger
static constexpr double mole
static constexpr double cm3
static G4LogicalVolumeStore * GetInstance()
static G4NistManager * Instance()
G4Material * MaterialWithSingleIsotope(G4String, G4String, G4double, G4int, G4int)