19 : _LL(LL), _radial(R), _p0(p0)
23 report(
INFO,
"EvtGen") <<
"Radius " << R <<
" negative" << endl;
34 report(
INFO,
"EvtGen") <<
"Invalid nominal form factor computed " << _F0 << endl;
40 : _LL(other._LL), _radial(other._radial), _p0(other._p0), _F0(other._F0)
48 double ret = compute(p)/_F0;
65double EvtBlattWeisskopf::compute(
double p)
const
69 report(
INFO,
"EvtGen") <<
"Momentum " << p <<
" negative in form factor calculation" << endl;
74 double x = p*p*_radial*_radial;
76 if(0 == _LL)
return 1.;
78 if(1 == _LL)
return sqrt(1.0/(1.0+x));
80 if(2 == _LL)
return sqrt(1.0/(1.0+x/3.0+x*x/9.0));
82 report(
INFO,
"EvtGen") <<
"Angular momentum " << _LL <<
" not implemented" << endl;
ostream & report(Severity severity, const char *facility)
double operator()(double p) const
EvtBlattWeisskopf(int LL, double R, double p0)