ECCE @ EIC Software
Reference for
ECCE @ 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/master/Core/include/Acts/MagneticField/SharedBField.hpp>
Public Types | |
using | Cache = typename BField::Cache |
Public Member Functions | |
SharedBField (std::shared_ptr< const BField > bField) | |
the constructur with a shared pointer | |
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 21 of file SharedBField.hpp.
View newest version in sPHENIX GitHub at line 21 of file SharedBField.hpp
using Acts::SharedBField< BField >::Cache = typename BField::Cache |
Definition at line 24 of file SharedBField.hpp.
View newest version in sPHENIX GitHub at line 24 of file SharedBField.hpp
|
inline |
the constructur with a shared pointer
bField | is the shared BField to be stored |
Definition at line 29 of file SharedBField.hpp.
View newest version in sPHENIX GitHub at line 29 of file SharedBField.hpp
|
inline |
retrieve magnetic field value
[in] | position | global 3D position |
Definition at line 36 of file SharedBField.hpp.
View newest version in sPHENIX GitHub at line 36 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 44 of file SharedBField.hpp.
View newest version in sPHENIX GitHub at line 44 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 56 of file SharedBField.hpp.
View newest version in sPHENIX GitHub at line 56 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 70 of file SharedBField.hpp.
View newest version in sPHENIX GitHub at line 70 of file SharedBField.hpp
References Acts::SharedBField< BField >::m_bField.
|
private |
Definition at line 76 of file SharedBField.hpp.
View newest version in sPHENIX GitHub at line 76 of file SharedBField.hpp
Referenced by Acts::SharedBField< BField >::getField(), and Acts::SharedBField< BField >::getFieldGradient().