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 <EvtGenModels/EvtItgAbsIntegrator.hh>

Inheritance diagram for EvtItgAbsIntegrator:
EvtItgSimpsonIntegrator

Public Member Functions

 EvtItgAbsIntegrator (const EvtItgAbsFunction &)
 
virtual ~EvtItgAbsIntegrator ()=default
 
double evaluate (double lower, double upper) const
 
double normalisation () const
 

Protected Member Functions

double trapezoid (double lower, double higher, int n, double &result) const
 
virtual double evaluateIt (double lower, double higher) const =0
 
double myFunction (double x) const
 

Private Member Functions

void boundsCheck (double &, double &) const
 
 EvtItgAbsIntegrator ()
 

Private Attributes

const EvtItgAbsFunction_myFunction
 

Detailed Description

Definition at line 30 of file EvtItgAbsIntegrator.hh.

Constructor & Destructor Documentation

◆ EvtItgAbsIntegrator() [1/2]

EvtItgAbsIntegrator::EvtItgAbsIntegrator ( const EvtItgAbsFunction theFunction)

Definition at line 39 of file EvtItgAbsIntegrator.cpp.

◆ ~EvtItgAbsIntegrator()

virtual EvtItgAbsIntegrator::~EvtItgAbsIntegrator ( )
virtualdefault

◆ EvtItgAbsIntegrator() [2/2]

EvtItgAbsIntegrator::EvtItgAbsIntegrator ( )
private

Member Function Documentation

◆ boundsCheck()

void EvtItgAbsIntegrator::boundsCheck ( double &  lower,
double &  upper 
) const
private

Definition at line 88 of file EvtItgAbsIntegrator.cpp.

◆ evaluate()

double EvtItgAbsIntegrator::evaluate ( double  lower,
double  upper 
) const

Definition at line 49 of file EvtItgAbsIntegrator.cpp.

◆ evaluateIt()

virtual double EvtItgAbsIntegrator::evaluateIt ( double  lower,
double  higher 
) const
protectedpure virtual

Implemented in EvtItgSimpsonIntegrator.

◆ myFunction()

double EvtItgAbsIntegrator::myFunction ( double  x) const
inlineprotected

Definition at line 45 of file EvtItgAbsIntegrator.hh.

◆ normalisation()

double EvtItgAbsIntegrator::normalisation ( ) const

Definition at line 44 of file EvtItgAbsIntegrator.cpp.

◆ trapezoid()

double EvtItgAbsIntegrator::trapezoid ( double  lower,
double  higher,
int  n,
double &  result 
) const
protected

Definition at line 58 of file EvtItgAbsIntegrator.cpp.

Member Data Documentation

◆ _myFunction

const EvtItgAbsFunction& EvtItgAbsIntegrator::_myFunction
private

Definition at line 48 of file EvtItgAbsIntegrator.hh.


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