98 Error(
"setNComponents",
"Wrong index");
115 }
else { p[0]=p[1]=p[2]=0.; }
140 Error(
"setNpckov",
"Wrong index");
158 }
else { p[0]=p[1]=p[2]=p[3]=0.; }
162 Double_t maxField,Double_t
precision,Double_t maxDeviation,
163 Double_t maxStep,Double_t maxDE,Double_t minStep )
205 if (nComponents==1) {
227 for(Int_t i=0; i<
n; i++) {
242 if (nComponents<2) { cout<<
radLen; }
243 else for(Int_t iik=0; iik<
nComponents; iik++) { cout<<
cw[iik]<<bl ;}
250 for(Int_t i=0; i<
npckov; i++) {
265 if (nComponents<2) { fout<<
radLen; }
273 for(Int_t i=0; i<
npckov; i++) {
288 Double_t
alpha=1/137.;
289 Double_t fac=.1912821;
290 Double_t
z, a, w, az2, fc,
y, xi, x0i, amol=0., x0itot=0.;
296 Error(
"calcRadiationLength()",
"amol==0 for medium %s",fName.Data());
310 fc=az2 * (1./(1.+az2) + 0.20206 - 0.0369*az2 + 0.0083*az2*az2
311 - .002
F*az2*az2*az2);
312 y=log(183./pow(z,1./3.)) - fc;
313 xi=(float)(log(1440./pow(z,2./3.)) /
y);
314 x0i=fac*alpha/a*z*(z+xi)*y;
317 if (x0itot==0. ||
density==0.) {
318 Error(
"calcRadiationLength()",
"x0itot=0 or density=0 for medium %s",fName.Data());