35 #include "DetectorConstruction.hh"
36 #include "DetectorMessenger.hh"
59 fAbsorMaterial(0), fLAbsor(0), fContainMaterial(0), fLContain(0),
60 fWorldMaterial(0), fPWorld(0), fDetectorMessenger(0)
87 G4int ncomponents, natoms;
152 G4double WorldSizeXY = 2.4*ContainRadius;
153 G4double WorldSizeZ = 1.2*ContainLength;
158 sWorld =
new G4Box(
"World",
159 0.5*WorldSizeXY,0.5*WorldSizeXY,0.5*WorldSizeZ);
177 sContain =
new G4Tubs(
"Container",
178 0., ContainRadius, 0.5*ContainLength, 0.,
twopi);
195 sAbsor =
new G4Tubs(
"Absorber",
244 G4cout <<
"\n--> warning from DetectorConstruction::SetAbsorMaterial : "
245 << materialChoice <<
" not found" <<
G4endl;
262 G4cout <<
"\n--> warning from DetectorConstruction::SetContainMaterial : "
263 << materialChoice <<
" not found" <<
G4endl;
287 fContainThickness =
value;
static G4RunManager * GetRunManager()
G4double fContainThickness
CLHEP::Hep3Vector G4ThreeVector
G4LogicalVolume * fLAbsor
static constexpr double mm
G4Material * fAbsorMaterial[kMaxAbsor]
static constexpr double perCent
G4VPhysicalVolume * Construct()
G4Material * fContainMaterial
const G4String & GetName() const
void AddIsotope(G4Isotope *isotope, G4double RelativeAbundance)
static constexpr double g
const XML_Char int const XML_Char * value
void SetContainMaterial(G4String)
static constexpr double mg
static G4GeometryManager * GetInstance()
G4LogicalVolume * fLContain
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
static constexpr double twopi
double A(double temperature)
void OpenGeometry(G4VPhysicalVolume *vol=0)
G4VPhysicalVolume * ConstructVolumes()
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
static G4SolidStore * GetInstance()
static G4PhysicalVolumeStore * GetInstance()
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
void AddElement(G4Element *element, G4int nAtoms)
void SetAbsorMaterial(G4int, const G4String &)
void SetContainThickness(G4double)
void PhysicsHasBeenModified()
G4GLOB_DLL std::ostream G4cout
DetectorMessenger * fDetectorMessenger
void SetMaterial(G4Material *pMaterial)
G4Material * fWorldMaterial
void SetAbsorLength(G4double)
static constexpr double mole
G4VPhysicalVolume * fPWorld
static constexpr double cm3
static G4LogicalVolumeStore * GetInstance()
void SetAbsorRadius(G4double)
static G4NistManager * Instance()
G4Material * MaterialWithSingleIsotope(G4String, G4String, G4double, G4int, G4int)