47 "======================================================================="
50 "====== Crystal lattice data ========"
53 "======================================================================="
59 if (lattice.compare(0,1,
"(")==0)
62 filename = filename +
"_planes_";
66 else if (lattice.compare(0,1,
"<")==0)
69 filename = filename +
"_axes_";
75 filename = filename + lattice.substr(1,(lattice.length())-2) +
".dat";
88 std::ifstream vfilein;
89 vfilein.open(filename);
95 fN0.push_back(var/cm3);
102 fU1.push_back(var*cm);
111 vfilein >> fNpointsx;
119 vfilein >> fDx >> fDy;
123 vfilein >> fNpointsx >> fNpointsy;
157 for(
G4int i=0; i<fNpointsx; i++)
160 vfilein >> ai >> bi >> ci >> di;
164 ci*unitIF, di*unitIF, i);
167 vfilein >> ai >> bi >> ci >> di;
171 ci*unitIF, di*unitIF, i);
174 vfilein >> ai >> bi >> ci >> di;
178 ci*unitIF, di*unitIF, i);
181 vfilein >> ai >> bi >> ci >> di;
185 ci*unitIF, di*unitIF, i);
190 vfilein >> ai >> bi >> ci >> di;
194 ci*unitIF, di*unitIF, i);
201 for(
G4int j=0; j<fNpointsy; j++)
203 for(
G4int i=0; i<fNpointsx+1; i++)
205 for(
G4int k=0; k<2; k++)
208 vfilein >> ai3D >> bi3D >> ci3D;
215 vfilein >> ai3D >> bi3D >> ci3D;
222 vfilein >> ai3D >> bi3D >> ci3D;
229 vfilein >> ai3D >> bi3D >> ci3D;
232 fNucleiDensity[0]->SetCoefficients2D(ai3D*unitIF, bi3D*unitIF, ci3D*unitIF,
236 vfilein >> ai3D >> bi3D >> ci3D;
245 vfilein >> ai3D >> bi3D >> ci3D;
261 G4double alphahbarc2=std::pow(CLHEP::fine_structure_const*CLHEP::hbarc ,2.);
262 fK30=2.*CLHEP::pi*alphahbarc2/CLHEP::electron_mass_c2;
266 fRF.push_back((std::pow(9*CLHEP::pi*CLHEP::pi/128/fZ1[i],1/3.))
267 *0.5291772109217*angstrom);
269 fTetamax0.push_back(CLHEP::hbarc/(fR0*std::pow(fAN[i],1./3.)));
271 fPu11.push_back(std::pow(fU1[i]/CLHEP::hbarc,2.));
273 fK20.push_back(alphahbarc2*4*CLHEP::pi*fN0[i]*fZ1[i]*fZ1[i]);
275 fK40.push_back(3.76*std::pow(CLHEP::fine_structure_const*fZ1[i],2.));
277 fKD.push_back(
fK30*fZ1[i]*fN0[i]);