ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Null bfield which returns 0 always. More...
#include <acts/blob/master/Core/include/Acts/MagneticField/NullBField.hpp>
Classes | |
struct | Cache |
Public Member Functions | |
NullBField ()=default | |
Default constructor. | |
Vector3D | getField (const Vector3D &) const |
retrieve magnetic field value | |
Vector3D | getField (const Vector3D &, Cache &) const |
retrieve magnetic field value | |
Vector3D | getFieldGradient (const Vector3D &, ActsMatrixD< 3, 3 > &) const |
retrieve magnetic field value & its gradient | |
Vector3D | getFieldGradient (const Vector3D &, ActsMatrixD< 3, 3 > &, Cache &) const |
retrieve magnetic field value & its gradient | |
bool | isInside (const Vector3D &) const |
check whether given 3D position is inside look-up domain | |
Private Attributes | |
const Vector3D | m_BField = Vector3D::Zero() |
magnetic field vector | |
Null bfield which returns 0 always.
Definition at line 17 of file NullBField.hpp.
View newest version in sPHENIX GitHub at line 17 of file NullBField.hpp
|
default |
Default constructor.
retrieve magnetic field value
[in] | position | global position |
position
is ignored and only kept as argument to provide a consistent interface with other magnetic field services. Definition at line 34 of file NullBField.hpp.
View newest version in sPHENIX GitHub at line 34 of file NullBField.hpp
References m_BField.
retrieve magnetic field value
[in] | position | global position |
[in] | cache | Cache object (is ignored) |
position
is ignored and only kept as argument to provide a consistent interface with other magnetic field services. Definition at line 44 of file NullBField.hpp.
View newest version in sPHENIX GitHub at line 44 of file NullBField.hpp
References m_BField.
|
inline |
retrieve magnetic field value & its gradient
[in] | position | global position |
[out] | derivative | gradient of magnetic field vector as (3x3) matrix |
position
is ignored and only kept as argument to provide a consistent interface with other magnetic field services. Definition at line 58 of file NullBField.hpp.
View newest version in sPHENIX GitHub at line 58 of file NullBField.hpp
References m_BField.
|
inline |
retrieve magnetic field value & its gradient
[in] | position | global position |
[out] | derivative | gradient of magnetic field vector as (3x3) matrix |
[in] | cache | Cache object (is ignored) |
position
is ignored and only kept as argument to provide a consistent interface with other magnetic field services. Definition at line 74 of file NullBField.hpp.
View newest version in sPHENIX GitHub at line 74 of file NullBField.hpp
References m_BField.
|
inline |
check whether given 3D position is inside look-up domain
[in] | position | global 3D position |
true
if position is inside the defined look-up grid, otherwise false
Definition at line 86 of file NullBField.hpp.
View newest version in sPHENIX GitHub at line 86 of file NullBField.hpp
|
private |
magnetic field vector
Definition at line 90 of file NullBField.hpp.
View newest version in sPHENIX GitHub at line 90 of file NullBField.hpp
Referenced by getField(), and getFieldGradient().