Import Geant4 9.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 15:58:43 +02:00
parent 96c8bcd0af
commit b79225fb37
7544 changed files with 245407 additions and 91099 deletions
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: DetectorConstruction.cc,v 1.20 2007/03/19 20:10:38 vnivanch Exp $
// GEANT4 tag $Name: geant4-09-01 $
// $Id: DetectorConstruction.cc,v 1.22 2008/05/29 16:59:27 vnivanch Exp $
// GEANT4 tag $Name: geant4-09-02 $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -104,6 +104,7 @@ void DetectorConstruction::DefineMaterials()
G4Element* H = manager->FindOrBuildElement(1);
G4Element* C = manager->FindOrBuildElement(6);
G4Element* N = manager->FindOrBuildElement(7);
G4Element* O = manager->FindOrBuildElement(8);
G4Element* Si = manager->FindOrBuildElement(14);
G4Element* Ge = manager->FindOrBuildElement(32);
@@ -163,6 +164,8 @@ void DetectorConstruction::DefineMaterials()
new G4Material("Scintillator", density= 1.032*g/cm3, ncomponents=2);
Sci->AddElement(C, natoms=9);
Sci->AddElement(H, natoms=10);
Sci->GetIonisation()->SetBirksConstant(0.126*mm/MeV);
G4Material* Lct =
new G4Material("Lucite", density= 1.185*g/cm3, ncomponents=3);
@@ -198,13 +201,20 @@ void DetectorConstruction::DefineMaterials()
BGO->AddElement(Ge, natoms= 3);
BGO->AddElement(Bi, natoms= 4);
//SiNx
density= 3.1 *g/cm3;
G4Material* SiNx= new G4Material("SiNx", density, ncomponents=3);
SiNx-> AddElement(Si, 300);
SiNx-> AddElement(N, 310);
SiNx-> AddElement(H, 6);
//
// define gaseous materials using G4 NIST database
//
G4double fractionmass;
G4Material* Air = manager->FindOrBuildMaterial("G4_AIR");
manager->ConstructNewGasMaterial("Air20","G4_AIR",293.*kelvin, 1.*atmosphere);
manager->ConstructNewGasMaterial("Air20","G4_AIR",293.*kelvin,1.*atmosphere);
G4Material* lAr = manager->FindOrBuildMaterial("G4_lAr");
G4Material* lArEm3 = new G4Material("liquidArgon", density= 1.390*g/cm3, ncomponents=1);