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 61 of file Lau2DCubicSpline.hh. Member Enumeration Documentation
Length of coefficient record in array.
Definition at line 65 of file Lau2DCubicSpline.hh. Constructor & Destructor Documentation
Constructor from histogram. /param h the histogram Definition at line 83 of file Lau2DCubicSpline.cc.
Destructor. Definition at line 41 of file Lau2DCubicSpline.cc.
Copy constructor - not implemented. Member Function Documentation
Evaluate analytical integral in x, y, or x and y.
Definition at line 232 of file Lau2DCubicSpline.cc.
Evaluate analytical integral across the whole function. Definition at line 227 of file Lau2DCubicSpline.cc.
Const access to coefficients.
Definition at line 174 of file Lau2DCubicSpline.hh.
Access to coefficients.
Definition at line 184 of file Lau2DCubicSpline.hh.
Get d^2/dydx finite difference in a given bin from a histogram.
Definition at line 74 of file Lau2DCubicSpline.cc.
Get d/dx finite difference in a given bin from a histogram.
Definition at line 60 of file Lau2DCubicSpline.cc.
Get d/dy finite difference in a given bin from a histogram.
Definition at line 67 of file Lau2DCubicSpline.cc.
Evaluate the function at given point.
Definition at line 200 of file Lau2DCubicSpline.cc.
Evaluate integral over x at a given y from (x1, y) to (x2, y)
Definition at line 239 of file Lau2DCubicSpline.cc.
Evaluate integral over x and y from (x1, y1) to (x2, y2)
Definition at line 315 of file Lau2DCubicSpline.cc.
Evaluate integral over y at a given x from (x, y1) to (x, y2)
Definition at line 277 of file Lau2DCubicSpline.cc.
Get contents of a given bin from a histogram.
Definition at line 44 of file Lau2DCubicSpline.cc.
Copy assignment operator - not implemented. Member Data Documentation
Bin size in x. Definition at line 111 of file Lau2DCubicSpline.hh.
Bin size in y. Definition at line 114 of file Lau2DCubicSpline.hh.
Coefficients of interpolation polynomials. Definition at line 129 of file Lau2DCubicSpline.hh.
Number of bins in x axis. Definition at line 105 of file Lau2DCubicSpline.hh.
Number of bins in y axis. Definition at line 108 of file Lau2DCubicSpline.hh.
Maximum x value. Definition at line 120 of file Lau2DCubicSpline.hh.
Minimum x value. Definition at line 117 of file Lau2DCubicSpline.hh.
Maximum y value. Definition at line 126 of file Lau2DCubicSpline.hh.
Minimum y value. Definition at line 123 of file Lau2DCubicSpline.hh. The documentation for this class was generated from the following files: Generated by 1.8.5 |