ATLAS Offline Software
Loading...
Searching...
No Matches
Reconstruction
Jet
JetCalibTools
JetCalibTools
JetCalibTools/JetCalibTools/RootHelpers.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
class
TH1;
6
class
TAxis;
7
8
namespace
RootHelpers
9
{
10
11
double
Interpolate
(
const
TH1* histo,
const
double
x
);
12
13
double
Interpolate
(
const
TH1* histo,
const
double
x
,
const
double
y
);
14
15
double
Interpolate2D
(
const
TH1* histo,
const
double
x
,
const
double
y
,
const
int
xAxis,
const
int
yAxis,
const
int
otherDimBin);
16
17
double
Interpolate
(
const
TH1* histo,
const
double
x
,
const
double
y
,
const
double
z
);
18
19
}
// end RootHelpers namespace
20
y
#define y
x
#define x
z
#define z
RootHelpers
Definition
JetCalibTools/JetCalibTools/RootHelpers.h:9
RootHelpers::Interpolate
double Interpolate(const TH1 *histo, const double x)
Definition
JetCalibTools/Root/RootHelpers.cxx:39
RootHelpers::Interpolate2D
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 ...
Definition
JetCalibTools/Root/RootHelpers.cxx:73
Generated on
for ATLAS Offline Software by
1.14.0