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

Inheritance diagram for EvtItgFourCoeffFcn:
EvtItgAbsFunction

Public Member Functions

 EvtItgFourCoeffFcn (double(*theFunction)(double, const std::vector< double > &, const std::vector< double > &, const std::vector< double > &, const std::vector< double > &), double lowerRange, double upperRange, const std::vector< double > &coeffs1, const std::vector< double > &coeffs2, const std::vector< double > &coeffs3, const std::vector< double > &coeffs4)
 
void setCoeff (int, int, double) override
 
double getCoeff (int, int) override
 
- Public Member Functions inherited from EvtItgAbsFunction
 EvtItgAbsFunction (double lowerRange, double upperRange)
 
virtual ~EvtItgAbsFunction ()=default
 
virtual double value (double x) const
 
virtual double operator() (double x) const
 
double upperRange () const
 
double lowerRange () const
 
void getRange (double &lower, double &upper) const
 

Protected Member Functions

double myFunction (double x) const override
 
- Protected Member Functions inherited from EvtItgAbsFunction
void setRange (double x1, double x2)
 

Private Attributes

double(* _myFunction )(double x, const std::vector< double > &coeffs1, const std::vector< double > &coeffs2, const std::vector< double > &coeffs3, const std::vector< double > &coeffs4)
 
std::vector< double > _coeffs1
 
std::vector< double > _coeffs2
 
std::vector< double > _coeffs3
 
std::vector< double > _coeffs4
 

Detailed Description

Definition at line 31 of file EvtItgFourCoeffFcn.hh.

Constructor & Destructor Documentation

◆ EvtItgFourCoeffFcn()

EvtItgFourCoeffFcn::EvtItgFourCoeffFcn ( double(*)(double, const std::vector< double > &, const std::vector< double > &, const std::vector< double > &, const std::vector< double > &)  theFunction,
double  lowerRange,
double  upperRange,
const std::vector< double > &  coeffs1,
const std::vector< double > &  coeffs2,
const std::vector< double > &  coeffs3,
const std::vector< double > &  coeffs4 
)

Definition at line 31 of file EvtItgFourCoeffFcn.cpp.

Member Function Documentation

◆ getCoeff()

double EvtItgFourCoeffFcn::getCoeff ( int  vect,
int  which 
)
overridevirtual

Implements EvtItgAbsFunction.

Definition at line 65 of file EvtItgFourCoeffFcn.cpp.

◆ myFunction()

double EvtItgFourCoeffFcn::myFunction ( double  x) const
overrideprotectedvirtual

Implements EvtItgAbsFunction.

Definition at line 48 of file EvtItgFourCoeffFcn.cpp.

◆ setCoeff()

void EvtItgFourCoeffFcn::setCoeff ( int  vect,
int  which,
double  value 
)
overridevirtual

Implements EvtItgAbsFunction.

Definition at line 53 of file EvtItgFourCoeffFcn.cpp.

Member Data Documentation

◆ _coeffs1

std::vector<double> EvtItgFourCoeffFcn::_coeffs1
private

Definition at line 57 of file EvtItgFourCoeffFcn.hh.

◆ _coeffs2

std::vector<double> EvtItgFourCoeffFcn::_coeffs2
private

Definition at line 58 of file EvtItgFourCoeffFcn.hh.

◆ _coeffs3

std::vector<double> EvtItgFourCoeffFcn::_coeffs3
private

Definition at line 59 of file EvtItgFourCoeffFcn.hh.

◆ _coeffs4

std::vector<double> EvtItgFourCoeffFcn::_coeffs4
private

Definition at line 60 of file EvtItgFourCoeffFcn.hh.

◆ _myFunction

double( * EvtItgFourCoeffFcn::_myFunction) (double x, const std::vector< double > &coeffs1, const std::vector< double > &coeffs2, const std::vector< double > &coeffs3, const std::vector< double > &coeffs4)
private

Definition at line 52 of file EvtItgFourCoeffFcn.hh.


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