ATLAS Offline Software
Loading...
Searching...
No Matches
JetToolHelpers/JetToolHelpers/RootHelpers.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5class TH1;
6class TAxis;
7
8#include <iostream>
9
10namespace RootHelpers
11{
15 double Interpolate2D(const TH1* histo, const double x, const double y, const int xAxis, const int yAxis, const int otherDimBin);
16
18 double Interpolate(const TH1* histo, const double x, const double y, const double z);
19
20} // end RootHelpers namespace
21
#define y
#define x
#define z
double Interpolate(const TH1 *histo, const double x)
double 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 ...