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

Inheritance diagram for EvtItgSimpsonIntegrator:
EvtItgAbsIntegrator

Public Member Functions

 EvtItgSimpsonIntegrator (const EvtItgAbsFunction &, double precision=1.0e-5, int maxLoop=20)
 
- Public Member Functions inherited from EvtItgAbsIntegrator
 EvtItgAbsIntegrator (const EvtItgAbsFunction &)
 
virtual ~EvtItgAbsIntegrator ()=default
 
double evaluate (double lower, double upper) const
 
double normalisation () const
 

Protected Member Functions

double evaluateIt (double, double) const override
 
- Protected Member Functions inherited from EvtItgAbsIntegrator
double trapezoid (double lower, double higher, int n, double &result) const
 
double myFunction (double x) const
 

Private Attributes

double _precision
 
double _maxLoop
 

Detailed Description

Definition at line 36 of file EvtItgSimpsonIntegrator.hh.

Constructor & Destructor Documentation

◆ EvtItgSimpsonIntegrator()

EvtItgSimpsonIntegrator::EvtItgSimpsonIntegrator ( const EvtItgAbsFunction theFunction,
double  precision = 1.0e-5,
int  maxLoop = 20 
)

Definition at line 46 of file EvtItgSimpsonIntegrator.cpp.

Member Function Documentation

◆ evaluateIt()

double EvtItgSimpsonIntegrator::evaluateIt ( double  lower,
double  higher 
) const
overrideprotectedvirtual

Implements EvtItgAbsIntegrator.

Definition at line 54 of file EvtItgSimpsonIntegrator.cpp.

Member Data Documentation

◆ _maxLoop

double EvtItgSimpsonIntegrator::_maxLoop
private

Definition at line 46 of file EvtItgSimpsonIntegrator.hh.

◆ _precision

double EvtItgSimpsonIntegrator::_precision
private

Definition at line 45 of file EvtItgSimpsonIntegrator.hh.


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