EvtGen 2.2.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.
Loading...
Searching...
No Matches
EvtItgAbsIntegrator Class Referenceabstract

#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 EvtItgAbsFunctionm_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 37 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 86 of file EvtItgAbsIntegrator.cpp.

◆ evaluate()

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

Definition at line 47 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 42 of file EvtItgAbsIntegrator.cpp.

◆ trapezoid()

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

Definition at line 56 of file EvtItgAbsIntegrator.cpp.

Member Data Documentation

◆ m_myFunction

const EvtItgAbsFunction& EvtItgAbsIntegrator::m_myFunction
private

Definition at line 48 of file EvtItgAbsIntegrator.hh.


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