BOSS 7.0.3
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)
 

Detailed Description

Definition at line 16 of file EvtBlattWeisskopf.hh.

Constructor & Destructor Documentation

◆ EvtBlattWeisskopf() [1/2]

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

Definition at line 18 of file 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)
Definition: EvtReport.cc:36
@ INFO
Definition: EvtReport.hh:52
complex_t R(double Q2, double M2, double G, double Mp2, double Mm2)
Definition: TUtil.h:27

◆ EvtBlattWeisskopf() [2/2]

EvtBlattWeisskopf::EvtBlattWeisskopf ( const EvtBlattWeisskopf other)

Definition at line 39 of file EvtBlattWeisskopf.cc.

40 : _LL(other._LL), _radial(other._radial), _p0(other._p0), _F0(other._F0)
41{}
Index other(Index i, Index j)
Definition: EvtCyclic3.cc:118

◆ ~EvtBlattWeisskopf()

EvtBlattWeisskopf::~EvtBlattWeisskopf ( )

Definition at line 43 of file EvtBlattWeisskopf.cc.

44{}

Member Function Documentation

◆ get()

double EvtBlattWeisskopf::get ( double  p)
inline

Definition at line 26 of file EvtBlattWeisskopf.hh.

26{return compute(p);}

Referenced by EvtCalHelAmp::decay().

◆ operator()()

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

Definition at line 46 of file EvtBlattWeisskopf.cc.

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

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