ATLAS Offline Software
SimplePolynomial.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef MuonCalib_SimplePolynomialH
5 #define MuonCalib_SimplePolynomialH
6 
8 
9 namespace MuonCalib {
13  class SimplePolynomial : public BaseFunction {
14  public:
15  // Constructor //
16  SimplePolynomial() = default;
17  // Method get x^k
18  double value(const int k, const double x) const;
19 
20  };
21 }
22 
23 #endif
MuonCalib::SimplePolynomial::SimplePolynomial
SimplePolynomial()=default
x
#define x
MuonCalib::BaseFunction
Definition: BaseFunction.h:16
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition: CscCalcPed.cxx:22
MuonCalib::SimplePolynomial
Definition: SimplePolynomial.h:13
BaseFunction.h
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
fitman.k
k
Definition: fitman.py:528