Geant4  10.02.p03
FCALMaterialConsultant Class Reference

#include <FCALMaterialConsultant.hh>

Collaboration diagram for FCALMaterialConsultant:

Public Member Functions

 ~FCALMaterialConsultant ()
 
G4MaterialMaterial (G4String)
 
 FCALMaterialConsultant ()
 

Static Public Member Functions

static FCALMaterialConsultantGetInstance ()
 

Static Public Attributes

static FCALMaterialConsultanttheFCALMaterialConsultant = NULL
 

Private Attributes

G4ElementelH
 
G4ElementelD
 
G4ElementelHe
 
G4ElementelLi
 
G4ElementelBe
 
G4ElementelC
 
G4ElementelN
 
G4ElementelNe
 
G4ElementelAl
 
G4ElementelFe
 
G4ElementelCu
 
G4ElementelW
 
G4ElementelPb
 
G4ElementelU
 
G4ElementelO
 
G4ElementelCa
 
G4ElementelNa
 
G4ElementelSi
 
G4MaterialAluminium
 
G4MaterialIron
 
G4MaterialCopper
 
G4MaterialTungsten
 
G4MaterialLead
 
G4MaterialAir
 
G4MaterialRhoaCell
 
G4MaterialVacuum
 
G4MaterialCO2
 
G4MaterialArgonGas
 
G4MaterialShieldingConcrete
 
G4MaterialPolystyrene
 
G4MaterialStainlessSteel
 
G4MaterialNickel
 
G4MaterialLiquidArgon
 
G4MaterialKapton
 
G4MaterialFCAL1CuArKap
 
G4MaterialFCAL1CuAr
 
G4MaterialFCAL2CuArKap
 
G4MaterialFCAL2WFeNi
 
G4MaterialFCAL2WFeNiCuAr
 
G4MaterialMWPCArCO2
 

Detailed Description

Definition at line 47 of file FCALMaterialConsultant.hh.

Constructor & Destructor Documentation

◆ ~FCALMaterialConsultant()

FCALMaterialConsultant::~FCALMaterialConsultant ( )
inline

Definition at line 51 of file FCALMaterialConsultant.hh.

51 {;};
Here is the call graph for this function:

◆ FCALMaterialConsultant()

FCALMaterialConsultant::FCALMaterialConsultant ( )

Definition at line 62 of file FCALMaterialConsultant.cc.

63 {
64  G4double a,z,density,fractionmass;
66  G4int nel,natoms;
67 
68  //------------
69  // elements
70  //------------
71 
72  a=1.01*g/mole;
73  elH=new G4Element(name="Hydrogen",symbol="H2",z=1.,a);
74 
75  a=2.01*g/mole;
76  elD=new G4Element(name="Deuterium",symbol="D",z=1.,a);
77 
78  a=4.*g/mole;
79  elHe=new G4Element(name="Helium",symbol="He",z=2.,a);
80 
81  a=6.94*g/mole;
82  elLi=new G4Element(name="Lithium",symbol="Li",z=3.,a);
83 
84  a=9.01*g/mole;
85  elBe=new G4Element(name="Berillium",symbol="Be",z=4.,a);
86 
87  a=12.01*g/mole;
88  elC=new G4Element(name="Carbon",symbol="C",z=6.,a);
89 
90  a=14.01*g/mole;
91  elN=new G4Element(name="Nitrogen",symbol="N2",z=7.,a);
92 
93  a=16.*g/mole;
94  elO=new G4Element(name="Oxygen",symbol="O2",z=8.,a);
95 
96  a=20.18*g/mole;
97  elNe=new G4Element(name="Neon",symbol="Ne",z=10.,a);
98 
99  a=22.99*g/mole;
100  elNa=new G4Element(name="Sodium",symbol="Na",z=11.,a);
101 
102  a=26.98*g/mole;
103  elAl=new G4Element(name="Aluminium",symbol="Al",z=13.,a);
104 
105  a=28.085*g/mole;
106  elSi=new G4Element(name="Silicon",symbol="Si",z=14.,a);
107 
108  a=40.08*g/mole;
109  elCa=new G4Element(name="Calcium",symbol="Ca",z=20.,a);
110 
111  a=55.850*g/mole;
112  elFe=new G4Element(name="Iron",symbol="Fe",z=26.,a);
113 
114  a=63.54*g/mole;
115  elCu=new G4Element(name="Copper",symbol="Cu",z=29.,a);
116 
117  a=183.85*g/mole;
118  elW=new G4Element(name="Tungstenm",symbol="W",z=74.,a);
119 
120  a=207.19*g/mole;
121  elPb=new G4Element(name="Lead",symbol="Pb",z=82.,a);
122 
123  a=238.03*g/mole;
124  elU=new G4Element(name="Uranium",symbol="U",z=92.,a);
125 
126 
127  //-------------------
128  // simple materials
129  //-------------------
130 
131  density = 2.7*g/cm3;
132  a = 26.98*g/mole;
133  Aluminium = new G4Material(name="Aluminium",z=13.,a,density);
134 
135  density = 7.87*g/cm3;
136  a = 55.85*g/mole;
137  Iron = new G4Material(name="Iron",z=26.,a,density);
138 
139  density = 8.96*g/cm3;
140  a = 63.54*g/mole;
141  Copper = new G4Material(name="Copper",z=29.,a,density);
142 
143  density = 19.3*g/cm3;
144  a = 183.85*g/mole;
145  Tungsten = new G4Material(name="Tungsten",z=74.,a,density);
146 
147  density = 11.35*g/cm3;
148  a = 207.19*g/mole;
149  Lead = new G4Material(name="Lead",z=82.,a,density);
150 
151  density = 1.4*g/cm3;
152  a = 39.95*g/mole;
153  LiquidArgon = new G4Material(name="LiquidArgon",z=18.,a,density);
154 
155  density = 0.002*g/cm3;
156  a = 39.95*g/mole;
157  ArgonGas = new G4Material(name="ArgonGas",z=18.,a,density);
158 
159  density = 8.96*g/cm3;
160  a = 58.69*g/mole;
161  Nickel = new G4Material(name="Nickel",z=28.,a,density);
162 
163 
164  //------------------
165  // mixtures
166  //------------------
167 
168  density = 1.290*mg/cm3;
169  Air = new G4Material(name="Air",density, nel=2);
170  Air->AddElement(elN, 0.7);
171  Air->AddElement(elO, 0.3);
172 
173  RhoaCell = Air;
174 
175 
176  density = 1.e-5*g/cm3;
177  G4double pressure = 2.e-2*bar;
178  G4double temperature = STP_Temperature; //from PhysicalConstants.h
179  Vacuum = new G4Material(name="Vacuum", density, nel=1,
180  kStateGas,temperature,pressure);
181  Vacuum->AddMaterial(Air, fractionmass=1.);
182 
183 
184  density = 0.002*g/cm3;
185  CO2 = new G4Material(name="CO2",density,nel=2);
186  CO2->AddElement(elC, natoms=1);
187  CO2->AddElement(elO, natoms=2);
188 
189  density = 1.42*g/cm3;
190  Kapton = new G4Material(name="Kapton",density, nel=4);
191  Kapton->AddElement(elH, fractionmass = 0.0273);
192  Kapton->AddElement(elC, fractionmass = 0.7213);
193  Kapton->AddElement(elN, fractionmass = 0.0765);
194  Kapton->AddElement(elO, fractionmass = 0.1749);
195 
196  density = 1.032*g/cm3;
197  Polystyrene = new G4Material(name="Polystyrene",density,nel=2);
198  Polystyrene->AddElement(elC, natoms=8);
199  Polystyrene->AddElement(elH, natoms=8);
200 
201  density = 5.185*g/cm3;
202  FCAL1CuArKap = new G4Material(name="FCAL1CuArKap",density,nel=3);
203  FCAL1CuArKap->AddMaterial(Copper, fractionmass = 0.864);
204  FCAL1CuArKap->AddMaterial(Kapton, fractionmass = 0.068);
205  FCAL1CuArKap->AddMaterial(LiquidArgon, fractionmass = 0.068);
206 
207  density = 8.701*g/cm3;
208  FCAL1CuAr = new G4Material(name="FCAL1CuAr",density,nel=2);
209  FCAL1CuAr->AddMaterial(Copper, fractionmass = 0.994);
210  FCAL1CuAr->AddMaterial(LiquidArgon, fractionmass = 0.006);
211 
212  density = 5.185*g/cm3;
213  FCAL2CuArKap = new G4Material(name="FCAL2CuArKap",density,nel=3);
214  FCAL2CuArKap->AddMaterial(Copper, fractionmass = 0.864);
215  FCAL2CuArKap->AddMaterial(Kapton, fractionmass = 0.068);
216  FCAL2CuArKap->AddMaterial(LiquidArgon, fractionmass = 0.068);
217 
218  density = 18.6*g/cm3;
219  FCAL2WFeNi = new G4Material(name="FCAL2WFeNi",density,nel=3);
220  FCAL2WFeNi->AddMaterial(Tungsten, fractionmass = 0.97);
221  FCAL2WFeNi->AddMaterial(Iron, fractionmass = 0.01);
222  FCAL2WFeNi->AddMaterial(Nickel, fractionmass = 0.02);
223 
224  density = 15.366*g/cm3;
225  FCAL2WFeNiCuAr = new G4Material(name="FCAL2WFeNiCuAr",density,nel=3);
226  FCAL2WFeNiCuAr->AddMaterial(FCAL2WFeNi, fractionmass = 0.913);
227  FCAL2WFeNiCuAr->AddMaterial(Copper, fractionmass = 0.077);
228  FCAL2WFeNiCuAr->AddMaterial(LiquidArgon, fractionmass = 0.01);
229 
230  density = 0.002*g/cm3;
231  MWPCArCO2 = new G4Material(name="MWPCArCO2",density,nel=2);
232  MWPCArCO2->AddMaterial(CO2, fractionmass = 0.2);
233  MWPCArCO2->AddMaterial(ArgonGas, fractionmass = 0.8);
234 
235 
236  // must check recipe for concrete
237 
238  density = 2.5*g/cm3;
239  ShieldingConcrete = new G4Material(name="ShieldingConcrete",density,nel=6);
240  ShieldingConcrete->AddElement(elO, fractionmass = 0.52);
241  ShieldingConcrete->AddElement(elSi, fractionmass = 0.325);
242  ShieldingConcrete->AddElement(elCa, fractionmass = 0.06);
243  ShieldingConcrete->AddElement(elNa, fractionmass = 0.015);
244  ShieldingConcrete->AddElement(elFe, fractionmass = 0.04);
245  ShieldingConcrete->AddElement(elAl, fractionmass = 0.04);
246 
247  // must have the right composition for stainless steel
248 
249  density = 8.96*g/cm3;
250  StainlessSteel = new G4Material(name="StainlessSteel",density,nel=1);
251  StainlessSteel->AddElement(elO, fractionmass = 1.);
252 
253 }
G4String symbol
Definition: TRTMaterials.hh:40
void AddMaterial(G4Material *material, G4double fraction)
Definition: G4Material.cc:469
G4String name
Definition: TRTMaterials.hh:40
float STP_Temperature
Definition: hepunit.py:302
static const double mg
Definition: G4SIunits.hh:181
int G4int
Definition: G4Types.hh:78
G4double density
Definition: TRTMaterials.hh:39
function g(Y1, Y2, PT2)
Definition: hijing1.383.f:5206
static const double cm3
Definition: G4SIunits.hh:120
static const double bar
Definition: G4SIunits.hh:233
static const double mole
Definition: G4SIunits.hh:283
void AddElement(G4Element *element, G4int nAtoms)
Definition: G4Material.cc:364
double G4double
Definition: G4Types.hh:76
G4int nel
Definition: TRTMaterials.hh:41
Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ GetInstance()

FCALMaterialConsultant * FCALMaterialConsultant::GetInstance ( )
static

Definition at line 255 of file FCALMaterialConsultant.cc.

256 {
257  if (theFCALMaterialConsultant == NULL) {
259  }
261 }
static FCALMaterialConsultant * theFCALMaterialConsultant
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Material()

G4Material * FCALMaterialConsultant::Material ( G4String  what)

Definition at line 263 of file FCALMaterialConsultant.cc.

264 {
265  G4Material* material = 0;
266  if(what == "Air") material = Air;
267  if(what == "Vacuum") material = Vacuum;
268  if(what == "LiquidArgon") material = LiquidArgon;
269  if(what == "Aluminium") material = Aluminium;
270  if(what == "Iron") material = Iron;
271  if(what == "Copper") material = Copper;
272  if(what == "Tungsten") material = Tungsten;
273  if(what == "Lead") material = Lead;
274  if(what == "CO2") material = CO2;
275  if(what == "ArgonGas") material = ArgonGas;
276  if(what == "ShieldingConcrete") material = ShieldingConcrete;
277  if(what == "Polystyrene") material = Polystyrene;
278  if(what == "StainlessSteel") material = StainlessSteel;
279  if(what == "Nickel") material = Nickel;
280  if(what == "FCAL1CuArKap") material = FCAL1CuArKap;
281  if(what == "FCAL1CuAr") material = FCAL1CuAr;
282  if(what == "FCAL2CuArKap") material = FCAL2CuArKap;
283  if(what == "FCAL2WFeNi") material = FCAL2WFeNi;
284  if(what == "FCAL2WFeNiCuAr") material = FCAL2WFeNiCuAr;
285  if(what == "MWPCArCO2") material = MWPCArCO2;
286  if(what == "RhoaCell") material = RhoaCell;
287 
288  return material;
289 }
string material
Definition: eplot.py:19
Here is the caller graph for this function:

Member Data Documentation

◆ Air

G4Material* FCALMaterialConsultant::Air
private

Definition at line 66 of file FCALMaterialConsultant.hh.

◆ Aluminium

G4Material* FCALMaterialConsultant::Aluminium
private

Definition at line 65 of file FCALMaterialConsultant.hh.

◆ ArgonGas

G4Material * FCALMaterialConsultant::ArgonGas
private

Definition at line 66 of file FCALMaterialConsultant.hh.

◆ CO2

G4Material * FCALMaterialConsultant::CO2
private

Definition at line 66 of file FCALMaterialConsultant.hh.

◆ Copper

G4Material * FCALMaterialConsultant::Copper
private

Definition at line 65 of file FCALMaterialConsultant.hh.

◆ elAl

G4Element * FCALMaterialConsultant::elAl
private

Definition at line 62 of file FCALMaterialConsultant.hh.

◆ elBe

G4Element * FCALMaterialConsultant::elBe
private

Definition at line 61 of file FCALMaterialConsultant.hh.

◆ elC

G4Element * FCALMaterialConsultant::elC
private

Definition at line 61 of file FCALMaterialConsultant.hh.

◆ elCa

G4Element* FCALMaterialConsultant::elCa
private

Definition at line 63 of file FCALMaterialConsultant.hh.

◆ elCu

G4Element * FCALMaterialConsultant::elCu
private

Definition at line 62 of file FCALMaterialConsultant.hh.

◆ elD

G4Element * FCALMaterialConsultant::elD
private

Definition at line 61 of file FCALMaterialConsultant.hh.

◆ elFe

G4Element * FCALMaterialConsultant::elFe
private

Definition at line 62 of file FCALMaterialConsultant.hh.

◆ elH

G4Element* FCALMaterialConsultant::elH
private

Definition at line 61 of file FCALMaterialConsultant.hh.

◆ elHe

G4Element * FCALMaterialConsultant::elHe
private

Definition at line 61 of file FCALMaterialConsultant.hh.

◆ elLi

G4Element * FCALMaterialConsultant::elLi
private

Definition at line 61 of file FCALMaterialConsultant.hh.

◆ elN

G4Element * FCALMaterialConsultant::elN
private

Definition at line 61 of file FCALMaterialConsultant.hh.

◆ elNa

G4Element * FCALMaterialConsultant::elNa
private

Definition at line 63 of file FCALMaterialConsultant.hh.

◆ elNe

G4Element* FCALMaterialConsultant::elNe
private

Definition at line 62 of file FCALMaterialConsultant.hh.

◆ elO

G4Element * FCALMaterialConsultant::elO
private

Definition at line 62 of file FCALMaterialConsultant.hh.

◆ elPb

G4Element * FCALMaterialConsultant::elPb
private

Definition at line 62 of file FCALMaterialConsultant.hh.

◆ elSi

G4Element * FCALMaterialConsultant::elSi
private

Definition at line 63 of file FCALMaterialConsultant.hh.

◆ elU

G4Element * FCALMaterialConsultant::elU
private

Definition at line 62 of file FCALMaterialConsultant.hh.

◆ elW

G4Element * FCALMaterialConsultant::elW
private

Definition at line 62 of file FCALMaterialConsultant.hh.

◆ FCAL1CuAr

G4Material * FCALMaterialConsultant::FCAL1CuAr
private

Definition at line 68 of file FCALMaterialConsultant.hh.

◆ FCAL1CuArKap

G4Material * FCALMaterialConsultant::FCAL1CuArKap
private

Definition at line 68 of file FCALMaterialConsultant.hh.

◆ FCAL2CuArKap

G4Material * FCALMaterialConsultant::FCAL2CuArKap
private

Definition at line 68 of file FCALMaterialConsultant.hh.

◆ FCAL2WFeNi

G4Material* FCALMaterialConsultant::FCAL2WFeNi
private

Definition at line 69 of file FCALMaterialConsultant.hh.

◆ FCAL2WFeNiCuAr

G4Material * FCALMaterialConsultant::FCAL2WFeNiCuAr
private

Definition at line 69 of file FCALMaterialConsultant.hh.

◆ Iron

G4Material * FCALMaterialConsultant::Iron
private

Definition at line 65 of file FCALMaterialConsultant.hh.

◆ Kapton

G4Material* FCALMaterialConsultant::Kapton
private

Definition at line 68 of file FCALMaterialConsultant.hh.

◆ Lead

G4Material * FCALMaterialConsultant::Lead
private

Definition at line 65 of file FCALMaterialConsultant.hh.

◆ LiquidArgon

G4Material * FCALMaterialConsultant::LiquidArgon
private

Definition at line 67 of file FCALMaterialConsultant.hh.

◆ MWPCArCO2

G4Material * FCALMaterialConsultant::MWPCArCO2
private

Definition at line 69 of file FCALMaterialConsultant.hh.

◆ Nickel

G4Material * FCALMaterialConsultant::Nickel
private

Definition at line 67 of file FCALMaterialConsultant.hh.

◆ Polystyrene

G4Material* FCALMaterialConsultant::Polystyrene
private

Definition at line 67 of file FCALMaterialConsultant.hh.

◆ RhoaCell

G4Material * FCALMaterialConsultant::RhoaCell
private

Definition at line 66 of file FCALMaterialConsultant.hh.

◆ ShieldingConcrete

G4Material * FCALMaterialConsultant::ShieldingConcrete
private

Definition at line 66 of file FCALMaterialConsultant.hh.

◆ StainlessSteel

G4Material * FCALMaterialConsultant::StainlessSteel
private

Definition at line 67 of file FCALMaterialConsultant.hh.

◆ theFCALMaterialConsultant

FCALMaterialConsultant * FCALMaterialConsultant::theFCALMaterialConsultant = NULL
static

Definition at line 56 of file FCALMaterialConsultant.hh.

◆ Tungsten

G4Material * FCALMaterialConsultant::Tungsten
private

Definition at line 65 of file FCALMaterialConsultant.hh.

◆ Vacuum

G4Material * FCALMaterialConsultant::Vacuum
private

Definition at line 66 of file FCALMaterialConsultant.hh.


The documentation for this class was generated from the following files: