//---------------------------------------------------------------------------// //bb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nu// // // // // // MaGe Simulation // // // // This code implementation is the intellectual property of the // // MAJORANA and Gerda Collaborations. It is based on Geant4, an // // intellectual property of the RD44 GEANT4 collaboration. // // // // ********************* // // // // Neither the authors of this software system, nor their employing // // institutes, nor the agencies providing financial support for this // // work make any representation or warranty, express or implied, // // regarding this software system or assume any liability for its use. // // By copying, distributing or modifying the Program (or any work based // // on on the Program) you indicate your acceptance of this statement, // // and all its terms. // // // //bb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nu// //---------------------------------------------------------------------------// /* 11-02-2004 First Implementation, Luciano 11-12-2004 added materials: enriched Ge76, liquid N2, copper, water 12-3-2004 new materials and naming conventions, C.Tomei 12-16-2004 added Beryllium and Lithium, Luciano (used to by-pass a stupid tracking in bug) 02-15-2005 added Optical Properties of water, Luciano 03-16-2005 changed ssteel material composition and density, added Cr, Mn and Ni elements, dkollar (material name should be changed to StainlessSteel) 04-07-2005 added Quartz, Luciano 07-11-2005 added nickel metal and gold metal, Kevin 09-14-2005 added polyethylene, Kevin 06-09-2006 fixed typo with the density of gaseous nitrogen, Luciano 10-12-2006 added method to define materials on-the-fly from external files, Luciano 12-07-2006 added tungsten, Manuela 02-22-2007 added materials: Brass, ProportionalGas, N2Gas, GeLi,Acrylic, PVC, HD100, Monel,PE, and element Zinc, Dusan 03-15-2007 added silver, Manuela 04-03-2007 added materials: Bronze, GeB, and element Tin, Hardy 06-27-2007 added hydrogen material for testing purposes, Luciano 07-02-2007 added gaseous argon, Luciano 10-16-2007 added PET, Daniel 10-18-2007 added Polyimid aka. Kapton, Daniel 11-28-2007 added Polycarbonate(makrolon), Jens 12-07-2007 added Torlon, Jens 04-29-2008 added LNGS Rock, Luciano 07-02-2008 modified density of enriched Germanium, according to data from the existing detectors at LNGS (density about 5.5 g/cm3, while it is 5.32 g/cm3 for natural metallic Ge). 07-10-2008 modified again density of enriched Germanium, according to calculations performed by Jens (density = 1.04236*density_nat = 5.54 g/cm3) 17-02-2009 added Tantalum, Francis 14-05-2009 added Erbium and Krypton elements, Marc 22-07-2009 added borated polyethylene of 5% and 10% Boron content, Alan Poon 21-01-2010 added lithiated polyethylene (7.5% by weight), Alan Poon 08-03-2010 added PPO, DMP, generic epoxyresin, CU5, polypropylene, Matthias Laubenstein */ #include "MGGerdaLocalMaterialTable.hh" #include "G4Isotope.hh" #include "G4Element.hh" #include "G4Material.hh" #include "G4MaterialPropertiesTable.hh" #include "G4NistManager.hh" #include "G4SystemOfUnits.hh" MGGerdaLocalMaterialTable::MGGerdaLocalMaterialTable() {;} MGGerdaLocalMaterialTable::~MGGerdaLocalMaterialTable() {;} void MGGerdaLocalMaterialTable::CreateMaterials() { //here one should define the material he/she wants to use //in the geometry, if not read from the DB G4double a; // atomic mass G4double z; // atomic number G4double density; G4String symbol; G4String name; G4int ncomponents; G4int natoms; G4Element* elH = new G4Element (name="Hydrogen",symbol="H",z=1.,a=1.00794*g/mole); G4Element* elC = new G4Element (name="Carbon",symbol="C",z=6.,a=12.011*g/mole); G4Element* elO = new G4Element (name="Oxygen",symbol="O",z=8.,a=16.00*g/mole); // Acrylic G4Material* Acrylic = new G4Material (name="Acrylic", density= 1.15*g/cm3, ncomponents=3); Acrylic->AddElement(elC,natoms=5); Acrylic->AddElement(elH,natoms=8); Acrylic->AddElement(elO,natoms=2); } void MGGerdaLocalMaterialTable::AddNewMaterial() { }