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/EvtPdf.hh>

Inheritance diagram for EvtPdf< T >:
EvtAmpAmpPdf< T > EvtAmpPdf< T > EvtPdfDiv< T > EvtPdfSum< T >

Public Member Functions

 EvtPdf ()
 
 EvtPdf (const EvtPdf &other)
 
virtual ~EvtPdf ()
 
virtual EvtPdf< T > * clone () const =0
 
double evaluate (const T &p) const
 
EvtPdfMax< T > findMax (const EvtPdf< T > &pc, int N)
 
EvtValError findGenEff (const EvtPdf< T > &pc, int N, int nFindMax)
 
void setItg (EvtValError itg)
 
EvtValError getItg () const
 
EvtValError getItg (int N) const
 
virtual EvtValError compute_integral () const
 
virtual EvtValError compute_integral (int) const
 
EvtValError compute_mc_integral (const EvtPdf< T > &pc, int N)
 
EvtPredGen< EvtPdfGen< T >, EvtPdfPred< T > > accRejGen (const EvtPdf< T > &pc, int nMax, double factor=1.)
 
virtual T randomPoint ()
 

Protected Member Functions

virtual double pdf (const T &) const =0
 

Protected Attributes

EvtValError _itg
 

Detailed Description

template<class T>
class EvtPdf< T >

Definition at line 72 of file EvtPdf.hh.

Constructor & Destructor Documentation

◆ EvtPdf() [1/2]

template<class T>
EvtPdf< T >::EvtPdf ( )
inline

Definition at line 74 of file EvtPdf.hh.

◆ EvtPdf() [2/2]

template<class T>
EvtPdf< T >::EvtPdf ( const EvtPdf< T > &  other)
inline

Definition at line 75 of file EvtPdf.hh.

◆ ~EvtPdf()

template<class T>
virtual EvtPdf< T >::~EvtPdf ( )
inlinevirtual

Definition at line 76 of file EvtPdf.hh.

Member Function Documentation

◆ accRejGen()

template<class T>
EvtPredGen< EvtPdfGen< T >, EvtPdfPred< T > > EvtPdf< T >::accRejGen ( const EvtPdf< T > &  pc,
int  nMax,
double  factor = 1. 
)

Definition at line 329 of file EvtPdf.hh.

◆ clone()

template<class T>
virtual EvtPdf<T>* EvtPdf< T >::clone ( ) const
pure virtual

◆ compute_integral() [1/2]

template<class T>
virtual EvtValError EvtPdf< T >::compute_integral ( ) const
inlinevirtual

Reimplemented in EvtPdfSum< T >, EvtIntegPdf1D, and EvtIntervalFlatPdf.

Definition at line 113 of file EvtPdf.hh.

◆ compute_integral() [2/2]

template<class T>
virtual EvtValError EvtPdf< T >::compute_integral ( int  ) const
inlinevirtual

Reimplemented in EvtPdfSum< T >, EvtDalitzResPdf, and EvtDalitzFlatPdf.

Definition at line 119 of file EvtPdf.hh.

◆ compute_mc_integral()

template<class T>
EvtValError EvtPdf< T >::compute_mc_integral ( const EvtPdf< T > &  pc,
int  N 
)

Definition at line 283 of file EvtPdf.hh.

◆ evaluate()

template<class T>
double EvtPdf< T >::evaluate ( const T &  p) const
inline

Definition at line 79 of file EvtPdf.hh.

◆ findGenEff()

template<class T>
EvtValError EvtPdf< T >::findGenEff ( const EvtPdf< T > &  pc,
int  N,
int  nFindMax 
)

Definition at line 270 of file EvtPdf.hh.

◆ findMax()

template<class T>
EvtPdfMax< T > EvtPdf< T >::findMax ( const EvtPdf< T > &  pc,
int  N 
)

Definition at line 260 of file EvtPdf.hh.

◆ getItg() [1/2]

template<class T>
EvtValError EvtPdf< T >::getItg ( ) const
inline

Definition at line 100 of file EvtPdf.hh.

◆ getItg() [2/2]

template<class T>
EvtValError EvtPdf< T >::getItg ( int  N) const
inline

Definition at line 106 of file EvtPdf.hh.

◆ pdf()

template<class T>
virtual double EvtPdf< T >::pdf ( const T &  ) const
protectedpure virtual

◆ randomPoint()

template<class T >
T EvtPdf< T >::randomPoint ( )
virtual

Reimplemented in EvtPdfSum< T >, EvtDalitzResPdf, EvtDalitzFlatPdf, EvtIntegPdf1D, and EvtIntervalFlatPdf.

Definition at line 320 of file EvtPdf.hh.

◆ setItg()

template<class T>
void EvtPdf< T >::setItg ( EvtValError  itg)
inline

Definition at line 98 of file EvtPdf.hh.

Member Data Documentation

◆ _itg

template<class T>
EvtValError EvtPdf< T >::_itg
mutableprotected

Definition at line 139 of file EvtPdf.hh.


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