source: trunk/examples/extended/electromagnetic/TestEm8/include/TRTMaterials.hh @ 1288

Last change on this file since 1288 was 1230, checked in by garnier, 15 years ago

update to geant4.9.3

File size: 4.8 KB
Line 
1//
2// ********************************************************************
3// * License and Disclaimer                                           *
4// *                                                                  *
5// * The  Geant4 software  is  copyright of the Copyright Holders  of *
6// * the Geant4 Collaboration.  It is provided  under  the terms  and *
7// * conditions of the Geant4 Software License,  included in the file *
8// * LICENSE and available at  http://cern.ch/geant4/license .  These *
9// * include a list of copyright holders.                             *
10// *                                                                  *
11// * Neither the authors of this software system, nor their employing *
12// * institutes,nor the agencies providing financial support for this *
13// * work  make  any representation or  warranty, express or implied, *
14// * regarding  this  software system or assume any liability for its *
15// * use.  Please see the license in the file  LICENSE  and URL above *
16// * for the full disclaimer and the limitation of liability.         *
17// *                                                                  *
18// * This  code  implementation is the result of  the  scientific and *
19// * technical work of the GEANT4 collaboration.                      *
20// * By using,  copying,  modifying or  distributing the software (or *
21// * any work based  on the software)  you  agree  to acknowledge its *
22// * use  in  resulting  scientific  publications,  and indicate your *
23// * acceptance of all terms of the Geant4 Software license.          *
24// ********************************************************************
25//
26//
27// $Id: TRTMaterials.hh,v 1.4 2006/06/29 17:00:01 gunter Exp $
28// GEANT4 tag $Name: geant4-09-03-cand-01 $
29//
30//
31
32#ifndef TRT_MATERIALS_HH
33#define TRT_MATERIALS_HH
34
35//--------- Material definition ---------
36
37  G4double a, iz, z, density;
38  G4String name, symbol;
39  G4int nel, nComponents;
40
41  a = 14.01*g/mole;
42  G4Element* elN  = new G4Element(name="Nitrogen", symbol="N", iz=7., a);
43  a = 16.00*g/mole;
44  G4Element* elO  = new G4Element(name="Oxygen", symbol="O", iz=8., a);
45  a = 12.01*g/mole;
46  G4Element* elC  = new G4Element(name="Carbon", symbol="C", iz=6., a);
47  a = 1.01*g/mole;
48  G4Element* elH  = new G4Element(name="Hydrogen", symbol="H", iz=1., a);
49  a = 131.29*g/mole;
50  G4Element* elXe = new G4Element(name="Xenon", symbol="Xe", iz=54., a); 
51  a = 19.00*g/mole;
52  G4Element* elF  = new G4Element(name="Fluorine", symbol="F", iz=9., a);
53
54  density = 1.205*mg/cm3;
55  G4Material* Air = new G4Material(name="Air", density, nel=2,
56                                        kStateGas,293.15*kelvin,1.*atmosphere);
57  Air->AddElement(elN, .7);
58  Air->AddElement(elO, .3);
59 
60  density = 1.39*g/cm3;
61  G4Material* Kapton = new G4Material(name="Kapton", density, nel=3);
62  Kapton->AddElement(elO,2);
63  Kapton->AddElement(elC,5);
64  Kapton->AddElement(elH,4);
65 
66  a = 63.55*g/mole;
67  density = 8.96*g/cm3;
68  G4Material* Copper = new G4Material(name="Copper", z=29.,a, density);
69
70  a = 26.98*g/mole;
71  density = 2.7*g/cm3;
72  G4Material* Al = new G4Material(name="Aluminum", z=13., a, density);
73
74  a = 28.09*g/mole;
75  density = 2.33*g/cm3;
76  G4Material* Si = new G4Material(name="Silicon", z=14., a, density);
77
78  density = 1.977*mg/cm3;
79  G4Material* CO2 = new G4Material(name="CO2", density, nel=2,
80                                       kStateGas,273.15*kelvin,1.*atmosphere);
81  CO2->AddElement(elC,1);
82  CO2->AddElement(elO,2);
83
84  G4double TRT_Xe_density = 5.485*mg/cm3;
85  G4Material* TRT_Xe = new G4Material(name="TRT_Xe", TRT_Xe_density, nel=1,
86                                      kStateGas,293.15*kelvin,1.*atmosphere);
87  TRT_Xe->AddElement(elXe,1);
88
89  G4double TRT_CO2_density = 1.842*mg/cm3;
90  G4Material* TRT_CO2 = new G4Material(name="TRT_CO2", TRT_CO2_density, nel=2,
91                                       kStateGas,293.15*kelvin,1.*atmosphere);
92  TRT_CO2->AddElement(elC,1);
93  TRT_CO2->AddElement(elO,2);
94
95  G4double TRT_CF4_density = 3.9*mg/cm3;
96  G4Material* TRT_CF4 = new G4Material(name="TRT_CF4", TRT_CF4_density, nel=2,
97                                       kStateGas,293.15*kelvin,1.*atmosphere);
98  TRT_CF4->AddElement(elC,1);
99  TRT_CF4->AddElement(elF,4);
100
101  G4double XeCO2CF4_density = 4.76*mg/cm3;
102  G4Material* XeCO2CF4 = new G4Material(name="XeCO2CF4", XeCO2CF4_density,
103                                        nComponents=3,
104                                        kStateGas,293.15*kelvin,1.*atmosphere);
105  XeCO2CF4->AddMaterial(TRT_Xe,0.807);
106  XeCO2CF4->AddMaterial(TRT_CO2,0.039);
107  XeCO2CF4->AddMaterial(TRT_CF4,0.154);
108     
109  density = 0.935*g/cm3;
110  G4Material* TRT_CH2 = new G4Material(name="TRT_CH2",density, nel=2);
111  TRT_CH2->AddElement(elC,1);
112  TRT_CH2->AddElement(elH,2);
113
114  density = 0.059*g/cm3;
115  G4Material* Radiator = new G4Material(name="Radiator",density, nel=2);
116  Radiator->AddElement(elC,1);
117  Radiator->AddElement(elH,2);
118
119  density = 0.145*g/cm3;
120  G4Material* CarbonFiber = new G4Material(name="CarbonFiber",density, nel=1);
121  CarbonFiber->AddElement(elC,1);
122
123#endif
124
Note: See TracBrowser for help on using the repository browser.