34 #include "DetectorConstruction.hh"
35 #include "DetectorMessenger.hh"
58 fLBox(0), fBox(0), fBoxSize(500*
m), fMaterial(0),
59 fUserLimits(0), fDetectorMessenger(0)
74 {
delete fDetectorMessenger;}
80 return ConstructVolumes();
85 void DetectorConstruction::DefineMaterials()
112 sBox =
new G4Box(
"Container",
113 fBoxSize/2,fBoxSize/2,fBoxSize/2);
152 fMaterial = pttoMaterial;
173 if ( fFieldMessenger.
Get() == 0 ) {
182 fFieldMessenger.
Put( msg );
194 {
G4cout <<
"\n --->warning from SetMaxStepSize: maxStep "
195 << val <<
" out of range. Command refused" <<
G4endl;
208 {
G4cout <<
"\n --->warning from SetMaxStepLength: maxStep "
209 << val <<
" out of range. Command refused" <<
G4endl;
virtual void SetMaxAllowedStep(G4double ustepMax)
CLHEP::Hep3Vector G4ThreeVector
void SetMaxStepSize(G4double)
std::vector< ExP01TrackerHit * > a
static G4Material * GetMaterial(const G4String &name, G4bool warning=true)
const G4String & GetName() const
G4VPhysicalVolume * Construct()
void SetUserLimits(G4UserLimits *pULimits)
static G4MaterialTable * GetMaterialTable()
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
static constexpr double m3
static G4PhysicalVolumeStore * GetInstance()
virtual void ConstructSDandField()
G4GLOB_DLL std::ostream G4cout
static constexpr double m
const XML_Char int const XML_Char * value
void PhysicsHasBeenModified()
static G4LogicalVolumeStore * GetInstance()
static G4SolidStore * GetInstance()
static G4GeometryManager * GetInstance()
static constexpr double kg
static constexpr double kelvin
static constexpr double cm3
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4TransportationManager * GetTransportationManager()
static G4RunManager * GetRunManager()
void SetMaxStepLength(G4double)
void OpenGeometry(G4VPhysicalVolume *vol=0)
void SetLargestAcceptableStep(G4double newBigDist)
G4PropagatorInField * GetPropagatorInField() const
void SetMaterial(G4Material *pMaterial)
void Put(const value_type &val) const
static constexpr double atmosphere
static constexpr double mole
void SetMaterial(G4String)