Public Member Functions |
Private Types |
Private Member Functions |
Private Attributes |
List of all members
Lau2DCubicSpline Class Reference Class for defining a 2D cubic spline based on an input histogram. More...
Detailed DescriptionClass for defining a 2D cubic spline based on an input histogram. Class for defining a 2D cubic spline based on RooBinned2DBicubicBase by Manuel Tobias Schiller manue (2012-08-29). l.sc hille r@ni khef. nl Smoothly interpolate between bin midpoints of a 2D histogram with equal-sized bins The interpolation function coincides with the saved histogram values in bin midpoints; a cubic interpolation polynomial is used. Bins must all have the same size. The interpolation polynomial in a "cell" between four bin midpoints is:
The coefficients are determined by the requirement that function value, first derivatives and the mixed second derivative must agree with that of the binned function at the four bin midpoints at the edges of the cell. Symmetric finite differences are used to approximate these derivatives. For each cell, the coefficients are determined at constuction time. The object also keeps a cache of 2D integrals over complete cells, such that 2D integrations can be done analytically in a reasonably short amount of time. Definition at line 47 of file Lau2DCubicSpline.hh. Member Enumeration Documentation
Length of coefficient record in array.
Definition at line 51 of file Lau2DCubicSpline.hh. Constructor & Destructor Documentation
Constructor from histogram. /param h the histogram Definition at line 69 of file Lau2DCubicSpline.cc.
Destructor. Definition at line 27 of file Lau2DCubicSpline.cc.
Copy constructor - not implemented. Member Function Documentation
Evaluate analytical integral in x, y, or x and y.
Definition at line 217 of file Lau2DCubicSpline.cc.
Evaluate analytical integral across the whole function. Definition at line 212 of file Lau2DCubicSpline.cc.
Const access to coefficients.
Definition at line 160 of file Lau2DCubicSpline.hh.
Access to coefficients.
Definition at line 170 of file Lau2DCubicSpline.hh.
Get d^2/dydx finite difference in a given bin from a histogram.
Definition at line 60 of file Lau2DCubicSpline.cc.
Get d/dx finite difference in a given bin from a histogram.
Definition at line 46 of file Lau2DCubicSpline.cc.
Get d/dy finite difference in a given bin from a histogram.
Definition at line 53 of file Lau2DCubicSpline.cc.
Evaluate the function at given point.
Definition at line 185 of file Lau2DCubicSpline.cc.
Evaluate integral over x at a given y from (x1, y) to (x2, y)
Definition at line 224 of file Lau2DCubicSpline.cc.
Evaluate integral over x and y from (x1, y1) to (x2, y2)
Definition at line 300 of file Lau2DCubicSpline.cc.
Evaluate integral over y at a given x from (x, y1) to (x, y2)
Definition at line 262 of file Lau2DCubicSpline.cc.
Get contents of a given bin from a histogram.
Definition at line 30 of file Lau2DCubicSpline.cc.
Copy assignment operator - not implemented. Member Data Documentation
Bin size in x. Definition at line 97 of file Lau2DCubicSpline.hh.
Bin size in y. Definition at line 100 of file Lau2DCubicSpline.hh.
Coefficients of interpolation polynomials. Definition at line 115 of file Lau2DCubicSpline.hh.
Number of bins in x axis. Definition at line 91 of file Lau2DCubicSpline.hh.
Number of bins in y axis. Definition at line 94 of file Lau2DCubicSpline.hh.
Maximum x value. Definition at line 106 of file Lau2DCubicSpline.hh.
Minimum x value. Definition at line 103 of file Lau2DCubicSpline.hh.
Maximum y value. Definition at line 112 of file Lau2DCubicSpline.hh.
Minimum y value. Definition at line 109 of file Lau2DCubicSpline.hh. The documentation for this class was generated from the following files: Generated by 1.8.5 |