#include <EvtItgAbsFunction.hh>
Inheritance diagram for EvtItgAbsFunction:
Public Member Functions | |
EvtItgAbsFunction (double lowerRange, double upperRange) | |
virtual double | getCoeff (int, int)=0 |
void | getRange (double &lower, double &upper) const |
double | lowerRange () const |
virtual double | operator() (double x) const |
virtual void | setCoeff (int, int, double)=0 |
double | upperRange () const |
virtual double | value (double x) const |
virtual | ~EvtItgAbsFunction () |
Protected Member Functions | |
virtual double | myFunction (double x) const =0 |
void | setRange (double x1, double x2) |
Private Member Functions | |
EvtItgAbsFunction (const EvtItgAbsFunction &) | |
EvtItgAbsFunction & | operator= (const EvtItgAbsFunction &) |
Private Attributes | |
double | _lowerRange |
double | _upperRange |
|
00036 : 00037 _upperRange(upperRange), 00038 _lowerRange(lowerRange){}
|
|
00041 {}
|
|
|
|
Implemented in EvtItgFourCoeffFcn, EvtItgFunction, EvtItgPtrFunction, EvtItgThreeCoeffFcn, and EvtItgTwoCoeffFcn. |
|
00053 { lower = _lowerRange; upper = _upperRange; }
|
|
00052 {return _lowerRange;}
|
|
Implemented in EvtItgFourCoeffFcn, EvtItgFunction, EvtItgPtrFunction, EvtItgThreeCoeffFcn, and EvtItgTwoCoeffFcn. |
|
00054 { 00055 return myFunction(x); 00056 }
|
|
|
|
Implemented in EvtItgFourCoeffFcn, EvtItgFunction, EvtItgPtrFunction, EvtItgThreeCoeffFcn, and EvtItgTwoCoeffFcn. |
|
00060 { _lowerRange=x1; _upperRange=x2; };
|
|
00051 {return _upperRange;}
|
|
00045 { 00046 if (x >= _lowerRange && x <= _upperRange) return myFunction(x); 00047 report(ERROR,"EvtGen") << "Error in EvtItgAbsFunction::value. Given co-ordinate " << x 00048 << " is outside of allowed range [" << _lowerRange << ", " 00049 << _upperRange << "]. Returning 0.0" << endl; 00050 return 0.0; // Never get here 00051 }
|
|
|
|
|