ATLAS Offline Software
Loading...
Searching...
No Matches
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
11class TH1;
12
13class TAxis;
14
15namespace 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
#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=1, const int yAxis=2, const int otherDimBin=-1)