34 #include "DetectorConstruction.hh"
35 #include "DetectorMessenger.hh"
62 fAbsorberMaterial(0),fWorldMaterial(0),fDefaultWorld(true),
63 fSolidWorld(0),fLogicWorld(0),fPhysiWorld(0),
64 fSolidAbsorber(0),fLogicAbsorber(0),fPhysiAbsorber(0),
105 G4int ncomponents, natoms;
132 new G4Material(
"liquidArgon", density= 1.390*
g/
cm3, ncomponents=1);
230 new G4Material(
"XenonMethanePropane", density= 4.9196*
mg/
cm3, ncomponents=3,
248 density = universe_mean_density;
250 temperature = 2.73*
kelvin;
328 G4cout <<
". The transverse size (YZ) of the world is "
330 G4cout <<
" The ABSORBER is made of "
333 G4cout <<
". The transverse size (YZ) is "
335 G4cout <<
" X position of the middle of the absorber "
G4IonisParamMat * GetIonisation() const
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
void SetZHalfLength(G4double dz)
void SetWorldSizeYZ(G4double)
static constexpr double mg
CLHEP::Hep3Vector G4ThreeVector
void AddMaterial(G4Material *material, G4double fraction)
std::vector< ExP01TrackerHit * > a
void SetMeanExcitationEnergy(G4double value)
const G4String & GetName() const
G4VPhysicalVolume * Construct()
void SetWorldMaterial(const G4String &)
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
G4Material * fAbsorberMaterial
static constexpr double g
static G4NistManager * Instance()
G4Cache< G4GlobalMagFieldMessenger * > fFieldMessenger
virtual void ConstructSDandField()
void SetAbsorberThickness(G4double)
void ComputeCalorParameters()
G4GLOB_DLL std::ostream G4cout
G4LogicalVolume * fLogicWorld
void PhysicsHasBeenModified()
G4VPhysicalVolume * fPhysiWorld
static constexpr double cm
static constexpr double eV
static constexpr double kelvin
static constexpr double cm3
G4LogicalVolume * fLogicAbsorber
static G4RunManager * GetRunManager()
T max(const T t1, const T t2)
brief Return the largest of the two arguments
G4VPhysicalVolume * ConstructCalorimeter()
void SetYHalfLength(G4double dy)
G4VPhysicalVolume * fPhysiAbsorber
void SetXHalfLength(G4double dx)
void AddElement(G4Element *element, G4int nAtoms)
void SetWorldSizeX(G4double)
void SetAbsorberXpos(G4double)
void PrintCalorParameters()
void SetMaterial(G4Material *pMaterial)
void SetAbsorberMaterial(G4String)
void Put(const value_type &val) const
static constexpr double atmosphere
static constexpr double mole
Messenger class that defines commands for DetectorConstruction.
G4Material * fWorldMaterial
void SetAbsorberSizeYZ(G4double)
DetectorMessenger * fDetectorMessenger
G4double fAbsorberThickness