Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Em10Materials.cc
Go to the documentation of this file.
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 //
28 //
29 //
30 //
31 // GEANT 4 class
32 //
33 // History: based on object model of
34 // Em10Materials
35 // Originally Created in Test30 by Vladimir Ivanchenko, 12 March 2002
36 //
37 // Modified for TestEm10 by V. Grichine, 29 Jan 2006
38 // is filled with XTR related materials, plastics, gas mixtures, etc
39 
40 
41 #include "Em10Materials.hh"
42 
43 #include "G4UnitsTable.hh"
44 #include "G4Material.hh"
45 #include "G4MaterialTable.hh"
46 #include "G4SystemOfUnits.hh"
47 
49 {
50  Initialise();
51 }
52 
54 {}
55 
56 void Em10Materials::Initialise()
57 {
59  G4double a, z;
60  G4double density, fractionmass;
61  G4int nel, ncomponents;
62 
63  // define Elements
64 
65  a = 1.01*g/mole;
66  G4Element* elH = new G4Element(name="Hydrogen",symbol="H" , z= 1., a);
67 
68  a = 6.94*g/mole;
69  G4Element* elLi = new G4Element(name="Lithium",symbol="Li" , z= 3., a);
70 
71  a = 9.01*g/mole;
72  G4Element* elBe = new G4Element(name="Berillium",symbol="Be" , z= 4., a);
73 
74  a = 12.01*g/mole;
75  G4Element* elC = new G4Element(name="Carbon", symbol="C", z=6., a);
76 
77  a = 14.01*g/mole;
78  G4Element* elN = new G4Element(name="Nitrogen",symbol="N" , z= 7., a);
79 
80  a = 16.00*g/mole;
81  G4Element* elO = new G4Element(name="Oxygen" ,symbol="O" , z= 8., a);
82 
83  a = 39.948*g/mole;
84  G4Element* elAr = new G4Element(name="Argon", symbol="Ar", z=18., a);
85 
86  /*
87  a = 131.29*g/mole;
88  G4Element* elXe = new G4Element(name="Xenon", symbol="Xe", z=54., a);
89 
90  a = 19.00*g/mole;
91  G4Element* elF = new G4Element(name="Fluorine", symbol="F", z=9., a);
92  */
93 
95  //
96  // Detector windows, electrodes
97  // Al for electrodes
98 
99  density = 2.700*g/cm3;
100  a = 26.98*g/mole;
101  new G4Material(name="Al", z=13., a, density);
102 
103 
105  //
106  // Materials for popular X-ray TR radiators
107  //
108 
109  // TRT_CH2
110 
111  density = 0.935*g/cm3;
112  G4Material* TRT_CH2 = new G4Material(name="TRT_CH2",density, nel=2);
113  TRT_CH2->AddElement(elC,1);
114  TRT_CH2->AddElement(elH,2);
115 
116  // Radiator
117 
118  density = 0.059*g/cm3;
119  G4Material* Radiator = new G4Material(name="Radiator",density, nel=2);
120  Radiator->AddElement(elC,1);
121  Radiator->AddElement(elH,2);
122 
123  // Carbon Fiber
124 
125  density = 0.145*g/cm3;
126  G4Material* CarbonFiber = new G4Material(name="CarbonFiber",density, nel=1);
127  CarbonFiber->AddElement(elC,1);
128 
129  // Lithium
130 
131  density = 0.534*g/cm3;
132  G4Material* Li = new G4Material(name="Li",density, nel=1);
133  Li->AddElement(elLi,1);
134 
135  // Beryllium
136 
137  density = 1.848*g/cm3;
138  G4Material* Be = new G4Material(name="Be",density, nel=1);
139  Be->AddElement(elBe,1);
140 
141 
142  // Mylar
143 
144  density = 1.39*g/cm3;
145  G4Material* Mylar = new G4Material(name="Mylar", density, nel=3);
146  Mylar->AddElement(elO,2);
147  Mylar->AddElement(elC,5);
148  Mylar->AddElement(elH,4);
149 
150  // Kapton Dupont de Nemur (density: 1.396-1.430, get middle )
151 
152  density = 1.413*g/cm3;
153  G4Material* Kapton = new G4Material(name="Kapton", density, nel=4);
154  Kapton->AddElement(elO,5);
155  Kapton->AddElement(elC,22);
156  Kapton->AddElement(elN,2);
157  Kapton->AddElement(elH,10);
158 
159  // Kapton (polyimide) ??? since = Mylar C5H4O2
160 
161  // density = 1.39*g/cm3;
162  // G4Material* kapton = new G4Material(name="kapton", density, nel=3);
163  // Kapton->AddElement(elO,2);
164  // Kapton->AddElement(elC,5);
165  // Kapton->AddElement(elH,4);
166 
167  // Polypropelene
168 
169  G4Material* CH2 = new G4Material ("CH2" , 0.91*g/cm3, 2);
170  CH2->AddElement(elH,2);
171  CH2->AddElement(elC,1);
172 
174  //
175  // Noble gases , STP conditions
176 
177  // Helium as detector gas, STP
178 
179  density = 0.178*mg/cm3;
180  a = 4.0026*g/mole;
181  G4Material* He = new G4Material(name="He",z=2., a, density );
182 
183  // Neon as detector gas, STP
184 
185  density = 0.900*mg/cm3;
186  a = 20.179*g/mole;
187  new G4Material(name="Ne",z=10., a, density );
188 
189  // Argon as detector gas, STP
190 
191  density = 1.7836*mg/cm3; // STP
192  G4Material* Argon = new G4Material(name="Argon" , density, ncomponents=1);
193  Argon->AddElement(elAr, 1);
194 
195  // Krypton as detector gas, STP
196 
197  density = 3.700*mg/cm3;
198  a = 83.80*g/mole;
199  G4Material* Kr = new G4Material(name="Kr",z=36., a, density );
200 
201  // Xenon as detector gas, STP
202 
203  density = 5.858*mg/cm3;
204  a = 131.29*g/mole;
205  G4Material* Xe = new G4Material(name="Xenon",z=54., a, density );
206 
208 //
209 // Hydrocarbones, metane and others
210 
211  // Metane, STP
212 
213  density = 0.7174*mg/cm3;
214  G4Material* metane = new G4Material(name="CH4",density,nel=2);
215  metane->AddElement(elC,1);
216  metane->AddElement(elH,4);
217 
218  // Propane, STP
219 
220  density = 2.005*mg/cm3 ;
221  G4Material* propane = new G4Material(name="C3H8",density,nel=2);
222  propane->AddElement(elC,3);
223  propane->AddElement(elH,8);
224 
225  // iso-Butane (methylpropane), STP
226 
227  density = 2.67*mg/cm3;
228  G4Material* isobutane = new G4Material(name="isoC4H10",density,nel=2);
229  isobutane->AddElement(elC,4);
230  isobutane->AddElement(elH,10);
231 
233  //
234  // Molecular gases
235 
236  // Carbon dioxide, STP
237 
238  density = 1.977*mg/cm3;
239  G4Material* CO2 = new G4Material(name="CO2", density, nel=2,
240  kStateGas,273.15*kelvin,1.*atmosphere);
241  CO2->AddElement(elC,1);
242  CO2->AddElement(elO,2);
243 
244  // Carbon dioxide, STP
245 
246  density = 1.977*273.*mg/cm3/293.;
247  G4Material* CarbonDioxide = new G4Material(name="CO2", density, nel=2);
248  CarbonDioxide->AddElement(elC,1);
249  CarbonDioxide->AddElement(elO,2);
250 
251  // Nitrogen, STP
252 
253  density = 1.25053*mg/cm3; // STP
254  G4Material* Nitrogen = new G4Material(name="N2" , density, ncomponents=1);
255  Nitrogen->AddElement(elN, 2);
256 
257  // Oxygen, STP
258 
259  density = 1.4289*mg/cm3; // STP
260  G4Material* Oxygen = new G4Material(name="O2" , density, ncomponents=1);
261  Oxygen->AddElement(elO, 2);
262 
263  /* *****************************
264  density = 1.25053*mg/cm3; // STP
265  a = 14.01*g/mole ; // get atomic weight !!!
266  // a = 28.016*g/mole;
267  G4Material* N2 = new G4Material(name="Nitrogen", z= 7.,a,density) ;
268 
269  density = 1.25053*mg/cm3; // STP
270  G4Material* anotherN2 = new G4Material(name="anotherN2", density,ncomponents=2);
271  anotherN2->AddElement(elN, 1);
272  anotherN2->AddElement(elN, 1);
273 
274  // air made from oxigen and nitrogen only
275 
276  density = 1.290*mg/cm3; // old air from elements
277  G4Material* air = new G4Material(name="air" , density, ncomponents=2);
278  air->AddElement(elN, fractionmass=0.7);
279  air->AddElement(elO, fractionmass=0.3);
280  ******************************************** */
281 
282  // Dry Air (average composition with Ar), STP
283 
284  density = 1.2928*mg/cm3 ; // STP
285  G4Material* Air = new G4Material(name="Air" , density, ncomponents=3);
286  Air->AddMaterial( Nitrogen, fractionmass = 0.7557 );
287  Air->AddMaterial( Oxygen, fractionmass = 0.2315 );
288  Air->AddMaterial( Argon, fractionmass = 0.0128 );
289 
291  //
292  // MWPC mixtures
293 
294  // 85% Xe + 15% CO2, STP
295 
296  density = 4.9*mg/cm3;
297  G4Material* Xe15CO2 = new G4Material(name="Xe15CO2" , density, ncomponents=2);
298  Xe15CO2->AddMaterial( Xe, fractionmass = 0.979);
299  Xe15CO2->AddMaterial( CarbonDioxide, fractionmass = 0.021);
300 
301  // 80% Xe + 20% CO2, STP
302 
303  density = 5.0818*mg/cm3;
304  G4Material* Xe20CO2 = new G4Material(name="Xe20CO2" , density, ncomponents=2);
305  Xe20CO2->AddMaterial( Xe, fractionmass = 0.922 );
306  Xe20CO2->AddMaterial( CarbonDioxide, fractionmass = 0.078 );
307 
308  // 70% Xe + 27% CO2 + 3% O2, 20 1 atm ATLAS straw tube mixture
309 
310  density = 4.358*mg/cm3;
311  G4Material* Xe27CO23O2 = new G4Material(name="Xe27CO23O2" , density, ncomponents=3);
312  Xe27CO23O2->AddMaterial( Xe, fractionmass = 0.87671);
313  Xe27CO23O2->AddMaterial( CarbonDioxide, fractionmass = 0.11412);
314  Xe27CO23O2->AddMaterial( Oxygen, fractionmass = 0.00917);
315 
316  // 80% Kr + 20% CO2, STP
317 
318  density = 3.601*mg/cm3;
319  G4Material* Kr20CO2 = new G4Material(name="Kr20CO2", density,
320  ncomponents=2);
321  Kr20CO2->AddMaterial( Kr, fractionmass = 0.89 );
322  Kr20CO2->AddMaterial( CarbonDioxide, fractionmass = 0.11 );
323 
324  // Xe + 55% He + 15% CH4 ; NIM A294 (1990) 465-472; STP
325 
326  density = 1.963*273.*mg/cm3/293.;
327  G4Material* Xe55He15CH4 = new G4Material(name="Xe55He15CH4",density,
328  ncomponents=3);
329  Xe55He15CH4->AddMaterial(Xe, 0.895);
330  Xe55He15CH4->AddMaterial(He, 0.050);
331  Xe55He15CH4->AddMaterial(metane,0.055);
332 
333  // 90% Xe + 10% CH4, STP ; NIM A248 (1986) 379-388
334 
335  density = 5.344*mg/cm3;
336  G4Material* Xe10CH4 = new G4Material(name="Xe10CH4" , density,
337  ncomponents=2);
338  Xe10CH4->AddMaterial( Xe, fractionmass = 0.987 ) ;
339  Xe10CH4->AddMaterial( metane, fractionmass = 0.013 ) ;
340 
341  // 95% Xe + 5% CH4, STP ; NIM A214 (1983) 261-268
342 
343  density = 5.601*mg/cm3;
344  G4Material* Xe5CH4 = new G4Material(name="Xe5CH4" , density,
345  ncomponents=2);
346  Xe5CH4->AddMaterial( Xe, fractionmass = 0.994 );
347  Xe5CH4->AddMaterial( metane, fractionmass = 0.006 );
348 
349  // 80% Xe + 20% CH4, STP ; NIM A253 (1987) 235-244
350 
351  density = 4.83*mg/cm3;
352  G4Material* Xe20CH4 = new G4Material(name="Xe20CH4" , density,
353  ncomponents=2);
354  Xe20CH4->AddMaterial( Xe, fractionmass = 0.97 );
355  Xe20CH4->AddMaterial( metane, fractionmass = 0.03 );
356 
357  // 93% Ar + 7% CH4, STP ; NIM 107 (1973) 413-422
358 
359  density = 1.709*mg/cm3;
360  G4Material* Ar7CH4 = new G4Material(name="Ar7CH4" , density,
361  ncomponents=2);
362  Ar7CH4->AddMaterial( Argon, fractionmass = 0.971 );
363  Ar7CH4->AddMaterial( metane, fractionmass = 0.029 );
364 
365  // 93% Kr + 7% CH4, STP ; NIM 107 (1973) 413-422
366 
367  density = 3.491*mg/cm3;
368  G4Material* Kr7CH4 = new G4Material(name="Kr7CH4" , density,
369  ncomponents=2);
370  Kr7CH4->AddMaterial( Kr, fractionmass = 0.986 );
371  Kr7CH4->AddMaterial( metane, fractionmass = 0.014 );
372 
373  // 0.5*(95% Xe + 5% CH4)+0.5*(93% Ar + 7% CH4), STP ; NIM A214 (1983) 261-268
374 
375  density = 3.655*mg/cm3;
376  G4Material* XeArCH4 = new G4Material(name="XeArCH4" , density,
377  ncomponents=2);
378  XeArCH4->AddMaterial( Xe5CH4, fractionmass = 0.766 );
379  XeArCH4->AddMaterial( Ar7CH4, fractionmass = 0.234 );
380 
381  // Silicon as detector material
382 
383  density = 2.330*g/cm3;
384  a = 28.09*g/mole;
385  new G4Material(name="Si", z=14., a, density);
386 
387 
388 
389 
390  /*
391  G4Material* ma;
392  ma = new G4Material("H", 1., 1.0*g/mole, 1.*g/cm3);
393  ma = new G4Material("D", 1., 2.0*g/mole, 1.*g/cm3);
394  ma = new G4Material("Li", 3., 6.941*g/mole, 1.*g/cm3);
395  ma = new G4Material("Be", 4., 9.01*g/mole, 1.848*g/cm3);
396  ma = new G4Material("C", 6., 12.00*g/mole, 2.0*g/cm3);
397  ma = new G4Material("Graphite",6., 12.00*g/mole, 2.265*g/cm3 );
398  ma->SetChemicalFormula("Graphite");
399  ma = new G4Material("Al", 13., 26.98*g/mole, 2.7 *g/cm3);
400  ma = new G4Material("Si", 14., 29.055*g/mole, 2.33*g/cm3);
401  ma = new G4Material("LAr", 18., 39.95*g/mole, 1.393*g/cm3);
402  ma = new G4Material("Zr", 40., 91.224*g/mole, 4.0*g/cm3);
403  ma = new G4Material("LXe", 54., 131.29*g/mole, 3.02*g/cm3);
404  ma = new G4Material("Fe", 26., 55.85*g/mole, 7.87*g/cm3);
405  ma = new G4Material("Ni", 29., 58.6934*g/mole, 8.00*g/cm3);
406  ma = new G4Material("Cu", 29., 63.55*g/mole, 8.96*g/cm3);
407  ma = new G4Material("Au", 79., 196.97*g/mole, 19.32*g/cm3);
408  ma = new G4Material("Ta", 73., 180.9479*g/mole, 16.67*g/cm3);
409  ma = new G4Material("W", 74., 183.85*g/mole, 19.30*g/cm3);
410  ma = new G4Material("Pb", 82., 207.19*g/mole, 11.35*g/cm3);
411  ma = new G4Material("Bi", 83., 208.98*g/mole, 12.*g/cm3);
412  ma = new G4Material("U", 92., 238.03*g/mole, 18.95*g/cm3);
413 
414  G4Element* H = new G4Element ("Hydrogen", "H", 1. , 1.01*g/mole);
415  G4Element* N = new G4Element ("Nitrigen", "N", 7. , 14.00*g/mole);
416  G4Element* O = new G4Element ("Oxygen" , "O", 8. , 16.00*g/mole);
417  G4Element* C = new G4Element ("Carbon" , "C", 6. , 12.00*g/mole);
418  G4Element* Cs = new G4Element ("Cesium" , "Cs", 55. , 132.905*g/mole);
419  G4Element* I = new G4Element ("Iodide" , "I", 53. , 126.9044*g/mole);
420 
421  ma = new G4Material("O2", 8., 16.00*g/mole, 1.1*g/cm3);
422  ma->SetChemicalFormula("O_2");
423  ma = new G4Material ("Water" , 1.*g/cm3, 2);
424  ma->AddElement(H,2);
425  ma->AddElement(O,1);
426  ma->SetChemicalFormula("H_2O");
427  ma = new G4Material ("Ethane" , 0.4241*g/cm3, 2);
428  ma->AddElement(H,6);
429  ma->AddElement(C,2);
430  ma->SetChemicalFormula("C_2H_6");
431  ma = new G4Material ("CsI" , 4.53*g/cm3, 2);
432  ma->AddElement(Cs,1);
433  ma->AddElement(I,1);
434  ma->SetChemicalFormula("CsI");
435  ma = new G4Material("Air" , 1.290*mg/cm3, 2);
436  // use fraction in mass
437  ma->AddElement(N, 0.7);
438  ma->AddElement(O, 0.3);
439  */
440 
441 
442 
443 }
444 
445 
447 {
448 
449  // const G4MaterialTable* theMaterialTable = G4Material::GetMaterialTable();
450 
452 
453  G4cout << "Material is selected: " << ma->GetName() << G4endl;
454  return ma;
455 }
456 
457 
458 
459 
460 
461 
462 
463