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
EvtItgThreeCoeffFcn Class Reference

#include <EvtGenModels/EvtItgThreeCoeffFcn.hh>

Inheritance diagram for EvtItgThreeCoeffFcn:
EvtItgAbsFunction

Public Member Functions

 EvtItgThreeCoeffFcn (double(*theFunction)(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)
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(* m_myFunction )(double x, const std::vector< double > &coeffs1, const std::vector< double > &coeffs2, const std::vector< double > &coeffs3)
std::vector< double > m_coeffs1
std::vector< double > m_coeffs2
std::vector< double > m_coeffs3

Detailed Description

Definition at line 37 of file EvtItgThreeCoeffFcn.hh.

Constructor & Destructor Documentation

◆ EvtItgThreeCoeffFcn()

EvtItgThreeCoeffFcn::EvtItgThreeCoeffFcn ( double(* theFunction )(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 )

Definition at line 29 of file EvtItgThreeCoeffFcn.cpp.

Member Function Documentation

◆ getCoeff()

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

Implements EvtItgAbsFunction.

Definition at line 58 of file EvtItgThreeCoeffFcn.cpp.

◆ myFunction()

double EvtItgThreeCoeffFcn::myFunction ( double x) const
overrideprotectedvirtual

Implements EvtItgAbsFunction.

Definition at line 43 of file EvtItgThreeCoeffFcn.cpp.

◆ setCoeff()

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

Implements EvtItgAbsFunction.

Definition at line 48 of file EvtItgThreeCoeffFcn.cpp.

Member Data Documentation

◆ m_coeffs1

std::vector<double> EvtItgThreeCoeffFcn::m_coeffs1
private

Definition at line 60 of file EvtItgThreeCoeffFcn.hh.

◆ m_coeffs2

std::vector<double> EvtItgThreeCoeffFcn::m_coeffs2
private

Definition at line 61 of file EvtItgThreeCoeffFcn.hh.

◆ m_coeffs3

std::vector<double> EvtItgThreeCoeffFcn::m_coeffs3
private

Definition at line 62 of file EvtItgThreeCoeffFcn.hh.

◆ m_myFunction

double(* EvtItgThreeCoeffFcn::m_myFunction) (double x, const std::vector< double > &coeffs1, const std::vector< double > &coeffs2, const std::vector< double > &coeffs3)
private

Definition at line 56 of file EvtItgThreeCoeffFcn.hh.


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