Import Geant4 1.0.0 source tree
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 GEANT4 collaboration.
|
||||
// the GEANT4 collaboration.
|
||||
//
|
||||
// By copying, distributing or modifying the Program (or any work
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: ExN02DetectorConstruction.cc,v 1.1 1999/01/07 16:05:48 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// $Id: ExN02DetectorConstruction.cc,v 1.2.2.1 1999/12/07 20:47:26 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -58,6 +58,7 @@ G4VPhysicalVolume* ExN02DetectorConstruction::Construct()
|
||||
|
||||
G4double a, iz, z, density;
|
||||
G4String name, symbol;
|
||||
G4double temperature, pressure;
|
||||
G4int nel;
|
||||
|
||||
//Air
|
||||
@@ -81,9 +82,17 @@ G4VPhysicalVolume* ExN02DetectorConstruction::Construct()
|
||||
G4Material* Pb = new G4Material(name="Pb", z=82., a, density);
|
||||
|
||||
//Vacuum
|
||||
a = 1.*g/mole;
|
||||
density = 1.e-20*g/cm3;
|
||||
G4Material* Vacuum = new G4Material(name="Vacuum",z=1.,a,density);
|
||||
density = universe_mean_density; //from PhysicalConstants.h
|
||||
pressure = 3.e-18*pascal;
|
||||
temperature = 2.73*kelvin;
|
||||
G4Material* Vacuum =
|
||||
new G4Material(name="Vacuum", z=1., a=1.01*g/mole, density,
|
||||
kStateGas,temperature,pressure);
|
||||
|
||||
// Print all the materials defined.
|
||||
//
|
||||
G4cout << endl << "The materials defined are : " << endl << endl;
|
||||
G4cout << *(G4Material::GetMaterialTable()) << endl;
|
||||
|
||||
//--------- Sizes of the principal geometrical components (solids) ---------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user