#include <EvtItgFourCoeffFcn.hh>
|
| | 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) |
| virtual | ~EvtItgFourCoeffFcn () |
| virtual void | setCoeff (int, int, double) |
| virtual double | getCoeff (int, int) |
| | EvtItgAbsFunction (double lowerRange, double upperRange) |
| virtual | ~EvtItgAbsFunction () |
| 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 |
Definition at line 28 of file EvtItgFourCoeffFcn.hh.
◆ EvtItgFourCoeffFcn()
| EvtItgFourCoeffFcn::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 ) |
Definition at line 28 of file EvtItgFourCoeffFcn.cc.
35 , _myFunction( theFunction )
36 , _coeffs1( coeffs1 )
37 , _coeffs2( coeffs2 )
38 , _coeffs3( coeffs3 )
39 , _coeffs4( coeffs4 ) {}
EvtItgAbsFunction(double lowerRange, double upperRange)
double lowerRange() const
double upperRange() const
◆ ~EvtItgFourCoeffFcn()
| EvtItgFourCoeffFcn::~EvtItgFourCoeffFcn |
( |
| ) |
|
|
virtual |
◆ getCoeff()
| double EvtItgFourCoeffFcn::getCoeff |
( |
int | vect, |
|
|
int | which ) |
|
virtual |
Implements EvtItgAbsFunction.
Definition at line 54 of file EvtItgFourCoeffFcn.cc.
54 {
55 if ( vect == 1 ) return _coeffs1[which];
56 else if ( vect == 2 ) return _coeffs2[which];
57 else if ( vect == 3 ) return _coeffs3[which];
58 else if ( vect == 4 ) return _coeffs4[which];
59 else { return 0; }
60}
◆ myFunction()
| double EvtItgFourCoeffFcn::myFunction |
( |
double | x | ) |
const |
|
protectedvirtual |
◆ setCoeff()
| void EvtItgFourCoeffFcn::setCoeff |
( |
int | vect, |
|
|
int | which, |
|
|
double | value ) |
|
virtual |
The documentation for this class was generated from the following files: