ATLAS Offline Software
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 */
15 #ifndef CALOCLUSTERCORRECTION_INTERPOLATE_H
16 #define CALOCLUSTERCORRECTION_INTERPOLATE_H
17 
18 
19 #include "CaloConditions/Array.h"
20 
21 
22 
23 namespace CaloClusterCorr {
24 
25 
55 float 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
CaloClusterCorr
Definition: CaloClusterCorrectionCommon.h:22
Array.h
Simple multidimensional arrays.
x
#define x
CalibDbCompareRT.n_points
n_points
Definition: CalibDbCompareRT.py:76
CxxUtils::Array
Read-only multidimensional array.
Definition: Control/CxxUtils/CxxUtils/Array.h:138
a
TList * a
Definition: liststreamerinfos.cxx:10
CaloClusterCorr::interpolate
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.
Definition: interpolate.cxx:75
python.SystemOfUnits.degree
tuple degree
Definition: SystemOfUnits.py:106