BOSS 7.0.4
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.

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

◆ ~EvtPFermi()

EvtPFermi::~EvtPFermi ( )
virtual

Definition at line 45 of file EvtPFermi.cc.

46{
47}

Member Function Documentation

◆ getFPFermi()

double EvtPFermi::getFPFermi ( const double &  kplus)

Definition at line 53 of file EvtPFermi.cc.

54{
55 double FKplus;
56 double x = kplus/(_mB-_mb);
57
58 if ( x >= 1) return 0;
59 if ( kplus <= -_mb) return 0;
60
61 FKplus = pow(1-x,_a)*exp((1+_a)*x);
62
63 return FKplus;
64}
Double_t x[10]
EvtComplex exp(const EvtComplex &c)
Definition: EvtComplex.hh:252

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


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