ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigHypothesis
TrigAFPHypo
src
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
8
#include "
AFPProtonTransportPolynomial.h
"
9
#include <memory>
10
16
17
class
AFPProtonTransportParam
{
18
public
:
22
23
AFPProtonTransportParam
(
double
beam_energy, std::unique_ptr<AFPProtonTransportPolynomial> poly_array[8]);
25
~AFPProtonTransportParam
() =
default
;
26
28
double
evaluate
(
double
x0,
double
y0,
double
z0,
double
sx,
double
sy,
double
E)
const
;
29
30
private
:
32
double
m_energy
;
34
std::unique_ptr<AFPProtonTransportPolynomial>
m_polynomial
[8];
35
};
36
37
#endif
AFPProtonTransportPolynomial.h
AFPProtonTransportParam::m_energy
double m_energy
Nominal beam energy.
Definition
AFPProtonTransportParam.h:32
AFPProtonTransportParam::~AFPProtonTransportParam
~AFPProtonTransportParam()=default
Destructor of the class.
AFPProtonTransportParam::evaluate
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...
Definition
AFPProtonTransportParam.cxx:14
AFPProtonTransportParam::AFPProtonTransportParam
AFPProtonTransportParam(double beam_energy, std::unique_ptr< AFPProtonTransportPolynomial > poly_array[8])
Constructor which sets m_energy and m_polynomial.
Definition
AFPProtonTransportParam.cxx:9
AFPProtonTransportParam::m_polynomial
std::unique_ptr< AFPProtonTransportPolynomial > m_polynomial[8]
Object of the AFPProtonTransportPolynomial class used for the position calculations.
Definition
AFPProtonTransportParam.h:34
Generated on
for ATLAS Offline Software by
1.17.0