|
EvtGen 2.2.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.
|
#include <EvtGenModels/EvtItgFunction.hh>
Public Member Functions | |
| EvtItgFunction (double(*theFunction)(double), double lowerRange, double upperRange) | |
| 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) |
Generic function where the pointer to the function is available.
The function is taken as type pointer to function returning double and taking a double (the abscissa) and a const RWTValVector<double> reference (the parameter values of the function) as arguments.
Definition at line 34 of file EvtItgFunction.hh.
| EvtItgFunction::EvtItgFunction | ( | double(* | theFunction )(double), |
| double | lowerRange, | ||
| double | upperRange ) |
Definition at line 32 of file EvtItgFunction.cpp.
|
inlineoverridevirtual |
Implements EvtItgAbsFunction.
Definition at line 41 of file EvtItgFunction.hh.
|
overrideprotectedvirtual |
Implements EvtItgAbsFunction.
Definition at line 38 of file EvtItgFunction.cpp.
|
inlineoverridevirtual |
Implements EvtItgAbsFunction.
Definition at line 40 of file EvtItgFunction.hh.
|
private |
Definition at line 50 of file EvtItgFunction.hh.