BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtBlattWeisskopf Class Reference

#include <EvtBlattWeisskopf.hh>

Public Member Functions

 EvtBlattWeisskopf (int LL, double R, double p0)
 
 EvtBlattWeisskopf (const EvtBlattWeisskopf &)
 
 ~EvtBlattWeisskopf ()
 
double operator() (double p) const
 
double get (double p)
 
 EvtBlattWeisskopf (int LL, double R, double p0)
 
 EvtBlattWeisskopf (const EvtBlattWeisskopf &)
 
 ~EvtBlattWeisskopf ()
 
double operator() (double p) const
 
double get (double p)
 

Detailed Description

Constructor & Destructor Documentation

◆ EvtBlattWeisskopf() [1/4]

EvtBlattWeisskopf::EvtBlattWeisskopf ( int  LL,
double  R,
double  p0 
)

Definition at line 18 of file bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtBlattWeisskopf.cc.

19 : _LL(LL), _radial(R), _p0(p0)
20{
21 if(R < 0) {
22
23 report(INFO,"EvtGen") << "Radius " << R << " negative" << endl;
24 assert(0);
25 }
26
27 _radial = R;
28
29 // compute formula for nominal momentum
30
31 _F0 = compute(_p0);
32 if(_F0 <= 0) {
33
34 report(INFO,"EvtGen") << "Invalid nominal form factor computed " << _F0 << endl;
35 assert(0);
36 }
37}
ostream & report(Severity severity, const char *facility)
complex_t R(double Q2, double M2, double G, double Mp2, double Mm2)
Definition: TUtil.h:27

◆ EvtBlattWeisskopf() [2/4]

EvtBlattWeisskopf::EvtBlattWeisskopf ( const EvtBlattWeisskopf other)

Definition at line 39 of file bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtBlattWeisskopf.cc.

40 : _LL(other._LL), _radial(other._radial), _p0(other._p0), _F0(other._F0)
41{}

◆ ~EvtBlattWeisskopf() [1/2]

EvtBlattWeisskopf::~EvtBlattWeisskopf ( )

◆ EvtBlattWeisskopf() [3/4]

EvtBlattWeisskopf::EvtBlattWeisskopf ( int  LL,
double  R,
double  p0 
)

◆ EvtBlattWeisskopf() [4/4]

EvtBlattWeisskopf::EvtBlattWeisskopf ( const EvtBlattWeisskopf )

◆ ~EvtBlattWeisskopf() [2/2]

EvtBlattWeisskopf::~EvtBlattWeisskopf ( )

Member Function Documentation

◆ get() [1/2]

double EvtBlattWeisskopf::get ( double  p)
inline

Definition at line 26 of file bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtBlattWeisskopf.hh.

26{return compute(p);}

◆ get() [2/2]

double EvtBlattWeisskopf::get ( double  p)
inline

Definition at line 26 of file BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtBlattWeisskopf.hh.

26{return compute(p);}

◆ operator()() [1/2]

double EvtBlattWeisskopf::operator() ( double  p) const

Definition at line 46 of file bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtBlattWeisskopf.cc.

47{
48 double ret = compute(p)/_F0;
49 // report(INFO,"EvtGen") << p << " " << _p0 << " " << _F0 << " " << _LL << " " << _radial << " " << ret << endl;
50 return ret;
51}

◆ operator()() [2/2]

double EvtBlattWeisskopf::operator() ( double  p) const

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