14#include "TrkReco/RkFitMaterial.h"
19 double rho,
double x0)
28 : rza_(mat.rza_), isq_(mat.isq_),
29 x0_(mat.x0_), z_(mat.z_)
44 const double Me = 0.000510999;
46 double bsq = psq / (psq +
mass *
mass);
50 double w = (4 * Me * esq
51 / (1 + 2 *
s * sqrt(1 + esq)
55 cc = 1+2*log(sqrt(isq_)/(28.8E-09*sqrt(rza_)));
60 double x1(3), xa(cc/4.606), aa;
61 aa = 4.606*(xa-x0)/((x1-x0)*(x1-x0)*(x1-x0));
63 double x(log10(sqrt(esq)));
69 float f1, f2, f3, f4, f5, ce;
73 f4 = (
f1*0.42237+f2*0.0304-f3*0.00038)*1E12;
74 f5 = (
f1*3.858-f2*0.1668+f3*0.00158)*1E18;
75 ce = f4*isq_+f5*isq_*sqrt(isq_);
76 return (0.0001535 * rza_ / bsq
77 * (log(Me * esq *
w / isq_)
78 - 2 * bsq-
delta-2.0*ce/z_)) * path;
88 double t = path / x0_;
90 return 0.0136 * sqrt(
t * (
mass*
mass + psq)) / psq
91 * (1 + 0.038 * log(
t));
98 double sigma0_2 = 0.1569*rza_*path;
100 if (sigma0_2<0)
return 0;
103 double bsq = psq / (psq +
mass *
mass);
106 double sigma_2 = sigma0_2*(1-0.5*bsq)/(1-bsq);
108 if (sigma_2<0)
return 0;
111 return sqrt(sigma_2)*0.001;
double dE(double mass, double path, double p) const
Calculate energy loss.
RkFitMaterial()
Constructor.
double mcs_angle(double mass, double path, double p) const
Calculate Multiple Scattering angle.
double del_E(double mass, double path, double p) const
Calculate the straggling of energy loss.