Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

EvtItgAbsFunction Class Reference

#include <EvtItgAbsFunction.hh>

Inheritance diagram for EvtItgAbsFunction:

EvtItgFourCoeffFcn EvtItgFunction EvtItgPtrFunction EvtItgThreeCoeffFcn EvtItgTwoCoeffFcn List of all members.

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 &)
EvtItgAbsFunctionoperator= (const EvtItgAbsFunction &)

Private Attributes

double _lowerRange
double _upperRange

Constructor & Destructor Documentation

EvtItgAbsFunction::EvtItgAbsFunction double  lowerRange,
double  upperRange
 

00036                                                                         :
00037   _upperRange(upperRange),
00038   _lowerRange(lowerRange){}

EvtItgAbsFunction::~EvtItgAbsFunction  )  [virtual]
 

00041 {}

EvtItgAbsFunction::EvtItgAbsFunction const EvtItgAbsFunction  )  [private]
 


Member Function Documentation

virtual double EvtItgAbsFunction::getCoeff int  ,
int 
[pure virtual]
 

Implemented in EvtItgFourCoeffFcn, EvtItgFunction, EvtItgPtrFunction, EvtItgThreeCoeffFcn, and EvtItgTwoCoeffFcn.

void EvtItgAbsFunction::getRange double &  lower,
double &  upper
const [inline]
 

00053 { lower = _lowerRange; upper = _upperRange; } 

double EvtItgAbsFunction::lowerRange  )  const [inline]
 

00052 {return _lowerRange;}

virtual double EvtItgAbsFunction::myFunction double  x  )  const [protected, pure virtual]
 

Implemented in EvtItgFourCoeffFcn, EvtItgFunction, EvtItgPtrFunction, EvtItgThreeCoeffFcn, and EvtItgTwoCoeffFcn.

double EvtItgAbsFunction::operator() double  x  )  const [virtual]
 

00054                                            {
00055   return myFunction(x);
00056 }

EvtItgAbsFunction& EvtItgAbsFunction::operator= const EvtItgAbsFunction  )  [private]
 

virtual void EvtItgAbsFunction::setCoeff int  ,
int  ,
double 
[pure virtual]
 

Implemented in EvtItgFourCoeffFcn, EvtItgFunction, EvtItgPtrFunction, EvtItgThreeCoeffFcn, and EvtItgTwoCoeffFcn.

void EvtItgAbsFunction::setRange double  x1,
double  x2
[inline, protected]
 

00060 { _lowerRange=x1; _upperRange=x2; };

double EvtItgAbsFunction::upperRange  )  const [inline]
 

00051 {return _upperRange;}

double EvtItgAbsFunction::value double  x  )  const [virtual]
 

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 }


Member Data Documentation

double EvtItgAbsFunction::_lowerRange [private]
 

double EvtItgAbsFunction::_upperRange [private]
 


The documentation for this class was generated from the following files:
Generated on Wed Feb 2 16:06:16 2011 for BOSS6.5.5 by  doxygen 1.3.9.1