34 #include "DetectorConstruction.hh"
35 #include "DetectorMessenger.hh"
57 fBoxSize = 100*
m; fWorldSize = 1.2*fBoxSize;
66 {
delete fDetectorMessenger;}
72 return ConstructVolumes();
77 void DetectorConstruction::DefineMaterials()
96 G4int ncomponents, natoms;
175 sWorld =
new G4Box(
"World",
176 fWorldSize/2,fWorldSize/2,fWorldSize/2);
194 sBox =
new G4Box(
"Container",
195 fBoxSize/2,fBoxSize/2,fBoxSize/2);
232 fMaterial = pttoMaterial;
235 G4cout <<
"\n--> warning from DetectorConstruction::SetMaterial : "
236 << materialChoice <<
" not found" <<
G4endl;
244 fBoxSize =
value; fWorldSize = 1.2*fBoxSize;
G4IonisParamMat * GetIonisation() const
void SetChemicalFormula(const G4String &chF)
static constexpr double mg
CLHEP::Hep3Vector G4ThreeVector
std::vector< ExP01TrackerHit * > a
static G4Material * GetMaterial(const G4String &name, G4bool warning=true)
int universe_mean_density
void SetMeanExcitationEnergy(G4double value)
static constexpr double perCent
const G4String & GetName() const
G4VPhysicalVolume * Construct()
static G4MaterialTable * GetMaterialTable()
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
virtual void DefineWorldVolume(G4VPhysicalVolume *worldVol, G4bool topologyIsChanged=true)
static G4PhysicalVolumeStore * GetInstance()
G4GLOB_DLL std::ostream G4cout
static constexpr double m
const XML_Char int const XML_Char * value
static G4LogicalVolumeStore * GetInstance()
static G4SolidStore * GetInstance()
static constexpr double eV
static G4GeometryManager * GetInstance()
static constexpr double kelvin
static constexpr double cm3
static G4RunManager * GetRunManager()
void OpenGeometry(G4VPhysicalVolume *vol=0)
void AddElement(G4Element *element, G4int nAtoms)
static constexpr double mole
void SetMaterial(G4String)