34 #include "DetectorConstruction.hh"
35 #include "DetectorMessenger.hh"
62 fWorldMaterial(0),fAbsorMaterial(0),fMagField(0),fLAbsor(0),
118 G4int ncomponents, natoms;
129 BuildMaterialWithNewDensity(
"Water_1.05",
"G4_WATER",1.05*
g/
cm3);
136 density = 1.e-5*
g/
cm3;
137 pressure = 2.e-2*
bar;
138 temperature = STP_Temperature;
143 density = universe_mean_density;
145 temperature = 2.73*
kelvin;
166 sWorld =
new G4Box(
"World",
186 sAbsor =
new G4Box(
"Absorber",
238 G4cout <<
"\n---------------------------------------------------------\n";
241 G4cout <<
"\n---------------------------------------------------------\n";
246 G4cout <<
"fTally " << j <<
": "
253 G4cout <<
"\n---------------------------------------------------------\n";
G4LogicalVolume * fLTally[MaxTally]
void GeometryHasBeenModified(G4bool prop=true)
void SetTallyMaterial(G4int, G4String)
G4IonisParamMat * GetIonisation() const
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
CLHEP::Hep3Vector G4ThreeVector
G4bool SetDetectorField(G4Field *detectorField)
void AddMaterial(G4Material *material, G4double fraction)
G4VPhysicalVolume * pWorld
void SetMeanExcitationEnergy(G4double value)
const G4String & GetName() const
G4VPhysicalVolume * Construct()
static G4MaterialTable * GetMaterialTable()
G4double GetDensity() const
G4ThreeVector fTallySize[MaxTally]
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
G4Material * fAbsorMaterial[MaxAbsor]
static G4NistManager * Instance()
virtual void DefineWorldVolume(G4VPhysicalVolume *worldVol, G4bool topologyIsChanged=true)
static G4PhysicalVolumeStore * GetInstance()
G4GLOB_DLL std::ostream G4cout
void PhysicsHasBeenModified()
G4UniformMagField * fMagField
G4Material * fTallyMaterial[MaxTally]
static G4LogicalVolumeStore * GetInstance()
static G4SolidStore * GetInstance()
static G4GeometryManager * GetInstance()
static const double kelvin
static G4TransportationManager * GetTransportationManager()
G4FieldManager * GetFieldManager() const
static G4RunManager * GetRunManager()
void SetMagField(G4double)
G4ThreeVector fTallyPosition[MaxTally]
void SetTallySize(G4int, G4ThreeVector)
void SetTallyPosition(G4int, G4ThreeVector)
void OpenGeometry(G4VPhysicalVolume *vol=0)
void AddElement(G4Element *element, G4int nAtoms)
void CreateChordFinder(G4MagneticField *detectorMagField)
G4VPhysicalVolume * ConstructVolumes()
void SetMaterial(G4Material *pMaterial)
void SetTallyNumber(G4int)
Messenger class that defines commands for DetectorConstruction.
G4Material * fWorldMaterial
void SetMaterial(G4String)
G4LogicalVolume * fLAbsor
G4double fTallyMass[MaxTally]
DetectorMessenger * fDetectorMessenger