ATLAS Offline Software
MuonSpectrometer
MuonCalib
MuonCalibUtils
MuonCalibMath
src
SimplePolynomial.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
#include "cmath"
5
#include "
MuonCalibMath/SimplePolynomial.h
"
6
7
using namespace
MuonCalib
;
8
9
double
SimplePolynomial::value
(
const
int
k
,
const
double
x
)
const
{
10
return
std::pow
(
x
,
k
);
11
}
x
#define x
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition:
CscCalcPed.cxx:22
MuonCalib::SimplePolynomial::value
double value(const int k, const double x) const
get the value of the k-th base function at x
Definition:
SimplePolynomial.cxx:9
SimplePolynomial.h
pow
constexpr int pow(int base, int exp) noexcept
Definition:
ap_fixedTest.cxx:15
fitman.k
k
Definition:
fitman.py:528
Generated on Mon Dec 23 2024 21:18:24 for ATLAS Offline Software by
1.8.18