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.

#include <EvtGenBase/EvtIntervalFlatPdf.hh>

Inheritance diagram for EvtIntervalFlatPdf:
EvtPdf< EvtPoint1D >

Public Member Functions

 EvtIntervalFlatPdf (double min, double max)
 
 EvtIntervalFlatPdf (const EvtIntervalFlatPdf &other)
 
EvtPdf< EvtPoint1D > * clone () const override
 
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.)
 

Protected Member Functions

double pdf (const EvtPoint1D &) const override
 

Protected Attributes

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

Detailed Description

Definition at line 33 of file EvtIntervalFlatPdf.hh.

Constructor & Destructor Documentation

◆ EvtIntervalFlatPdf() [1/2]

EvtIntervalFlatPdf::EvtIntervalFlatPdf ( double  min,
double  max 
)

Definition at line 28 of file EvtIntervalFlatPdf.cpp.

◆ EvtIntervalFlatPdf() [2/2]

EvtIntervalFlatPdf::EvtIntervalFlatPdf ( const EvtIntervalFlatPdf other)

Definition at line 34 of file EvtIntervalFlatPdf.cpp.

Member Function Documentation

◆ clone()

EvtPdf< EvtPoint1D > * EvtIntervalFlatPdf::clone ( ) const
overridevirtual

Implements EvtPdf< EvtPoint1D >.

Definition at line 39 of file EvtIntervalFlatPdf.cpp.

◆ compute_integral()

EvtValError EvtIntervalFlatPdf::compute_integral ( ) const
overridevirtual

Reimplemented from EvtPdf< EvtPoint1D >.

Definition at line 49 of file EvtIntervalFlatPdf.cpp.

◆ pdf()

double EvtIntervalFlatPdf::pdf ( const EvtPoint1D ) const
overrideprotectedvirtual

Implements EvtPdf< EvtPoint1D >.

Definition at line 44 of file EvtIntervalFlatPdf.cpp.

◆ randomPoint()

EvtPoint1D EvtIntervalFlatPdf::randomPoint ( )
overridevirtual

Reimplemented from EvtPdf< EvtPoint1D >.

Definition at line 54 of file EvtIntervalFlatPdf.cpp.

Member Data Documentation

◆ _max

double EvtIntervalFlatPdf::_max
protected

Definition at line 47 of file EvtIntervalFlatPdf.hh.

◆ _min

double EvtIntervalFlatPdf::_min
protected

Definition at line 46 of file EvtIntervalFlatPdf.hh.


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