KASKADE 7 development version
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Kaskade::EtaModel Class Reference

#include <modelfunction.hh>

Detailed Description

Definition at line 191 of file modelfunction.hh.

Inheritance diagram for Kaskade::EtaModel:
Kaskade::LogLogModel Kaskade::TransformedPolynomialModel Kaskade::PolynomialModel Kaskade::ScalarModelFunction

Public Member Functions

 EtaModel ()
 
virtual double getIntegral (double high, double low)
 Compute integral of the model function from low to high. More...
 
virtual double getValue (double abscissa)
 Compute value of the model function at abscissa. More...
 
virtual double getAbscissa (double value)
 Compute abscissa corresponding to a value. This is of course only possible for monotone functions. More...
 
std::vector< double > const & getCoefficients ()
 
virtual void update (double abscissa, double value)
 Add new value to the sample points, will be overwritten by the next update, until fixUpdate() is called. More...
 
virtual void fixUpdate ()
 fix the last updated value and thus increase the number of sampling points More...
 
void setDataStart (int ds)
 

Protected Member Functions

virtual void computeCoefficients ()
 
virtual double abscFwd (double a)
 
virtual double abscBwd (double a)
 
virtual double valFwd (double v)
 
virtual double valBwd (double v)
 
virtual double getDataVal (int i)
 
virtual double getDataAbsc (int i)
 
virtual double getScaling (int i)
 

Protected Attributes

int degree
 
std::vector< double > coefficients
 
int maxels
 
LoggedQuantity< std::pair< double, double > > data
 
bool modified
 
int datastart
 

Constructor & Destructor Documentation

◆ EtaModel()

Kaskade::EtaModel::EtaModel ( )
inline

Definition at line 194 of file modelfunction.hh.

Member Function Documentation

◆ abscBwd()

virtual double Kaskade::LogLogModel::abscBwd ( double  a)
inlineprotectedvirtualinherited

Reimplemented from Kaskade::TransformedPolynomialModel.

Definition at line 170 of file modelfunction.hh.

Referenced by Kaskade::JModel::getScaling().

◆ abscFwd()

virtual double Kaskade::LogLogModel::abscFwd ( double  a)
inlineprotectedvirtualinherited

Reimplemented from Kaskade::TransformedPolynomialModel.

Definition at line 169 of file modelfunction.hh.

Referenced by Kaskade::JModel::getDataAbsc().

◆ computeCoefficients()

virtual void Kaskade::EtaModel::computeCoefficients ( )
inlineprotectedvirtual

Reimplemented from Kaskade::PolynomialModel.

Definition at line 196 of file modelfunction.hh.

◆ fixUpdate()

virtual void Kaskade::ScalarModelFunction::fixUpdate ( )
inlinevirtualinherited

fix the last updated value and thus increase the number of sampling points

Definition at line 40 of file modelfunction.hh.

◆ getAbscissa()

virtual double Kaskade::TransformedPolynomialModel::getAbscissa ( double  value)
inlinevirtualinherited

Compute abscissa corresponding to a value. This is of course only possible for monotone functions.

Reimplemented from Kaskade::PolynomialModel.

Definition at line 136 of file modelfunction.hh.

◆ getCoefficients()

std::vector< double > const & Kaskade::PolynomialModel::getCoefficients ( )
inlineinherited

Definition at line 86 of file modelfunction.hh.

◆ getDataAbsc()

virtual double Kaskade::TransformedPolynomialModel::getDataAbsc ( int  i)
inlineprotectedvirtualinherited

Reimplemented from Kaskade::ScalarModelFunction.

Reimplemented in Kaskade::JModel.

Definition at line 143 of file modelfunction.hh.

◆ getDataVal()

virtual double Kaskade::TransformedPolynomialModel::getDataVal ( int  i)
inlineprotectedvirtualinherited

Reimplemented from Kaskade::ScalarModelFunction.

Reimplemented in Kaskade::JModel.

Definition at line 142 of file modelfunction.hh.

◆ getIntegral()

virtual double Kaskade::LogLogModel::getIntegral ( double  high,
double  low 
)
inlinevirtualinherited

Compute integral of the model function from low to high.

Reimplemented from Kaskade::ScalarModelFunction.

Definition at line 158 of file modelfunction.hh.

◆ getScaling()

virtual double Kaskade::ScalarModelFunction::getScaling ( int  i)
inlineprotectedvirtualinherited

Reimplemented in Kaskade::JModel.

Definition at line 48 of file modelfunction.hh.

Referenced by Kaskade::PolynomialModel::computeCoefficients().

◆ getValue()

virtual double Kaskade::TransformedPolynomialModel::getValue ( double  abscissa)
inlinevirtualinherited

Compute value of the model function at abscissa.

Reimplemented from Kaskade::PolynomialModel.

Definition at line 135 of file modelfunction.hh.

◆ setDataStart()

void Kaskade::ScalarModelFunction::setDataStart ( int  ds)
inlineinherited

Definition at line 44 of file modelfunction.hh.

Referenced by Kaskade::JModel::JModel().

◆ update()

virtual void Kaskade::ScalarModelFunction::update ( double  abscissa,
double  value 
)
inlinevirtualinherited

Add new value to the sample points, will be overwritten by the next update, until fixUpdate() is called.

Reimplemented in Kaskade::JModel.

Definition at line 28 of file modelfunction.hh.

◆ valBwd()

virtual double Kaskade::LogLogModel::valBwd ( double  v)
inlineprotectedvirtualinherited

Reimplemented from Kaskade::TransformedPolynomialModel.

Definition at line 172 of file modelfunction.hh.

◆ valFwd()

virtual double Kaskade::LogLogModel::valFwd ( double  v)
inlineprotectedvirtualinherited

Reimplemented from Kaskade::TransformedPolynomialModel.

Definition at line 171 of file modelfunction.hh.

Referenced by Kaskade::JModel::getDataVal().

Member Data Documentation

◆ coefficients

std::vector<double> Kaskade::PolynomialModel::coefficients
protectedinherited

◆ data

LoggedQuantity<std::pair<double, double> > Kaskade::ScalarModelFunction::data
protectedinherited

◆ datastart

int Kaskade::ScalarModelFunction::datastart
protectedinherited

◆ degree

int Kaskade::PolynomialModel::degree
protectedinherited

◆ maxels

int Kaskade::PolynomialModel::maxels
protectedinherited

Definition at line 120 of file modelfunction.hh.

Referenced by Kaskade::PolynomialModel::computeCoefficients().

◆ modified

bool Kaskade::ScalarModelFunction::modified
protectedinherited

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