EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
allows to use a shared magnetic field in several places and with multiple steppers mainly targeted to save memory More...
#include <acts/blob/sPHENIX/Core/include/Acts/MagneticField/SharedBField.hpp>
Public Types | |
using | Cache = typename BField::Cache |
Public Member Functions | |
SharedBField ()=delete | |
Disallow construction without a valid underlying field. | |
SharedBField (std::shared_ptr< const BField > bField) | |
Vector3D | getField (const Vector3D &position) const |
retrieve magnetic field value | |
Vector3D | getField (const Vector3D &position, Cache &cache) const |
Retrieve magnetic field value. | |
Vector3D | getFieldGradient (const Vector3D &position, ActsMatrixD< 3, 3 > &derivative) const |
retrieve magnetic field value & its gradient | |
Vector3D | getFieldGradient (const Vector3D &position, ActsMatrixD< 3, 3 > &derivative, Cache &cache) const |
retrieve magnetic field value & its gradient | |
Private Attributes | |
std::shared_ptr< const BField > | m_bField |
allows to use a shared magnetic field in several places and with multiple steppers mainly targeted to save memory
Definition at line 23 of file SharedBField.hpp.
View newest version in sPHENIX GitHub at line 23 of file SharedBField.hpp
using Acts::SharedBField< BField >::Cache = typename BField::Cache |
Definition at line 26 of file SharedBField.hpp.
View newest version in sPHENIX GitHub at line 26 of file SharedBField.hpp
|
delete |
Disallow construction without a valid underlying field.
|
inline |
Constructur with a shared pointer from a shared pointer.
bField | is the shared BField to be stored |
Definition at line 34 of file SharedBField.hpp.
View newest version in sPHENIX GitHub at line 34 of file SharedBField.hpp
|
inline |
retrieve magnetic field value
[in] | position | global 3D position |
Definition at line 41 of file SharedBField.hpp.
View newest version in sPHENIX GitHub at line 41 of file SharedBField.hpp
References Acts::SharedBField< BField >::m_bField.
|
inline |
Retrieve magnetic field value.
[in] | position | global 3D position |
[in,out] | cache | Cache object, passed through to wrapped BField |
Definition at line 49 of file SharedBField.hpp.
View newest version in sPHENIX GitHub at line 49 of file SharedBField.hpp
References Acts::SharedBField< BField >::m_bField.
|
inline |
retrieve magnetic field value & its gradient
[in] | position | global 3D position |
[out] | derivative | gradient of magnetic field vector as (3x3) matrix |
Definition at line 61 of file SharedBField.hpp.
View newest version in sPHENIX GitHub at line 61 of file SharedBField.hpp
References Acts::SharedBField< BField >::m_bField.
|
inline |
retrieve magnetic field value & its gradient
[in] | position | global 3D position |
[out] | derivative | gradient of magnetic field vector as (3x3) matrix |
[in,out] | cache | Cache object, passed through to wrapped BField |
Definition at line 75 of file SharedBField.hpp.
View newest version in sPHENIX GitHub at line 75 of file SharedBField.hpp
References Acts::SharedBField< BField >::m_bField.
|
private |
Definition at line 81 of file SharedBField.hpp.
View newest version in sPHENIX GitHub at line 81 of file SharedBField.hpp
Referenced by Acts::SharedBField< BField >::getField(), and Acts::SharedBField< BField >::getFieldGradient().