CLHEP 2.4.7.2
C++ Class Library for High Energy Physics
Genfun::LegendreFit Class Reference

#include <CLHEP/GenericFunctions/LegendreFit.hh>

Inheritance diagram for Genfun::LegendreFit:
Genfun::AbsFunction

Public Member Functions

 LegendreFit (unsigned int N)
 LegendreFit (const LegendreFit &right)
virtual ~LegendreFit ()
virtual double operator() (double argument) const override
virtual double operator() (const Argument &a) const override
unsigned int order () const
Parameter * getFraction (unsigned int i)
const Parameter * getFraction (unsigned int i) const
Parameter * getPhase (unsigned int i)
const Parameter * getPhase (unsigned int i) const
const LegendreCoefficientSet & coefficientsA () const
const LegendreCoefficientSet & coefficientsASq () const
void recomputeCoefficients () const
Public Member Functions inherited from Genfun::AbsFunction
 AbsFunction ()
 AbsFunction (const AbsFunction &right)
virtual ~AbsFunction ()
virtual unsigned int dimensionality () const
virtual AbsFunction * clone () const =0
virtual FunctionComposition operator() (const AbsFunction &f) const
virtual ParameterComposition operator() (const AbsParameter &p) const
Derivative derivative (const Variable &v) const
Derivative prime () const
virtual bool hasAnalyticDerivative () const
virtual Derivative partial (unsigned int) const

Detailed Description

Author

Definition at line 22 of file LegendreFit.hh.

Constructor & Destructor Documentation

◆ LegendreFit() [1/2]

Genfun::LegendreFit::LegendreFit ( unsigned int N)
inline

Definition at line 12 of file LegendreFit.icc.

Referenced by LegendreFit().

◆ LegendreFit() [2/2]

Genfun::LegendreFit::LegendreFit ( const LegendreFit & right)
inline

Definition at line 36 of file LegendreFit.icc.

References Genfun::AbsFunction::AbsFunction(), and LegendreFit().

◆ ~LegendreFit()

Genfun::LegendreFit::~LegendreFit ( )
inlinevirtual

Definition at line 28 of file LegendreFit.icc.

Member Function Documentation

◆ coefficientsA()

const LegendreCoefficientSet & Genfun::LegendreFit::coefficientsA ( ) const
inline

Definition at line 91 of file LegendreFit.icc.

References recomputeCoefficients().

◆ coefficientsASq()

const LegendreCoefficientSet & Genfun::LegendreFit::coefficientsASq ( ) const
inline

Definition at line 97 of file LegendreFit.icc.

References recomputeCoefficients().

◆ getFraction() [1/2]

Parameter * Genfun::LegendreFit::getFraction ( unsigned int i)
inline

Definition at line 75 of file LegendreFit.icc.

Referenced by recomputeCoefficients().

◆ getFraction() [2/2]

const Parameter * Genfun::LegendreFit::getFraction ( unsigned int i) const
inline

Definition at line 79 of file LegendreFit.icc.

◆ getPhase() [1/2]

Parameter * Genfun::LegendreFit::getPhase ( unsigned int i)
inline

Definition at line 83 of file LegendreFit.icc.

Referenced by recomputeCoefficients().

◆ getPhase() [2/2]

const Parameter * Genfun::LegendreFit::getPhase ( unsigned int i) const
inline

Definition at line 87 of file LegendreFit.icc.

◆ operator()() [1/2]

virtual double Genfun::LegendreFit::operator() ( const Argument & a) const
inlineoverridevirtual

Implements Genfun::AbsFunction.

Definition at line 39 of file LegendreFit.hh.

References operator()().

◆ operator()() [2/2]

double Genfun::LegendreFit::operator() ( double argument) const
inlineoverridevirtual

Implements Genfun::AbsFunction.

Definition at line 47 of file LegendreFit.icc.

References recomputeCoefficients().

Referenced by operator()().

◆ order()

unsigned int Genfun::LegendreFit::order ( ) const
inline

Definition at line 71 of file LegendreFit.icc.

◆ recomputeCoefficients()

void Genfun::LegendreFit::recomputeCoefficients ( ) const
inline

Definition at line 117 of file LegendreFit.icc.

References getFraction(), getPhase(), and Genfun::Parameter::getValue().

Referenced by coefficientsA(), coefficientsASq(), and operator()().


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