NC::Fitter::Discretizer Class Reference

#include <NCFitter.h>

Inheritance diagram for NC::Fitter::Discretizer:

List of all members.

Public Member Functions

 Discretizer (ICallableND *g, std::vector< NCParameter > ps)
virtual double EvalAt (const CoordInt &r) const

Protected Attributes

std::vector< NCParameterfParams

Detailed Description

Definition at line 58 of file NCFitter.h.

Constructor & Destructor Documentation

NC::Fitter::Discretizer::Discretizer ( ICallableND g,
std::vector< NCParameter ps 
) [inline]

Definition at line 61 of file NCFitter.h.

00062       : fFunc(g), fParams(ps){}

Member Function Documentation

double NC::Fitter::Discretizer::EvalAt ( const CoordInt r  )  const [virtual]

Reimplemented from NC::Fitter::ICallableInt.

Definition at line 75 of file NCFitter.cxx.

References NC::Fitter::ConvertCoord(), NC::Fitter::ICallableND::EvalAtEx(), fFunc, and fParams.

00076   {
00077     // TODO - this loses the ret information
00078     return fFunc->EvalAtEx(ConvertCoord(r, fParams), 0);
00079   }

Member Data Documentation

Definition at line 65 of file NCFitter.h.

Referenced by EvalAt().

Definition at line 66 of file NCFitter.h.

Referenced by EvalAt().

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

Generated on 8 Jul 2019 for loon by  doxygen 1.6.1