61 fDetectorMessenger(0),
62 fSolidWorld(0), fLogicWorld(0), fPhysiWorld(0),
63 fSolidAbsorber(0), fLogicAbsorber(0), fPhysiAbsorber(0),
64 fAbsorberMaterial(0), fAbsorberThickness(0.), fAbsorberRadius(0.),
65 fZAbsorber(0.), fZStartAbs(0.), fZEndAbs(0.),
66 fWorldMaterial(0), fWorldSizeR(0.), fWorldSizeZ(0.)
112 G4double fractionmass, pressure, temperature;
139 density = 1.39*
g/
cm3;
153 density = 3.700*
mg/
cm3;
159 density = 1.7836*
mg/
cm3;
163 density = 1.25053*
mg/
cm3;
167 density = 1.4289*
mg/
cm3;
171 density = 1.2928*
mg/
cm3;
174 temperature = STP_Temperature;
175 pressure = 1.0e-8*STP_Pressure;
179 air->
AddMaterial( nitrogen, fractionmass = 0.7557 );
186 density = 5.858*
mg/
cm3;
192 density = 1.842*
mg/
cm3;
199 density = 5.0818*
mg/
cm3;
202 Xe20CO2->
AddMaterial( CarbonDioxide, fractionmass = 0.078 );
206 density = 3.601*
mg/
cm3;
209 Kr20CO2->
AddMaterial( CarbonDioxide, fractionmass = 0.11 );
281 G4cout <<
"\n The WORLD is made of "
283 G4cout <<
", the transverse size (R) of the world is "
285 G4cout <<
" The ABSORBER is made of "
289 G4cout <<
" Z position of the (middle of the) absorber "
303 for (
size_t j=0 ; j<theMaterialTable->size() ; j++)
304 { material = (*theMaterialTable)[j];
305 if (material->
GetName() == materialChoice)
323 for (
size_t j=0 ; j<theMaterialTable->size() ; j++)
324 { material = (*theMaterialTable)[j];
325 if(material->
GetName() == materialChoice)
void SetAbsorberMaterial(G4String)
G4Material * fWorldMaterial
F01DetectorConstruction()
void SetAbsorberThickness(G4double)
CLHEP::Hep3Vector G4ThreeVector
void AddMaterial(G4Material *material, G4double fraction)
const G4String & GetName() const
G4Material * fAbsorberMaterial
static G4MaterialTable * GetMaterialTable()
std::vector< G4Material * > G4MaterialTable
G4double fAbsorberThickness
G4VPhysicalVolume * fPhysiAbsorber
G4LogicalVolume * fLogicWorld
Definition of the F01DetectorMessenger class.
static G4PhysicalVolumeStore * GetInstance()
Definition of the F01DetectorConstruction class.
void SetWorldSizeR(G4double)
void SetWorldMaterial(G4String)
void SetWorldSizeZ(G4double)
G4GLOB_DLL std::ostream G4cout
Definition of the F01FieldSetup class.
G4Cache< F01FieldSetup * > fEmFieldSetup
void PhysicsHasBeenModified()
void SetAbsorberZpos(G4double)
static const double twopi
static G4LogicalVolumeStore * GetInstance()
static G4SolidStore * GetInstance()
static G4GeometryManager * GetInstance()
virtual G4VPhysicalVolume * Construct()
Definition of the F01CalorimeterSD class.
void SetSensitiveDetector(const G4String &logVolName, G4VSensitiveDetector *aSD, G4bool multi=false)
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
G4VPhysicalVolume * ConstructCalorimeter()
static G4RunManager * GetRunManager()
G4Cache< F01CalorimeterSD * > fCalorimeterSD
virtual void ConstructSDandField()
F01DetectorMessenger * fDetectorMessenger
void ComputeCalorParameters()
void OpenGeometry(G4VPhysicalVolume *vol=0)
void AddElement(G4Element *element, G4int nAtoms)
static const double tesla
virtual ~F01DetectorConstruction()
void SetMaterial(G4Material *pMaterial)
G4VPhysicalVolume * fPhysiWorld
void Put(const value_type &val) const
void PrintCalorParameters()
void SetAbsorberRadius(G4double)
G4LogicalVolume * fLogicAbsorber