ATLAS Offline Software
Loading...
Searching...
No Matches
AFPProtonTransportParam.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4
5#ifndef TRIGAFPHYPO_AFPPROTONTRANSPORTPARAM_H
6#define TRIGAFPHYPO_AFPPROTONTRANSPORTPARAM_H
7
9#include <memory>
10
16
18public:
22
23 AFPProtonTransportParam (double beam_energy, std::unique_ptr<AFPProtonTransportPolynomial> poly_array[8]);
26
28 double evaluate(double x0, double y0, double z0, double sx, double sy, double E) const;
29
30private:
32 double m_energy;
34 std::unique_ptr<AFPProtonTransportPolynomial> m_polynomial[8];
35};
36
37#endif
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.