ATLAS Offline Software
Loading...
Searching...
No Matches
RootHelpers.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  RootHelpers

Functions

double RootHelpers::Interpolate (const TH1 *histo, const double x)
double RootHelpers::Interpolate (const TH1 *histo, const double x, const double y)
double RootHelpers::Interpolate2D (const TH1 *histo, const double x, const double y, const int xAxis, const int yAxis, const int otherDimBin)
 Helper function for edge cases in 3D interpolation by interpolating in 2D and keeping the third axis axis (edge) fixed The input parameters "xAxis" and "yAxis" indicate which axes should be used for the 2D interpolation: x-axis: 1, y-axis: 2, z-axis: 3 The input parameter "otherDimBin" is the bin on the third axis which will be kept constant in the interpolation.
double RootHelpers::Interpolate (const TH1 *histo, const double x, const double y, const double z)
 Function for 3D interpolation to account for edge cases in TH3::Interpolate.