ATLAS Offline Software
Loading...
Searching...
No Matches
interpolate.h
Go to the documentation of this file.
1// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
3/*
4 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
5*/
14
15#ifndef CALOCLUSTERCORRECTION_INTERPOLATE_H
16#define CALOCLUSTERCORRECTION_INTERPOLATE_H
17
18
20
21
22
23namespace CaloClusterCorr {
24
25
55float interpolate (const CaloRec::Array<2>& a,
56 float x,
57 unsigned int degree,
58 unsigned int ycol = 1,
59 const CaloRec::Array<1>& regions = CaloRec::Array<1>(),
60 int n_points = -1,
61 bool fixZero = false);
62
63
64} // namespace CaloClusterCorr
65
66
67
68#endif // not CALOCLUSTERCORRECTION_INTERPOLATE_H
Simple multidimensional arrays.
static Double_t a
static const std::vector< std::string > regions
#define x
float interpolate(const CaloRec::Array< 2 > &a, float x, unsigned int degree, unsigned int ycol=1, const CaloRec::Array< 1 > &regions=CaloRec::Array< 1 >(), int n_points=-1, bool fixZero=false)
Polynomial interpolation in a table.