BOSS 8.0.0
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 19 of file EvtBlattWeisskopf.cc.

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

Referenced by EvtBlattWeisskopf().

◆ EvtBlattWeisskopf() [2/2]

EvtBlattWeisskopf::EvtBlattWeisskopf ( const EvtBlattWeisskopf & other)

Definition at line 41 of file EvtBlattWeisskopf.cc.

42 : _LL( other._LL ), _radial( other._radial ), _p0( other._p0 ), _F0( other._F0 ) {}
Index other(Index i, Index j)

◆ ~EvtBlattWeisskopf()

EvtBlattWeisskopf::~EvtBlattWeisskopf ( )

Definition at line 44 of file EvtBlattWeisskopf.cc.

44{}

Member Function Documentation

◆ get()

double EvtBlattWeisskopf::get ( double p)
inline

Definition at line 24 of file EvtBlattWeisskopf.hh.

24{ return compute( p ); }

◆ operator()()

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

Definition at line 46 of file EvtBlattWeisskopf.cc.

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

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