evtgen is hosted by Hepforge, IPPP Durham
EvtGen  2.0.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.
EvtBreitWignerPdf Class Reference

#include <EvtGenBase/EvtBreitWignerPdf.hh>

Inheritance diagram for EvtBreitWignerPdf:
EvtIntegPdf1D EvtPdf< EvtPoint1D >

Public Member Functions

 EvtBreitWignerPdf (double min, double max, double m0, double g0)
 
 EvtBreitWignerPdf (const EvtBreitWignerPdf &other)
 
double pdf (const EvtPoint1D &x) const override
 
EvtPdf< EvtPoint1D > * clone () const override
 
double pdfIntegral (double m) const override
 
double pdfIntegralInverse (double x) const override
 
double m0 () const
 
double g0 () const
 
- Public Member Functions inherited from EvtIntegPdf1D
 EvtIntegPdf1D (double min, double max)
 
 EvtIntegPdf1D (const EvtIntegPdf1D &)
 
EvtValError compute_integral () const override
 
EvtPoint1D randomPoint () override
 
- Public Member Functions inherited from EvtPdf< EvtPoint1D >
 EvtPdf ()
 
 EvtPdf (const EvtPdf &other)
 
virtual ~EvtPdf ()
 
double evaluate (const EvtPoint1D &p) const
 
EvtPdfMax< EvtPoint1DfindMax (const EvtPdf< EvtPoint1D > &pc, int N)
 
EvtValError findGenEff (const EvtPdf< EvtPoint1D > &pc, int N, int nFindMax)
 
void setItg (EvtValError itg)
 
EvtValError getItg () const
 
EvtValError getItg (int N) const
 
virtual EvtValError compute_integral (int) const
 
EvtValError compute_mc_integral (const EvtPdf< EvtPoint1D > &pc, int N)
 
EvtPredGen< EvtPdfGen< EvtPoint1D >, EvtPdfPred< EvtPoint1D > > accRejGen (const EvtPdf< EvtPoint1D > &pc, int nMax, double factor=1.)
 

Private Attributes

double _m0
 
double _g0
 

Additional Inherited Members

- Protected Attributes inherited from EvtIntegPdf1D
double _min
 
double _max
 
- Protected Attributes inherited from EvtPdf< EvtPoint1D >
EvtValError _itg
 

Detailed Description

Definition at line 28 of file EvtBreitWignerPdf.hh.

Constructor & Destructor Documentation

◆ EvtBreitWignerPdf() [1/2]

EvtBreitWignerPdf::EvtBreitWignerPdf ( double  min,
double  max,
double  m0,
double  g0 
)

Definition at line 30 of file EvtBreitWignerPdf.cpp.

◆ EvtBreitWignerPdf() [2/2]

EvtBreitWignerPdf::EvtBreitWignerPdf ( const EvtBreitWignerPdf other)

Definition at line 36 of file EvtBreitWignerPdf.cpp.

Member Function Documentation

◆ clone()

EvtPdf<EvtPoint1D>* EvtBreitWignerPdf::clone ( ) const
inlineoverridevirtual

Implements EvtPdf< EvtPoint1D >.

Definition at line 34 of file EvtBreitWignerPdf.hh.

◆ g0()

double EvtBreitWignerPdf::g0 ( ) const
inline

Definition at line 45 of file EvtBreitWignerPdf.hh.

◆ m0()

double EvtBreitWignerPdf::m0 ( ) const
inline

Definition at line 44 of file EvtBreitWignerPdf.hh.

◆ pdf()

double EvtBreitWignerPdf::pdf ( const EvtPoint1D x) const
overridevirtual

Implements EvtPdf< EvtPoint1D >.

Definition at line 41 of file EvtBreitWignerPdf.cpp.

◆ pdfIntegral()

double EvtBreitWignerPdf::pdfIntegral ( double  m) const
overridevirtual

Implements EvtIntegPdf1D.

Definition at line 55 of file EvtBreitWignerPdf.cpp.

◆ pdfIntegralInverse()

double EvtBreitWignerPdf::pdfIntegralInverse ( double  x) const
overridevirtual

Implements EvtIntegPdf1D.

Definition at line 71 of file EvtBreitWignerPdf.cpp.

Member Data Documentation

◆ _g0

double EvtBreitWignerPdf::_g0
private

Definition at line 49 of file EvtBreitWignerPdf.hh.

◆ _m0

double EvtBreitWignerPdf::_m0
private

Definition at line 48 of file EvtBreitWignerPdf.hh.


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