PYTHIA  8.312
Public Member Functions | List of all members
LogInterpolator Class Reference

#include <MathTools.h>

Public Member Functions

 LogInterpolator ()=default
 Default constructor.
 
 LogInterpolator (double leftIn, double rightIn, vector< double > ysIn)
 Constructor.
 
const vector< double > & data () const
 Function to get y-values of interpolation data.
 
double left () const
 x-values are logarithmically spaced on the interpolation region.
 
double right () const
 
double rx () const
 
double at (double x) const
 Get interpolated value at the specified point. More...
 
double operator() (double x) const
 
Hist plot (string title, int nBins, double xMin, double xMax) const
 Plot the data points of this LogInterpolator in a histogram.
 

Detailed Description

LogInterpolator class. Used to interpolate between values in logarithmically spaced data. The interpolation uses the geometric mean.

Member Function Documentation

double at ( double  xIn) const

Get interpolated value at the specified point.

Operator to get interpolated value at the specified point.

LinearInterpolator class. Used to interpolate between values in linearly spaced data.

Select interpolation bin.


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