5#ifndef TRIGAFPHYPO_AFPPROTONTRANSPORTPARAM_H
6#define TRIGAFPHYPO_AFPPROTONTRANSPORTPARAM_H
28 double evaluate(
double x0,
double y0,
double z0,
double sx,
double sy,
double E)
const;
double m_energy
Nominal beam energy.
~AFPProtonTransportParam()=default
Destructor of the class.
double evaluate(double x0, double y0, double z0, double sx, double sy, double E) const
This function evaluates value of the parameterization given a certain polynomial. It takes as argumen...
AFPProtonTransportParam(double beam_energy, std::unique_ptr< AFPProtonTransportPolynomial > poly_array[8])
Constructor which sets m_energy and m_polynomial.
std::unique_ptr< AFPProtonTransportPolynomial > m_polynomial[8]
Object of the AFPProtonTransportPolynomial class used for the position calculations.