ATLAS Offline Software
JetHelpers.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef JETUNCERTAINTIES_JETHELPERS_H
6 #define JETUNCERTAINTIES_JETHELPERS_H
7 
8 #include "TFile.h"
9 
10 
11 class TH1;
12 
13 class TAxis;
14 
15 namespace JetHelpers
16 {
17 
18  // JetHelpers to have a const method for interpolation. This will be change in future versions as discussed in https://sft.its.cern.ch/jira/browse/ROOT-9994
19 
20  double Interpolate(const TH1* histo, const double x);
21  double Interpolate(const TH1* histo, const double x, const double y);
22  double Interpolate(const TH1* histo, const double x, const double y, const double z);
23 
24  double Interpolate2D(const TH1* histo, const double x, const double y, const int xAxis=1, const int yAxis=2, const int otherDimBin=-1);
25 
26 
27 }
28 
29 #endif
x
#define x
JetHelpers::Interpolate
double Interpolate(const TH1 *histo, const double x)
Definition: JetHelpers.cxx:16
z
#define z
JetHelpers
Definition: JetHelpers.h:16
y
#define y
JetHelpers::Interpolate2D
double Interpolate2D(const TH1 *histo, const double x, const double y, const int xAxis=1, const int yAxis=2, const int otherDimBin=-1)
Definition: JetHelpers.cxx:50
plotBeamSpotCompare.histo
histo
Definition: plotBeamSpotCompare.py:415