BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtPFermi Class Reference

#include <EvtPFermi.hh>

Public Member Functions

 EvtPFermi (const double &a, const double &mB, const double &mb)
virtual ~EvtPFermi ()
double getFPFermi (const double &kplus)

Detailed Description

Definition at line 24 of file EvtPFermi.hh.

Constructor & Destructor Documentation

◆ EvtPFermi()

EvtPFermi::EvtPFermi ( const double & a,
const double & mB,
const double & mb )

Definition at line 34 of file EvtPFermi.cc.

34 {
35 _a = a;
36 _mb = mb;
37 _mB = mB;
38}

◆ ~EvtPFermi()

EvtPFermi::~EvtPFermi ( )
virtual

Definition at line 44 of file EvtPFermi.cc.

44{}

Member Function Documentation

◆ getFPFermi()

double EvtPFermi::getFPFermi ( const double & kplus)

Definition at line 50 of file EvtPFermi.cc.

50 {
51 double FKplus;
52 double x = kplus / ( _mB - _mb );
53
54 if ( x >= 1 ) return 0;
55 if ( kplus <= -_mb ) return 0;
56
57 FKplus = pow( 1 - x, _a ) * exp( ( 1 + _a ) * x );
58
59 return FKplus;
60}
Double_t x[10]
EvtComplex exp(const EvtComplex &c)

Referenced by EvtVub::init(), and EvtVubHybrid::init().


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