35 #include "DetectorConstruction.hh"
36 #include "DetectorMessenger.hh"
59 fTargetMater(0), fLogicTarget(0),
60 fDetectorMater(0), fLogicDetector(0),
61 fWorldMater(0), fPhysiWorld(0),
135 sWorld =
new G4Tubs(
"World",
154 sTarget =
new G4Tubs(
"Target",
173 sDetector =
new G4Tubs(
"Detector",
205 <<
" Tickness = " <<
G4BestUnit(fDetectorThickness,
"Length")
223 G4cout <<
"\n--> warning from DetectorConstruction::SetTargetMaterial : "
224 << materialChoice <<
" not found" <<
G4endl;
241 G4cout <<
"\n--> warning from DetectorConstruction::SetDetectorMaterial : "
242 << materialChoice <<
" not found" <<
G4endl;
266 fDetectorThickness =
value;
static constexpr double kelvin
static G4RunManager * GetRunManager()
T max(const T t1, const T t2)
brief Return the largest of the two arguments
G4LogicalVolume * fLogicTarget
static constexpr double atmosphere
CLHEP::Hep3Vector G4ThreeVector
G4Material * fDetectorMater
void SetDetectorLength(G4double value)
G4VPhysicalVolume * Construct()
G4double GetDetectorLength()
G4VPhysicalVolume * fPhysiWorld
void SetTargetRadius(G4double val)
G4double GetDetectorThickness()
const G4String & GetName() const
static constexpr double g
G4LogicalVolume * GetLogicTarget()
G4Material * GetDetectorMaterial()
G4LogicalVolume * GetLogicDetector()
const XML_Char int const XML_Char * value
static constexpr double mg
static G4GeometryManager * GetInstance()
void SetTargetMaterial(const G4String &)
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
static constexpr double twopi
void SetDetectorMaterial(G4String)
void OpenGeometry(G4VPhysicalVolume *vol=0)
G4VPhysicalVolume * ConstructVolumes()
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
static G4SolidStore * GetInstance()
const G4Material * GetTargetMaterial() const
static G4PhysicalVolumeStore * GetInstance()
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
void AddElement(G4Element *element, G4int nAtoms)
void SetTargetLength(G4double val)
void PhysicsHasBeenModified()
G4GLOB_DLL std::ostream G4cout
static constexpr double cm
DetectorMessenger * fDetectorMessenger
void SetMaterial(G4Material *pMaterial)
G4double GetTargetLength()
G4double GetTargetRadius()
static constexpr double mole
static constexpr double cm3
G4LogicalVolume * fLogicDetector
void SetDetectorThickness(G4double value)
static G4LogicalVolumeStore * GetInstance()
G4double fDetectorThickness
static G4NistManager * Instance()
G4Material * fTargetMater