![]() |
ATLAS Offline Software
|
#include <AFPProtonTransportPolynomial.h>
Public Member Functions | |
| AFPProtonTransportPolynomial (int n, double c0, double c1=0, double c2=0, double c3=0, double c4=0, double c5=0, double c6=0, double c7=0, double c8=0, double c9=0) | |
| Default constructor of kinRecoPolynomial. Takes number of coefficients and coefficients itself up to 10 as arguments. More... | |
| int | numCoefficients () const |
| This function returns the number of coefficients. More... | |
| void | setCoefficients (int n, double c0, double c1=0, double c2=0, double c3=0, double c4=0, double c5=0, double c6=0, double c7=0, double c8=0, double c9=0) |
| This function sets the coefficients of the polynomial. More... | |
| double | evaluate (double x) const |
| This function of returns the sum of the polynomial coeficients of a given argument x. More... | |
Private Attributes | |
| int | m_numCoefficients = 0 |
| double | m_coefficients [10] |
Definition at line 8 of file AFPProtonTransportPolynomial.h.
| AFPProtonTransportPolynomial::AFPProtonTransportPolynomial | ( | int | n, |
| double | c0, | ||
| double | c1 = 0, |
||
| double | c2 = 0, |
||
| double | c3 = 0, |
||
| double | c4 = 0, |
||
| double | c5 = 0, |
||
| double | c6 = 0, |
||
| double | c7 = 0, |
||
| double | c8 = 0, |
||
| double | c9 = 0 |
||
| ) |
Default constructor of kinRecoPolynomial. Takes number of coefficients and coefficients itself up to 10 as arguments.
Definition at line 7 of file AFPProtonTransportPolynomial.cxx.
| double AFPProtonTransportPolynomial::evaluate | ( | double | x | ) | const |
This function of returns the sum of the polynomial coeficients of a given argument x.
Definition at line 32 of file AFPProtonTransportPolynomial.cxx.
| int AFPProtonTransportPolynomial::numCoefficients | ( | ) | const |
This function returns the number of coefficients.
Definition at line 12 of file AFPProtonTransportPolynomial.cxx.
| void AFPProtonTransportPolynomial::setCoefficients | ( | int | n, |
| double | c0, | ||
| double | c1 = 0, |
||
| double | c2 = 0, |
||
| double | c3 = 0, |
||
| double | c4 = 0, |
||
| double | c5 = 0, |
||
| double | c6 = 0, |
||
| double | c7 = 0, |
||
| double | c8 = 0, |
||
| double | c9 = 0 |
||
| ) |
This function sets the coefficients of the polynomial.
Definition at line 16 of file AFPProtonTransportPolynomial.cxx.
|
private |
Definition at line 27 of file AFPProtonTransportPolynomial.h.
|
private |
Definition at line 26 of file AFPProtonTransportPolynomial.h.
1.8.18