Loading code/MaterialsDefinition.cc +18 −16 Original line number Diff line number Diff line /*************************************************************************** SX5DetectorConstruction.cc - description ------------------- begin : 2006-2010 copyright : (C) 2006 Remi Chipaux, modified by Andrea Bulgarelli email : remi.chipaux@cea.fr, bulgarelli@iasfbo.inaf.it ***************************************************************************/ /*************************************************************************** * * * This program is free software for non commercial purpose * * and for public research institutes; you can redistribute it and/or * * modify it under the terms of the GNU General Public License. * * For commercial purpose see appropriate license terms * * * ***************************************************************************/ // // Copyright 2025 Valentina Fioretti // Loading Loading @@ -100,6 +84,7 @@ void MaterialsDefinition::DefineMaterials() { elTa = new G4Element(name="Tantalum", symbol="Ta", z= 73., a = 180.9479*g/mole); elW = new G4Element(name="Tungsten", symbol="W", z= 74., a = 183.84*g/mole); elIr = new G4Element(name="Iridium", symbol="Ir", z= 77., a = 192.217*g/mole); elPt = new G4Element(name="Platinum", symbol="Pt", z= 78., a = 195.08*g/mole); elAu = new G4Element(name="Gold", symbol="Au", z= 79., a = 196.96655*g/mole); elHg = new G4Element(name="Mercury", symbol="Hg", z= 80., a = 200.59*g/mole); elTl = new G4Element(name="Thallium", symbol="Tl", z= 81., a = 204.3833*g/mole); Loading Loading @@ -154,6 +139,16 @@ void MaterialsDefinition::DefineMaterials() { Mo->AddElement(elMo, fractionmass=1.); MoMaterial = Mo; density = 21.45 *g/cm3; G4Material* Pt = new G4Material(name="Platinum", density, ncomponents=1); Pt->AddElement(elPt, fractionmass=1.); PtMaterial = Pt; density = 7.18 *g/cm3; G4Material* Cr = new G4Material(name="Chromium", density, ncomponents=1); Cr->AddElement(elCr, fractionmass=1.); CrMaterial = Cr; //Materials density = 1.032*g/cm3; plastic_scintillator = new G4Material(name="plastic scintillator", density, ncomponents=2); Loading Loading @@ -932,7 +927,14 @@ G4Material* MaterialsDefinition::GetMaterial(int index) { case 76: dummat = wood2; break; case 77: dummat = PtMaterial; break; case 78: dummat = CrMaterial; break; } return dummat; } Loading code/MaterialsDefinition.hh +2 −16 Original line number Diff line number Diff line /*************************************************************************** SX5DetectorConstruction.hh - description ------------------- begin : 2006-2008 copyright : (C) 2008 Remi Chipaux, modified by Andrea Bulgarelli email : remi.chipaux@cea.fr, bulgarelli@iasfbo.inaf.it ***************************************************************************/ /*************************************************************************** * * * This program is free software for non commercial purpose * * and for public research institutes; you can redistribute it and/or * * modify it under the terms of the GNU General Public License. * * For commercial purpose see appropriate license terms * * * ***************************************************************************/ // // Copyright 2025 Valentina Fioretti // Loading Loading @@ -165,6 +149,8 @@ public: G4Material* WMaterial; G4Material* NiMaterial; G4Material* MoMaterial; G4Material* PtMaterial; G4Material* CrMaterial; // Compound Materials G4Material* aluminium_metal; Loading geom/EXACRAD.cc +308 −3 File changed.Preview size limit exceeded, changes collapsed. Show changes Loading
code/MaterialsDefinition.cc +18 −16 Original line number Diff line number Diff line /*************************************************************************** SX5DetectorConstruction.cc - description ------------------- begin : 2006-2010 copyright : (C) 2006 Remi Chipaux, modified by Andrea Bulgarelli email : remi.chipaux@cea.fr, bulgarelli@iasfbo.inaf.it ***************************************************************************/ /*************************************************************************** * * * This program is free software for non commercial purpose * * and for public research institutes; you can redistribute it and/or * * modify it under the terms of the GNU General Public License. * * For commercial purpose see appropriate license terms * * * ***************************************************************************/ // // Copyright 2025 Valentina Fioretti // Loading Loading @@ -100,6 +84,7 @@ void MaterialsDefinition::DefineMaterials() { elTa = new G4Element(name="Tantalum", symbol="Ta", z= 73., a = 180.9479*g/mole); elW = new G4Element(name="Tungsten", symbol="W", z= 74., a = 183.84*g/mole); elIr = new G4Element(name="Iridium", symbol="Ir", z= 77., a = 192.217*g/mole); elPt = new G4Element(name="Platinum", symbol="Pt", z= 78., a = 195.08*g/mole); elAu = new G4Element(name="Gold", symbol="Au", z= 79., a = 196.96655*g/mole); elHg = new G4Element(name="Mercury", symbol="Hg", z= 80., a = 200.59*g/mole); elTl = new G4Element(name="Thallium", symbol="Tl", z= 81., a = 204.3833*g/mole); Loading Loading @@ -154,6 +139,16 @@ void MaterialsDefinition::DefineMaterials() { Mo->AddElement(elMo, fractionmass=1.); MoMaterial = Mo; density = 21.45 *g/cm3; G4Material* Pt = new G4Material(name="Platinum", density, ncomponents=1); Pt->AddElement(elPt, fractionmass=1.); PtMaterial = Pt; density = 7.18 *g/cm3; G4Material* Cr = new G4Material(name="Chromium", density, ncomponents=1); Cr->AddElement(elCr, fractionmass=1.); CrMaterial = Cr; //Materials density = 1.032*g/cm3; plastic_scintillator = new G4Material(name="plastic scintillator", density, ncomponents=2); Loading Loading @@ -932,7 +927,14 @@ G4Material* MaterialsDefinition::GetMaterial(int index) { case 76: dummat = wood2; break; case 77: dummat = PtMaterial; break; case 78: dummat = CrMaterial; break; } return dummat; } Loading
code/MaterialsDefinition.hh +2 −16 Original line number Diff line number Diff line /*************************************************************************** SX5DetectorConstruction.hh - description ------------------- begin : 2006-2008 copyright : (C) 2008 Remi Chipaux, modified by Andrea Bulgarelli email : remi.chipaux@cea.fr, bulgarelli@iasfbo.inaf.it ***************************************************************************/ /*************************************************************************** * * * This program is free software for non commercial purpose * * and for public research institutes; you can redistribute it and/or * * modify it under the terms of the GNU General Public License. * * For commercial purpose see appropriate license terms * * * ***************************************************************************/ // // Copyright 2025 Valentina Fioretti // Loading Loading @@ -165,6 +149,8 @@ public: G4Material* WMaterial; G4Material* NiMaterial; G4Material* MoMaterial; G4Material* PtMaterial; G4Material* CrMaterial; // Compound Materials G4Material* aluminium_metal; Loading