CGEM BOSS 6.6.5.h
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtItgFunction Class Reference

#include <EvtItgFunction.hh>

+ Inheritance diagram for EvtItgFunction:

Public Member Functions

 EvtItgFunction (double(*theFunction)(double), double lowerRange, double upperRange)
 
virtual ~EvtItgFunction ()
 
virtual void setCoeff (int, int, double)
 
virtual double getCoeff (int, int)
 
- Public Member Functions inherited from EvtItgAbsFunction
 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
 

Protected Member Functions

virtual double myFunction (double x) const
 
- Protected Member Functions inherited from EvtItgAbsFunction
void setRange (double x1, double x2)
 

Detailed Description

Copyright (C) 1998 LBNL

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.

See also
EvtItgFunctionEvtItgFunction
Version
Id
EvtItgFunction.hh,v 1.1.1.2 2007/10/26 05:03:14 pingrg Exp
Author
Phil Strother Originator

Definition at line 33 of file EvtItgFunction.hh.

Constructor & Destructor Documentation

◆ EvtItgFunction()

EvtItgFunction::EvtItgFunction ( double(* theFunction )(double),
double lowerRange,
double upperRange )

Definition at line 36 of file EvtItgFunction.cc.

36 :
38 _myFunction(theFunction)
39{}
EvtItgAbsFunction(double lowerRange, double upperRange)
double lowerRange() const
double upperRange() const

◆ ~EvtItgFunction()

EvtItgFunction::~EvtItgFunction ( )
virtual

Definition at line 46 of file EvtItgFunction.cc.

47{}

Member Function Documentation

◆ getCoeff()

virtual double EvtItgFunction::getCoeff ( int ,
int  )
inlinevirtual

Implements EvtItgAbsFunction.

Definition at line 46 of file EvtItgFunction.hh.

46{return 0.0;};

◆ myFunction()

double EvtItgFunction::myFunction ( double x) const
protectedvirtual

Implements EvtItgAbsFunction.

Definition at line 51 of file EvtItgFunction.cc.

51 {
52 return _myFunction(x);
53}

◆ setCoeff()

virtual void EvtItgFunction::setCoeff ( int ,
int ,
double  )
inlinevirtual

Implements EvtItgAbsFunction.

Definition at line 45 of file EvtItgFunction.hh.

45{};

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