![]() |
EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
returns a given constant field value at every point More...
Classes | |
| struct | Cache |
Public Member Functions | |
| ScalableBField (Acts::Vector3D B) | |
| construct constant magnetic field from field vector | |
| ScalableBField (double Bx=0., double By=0., double Bz=0.) | |
| construct constant magnetic field from components | |
| Acts::Vector3D | getField (const Acts::Vector3D &) const |
| retrieve magnetic field value | |
| Acts::Vector3D | getField (const Acts::Vector3D &, Cache &cache) const |
| retrieve magnetic field value | |
| Acts::Vector3D | getFieldGradient (const Acts::Vector3D &, Acts::ActsMatrixD< 3, 3 > &) const |
| retrieve magnetic field value & its gradient | |
| Acts::Vector3D | getFieldGradient (const Acts::Vector3D &, Acts::ActsMatrixD< 3, 3 > &, Cache &cache) const |
| retrieve magnetic field value & its gradient | |
| bool | isInside (const Acts::Vector3D &) const |
| check whether given 3D position is inside look-up domain | |
| void | setField (double Bx, double By, double Bz) |
| update magnetic field vector from components | |
| void | setField (const Acts::Vector3D &B) |
| update magnetic field vector | |
Private Attributes | |
| Acts::Vector3D | m_BField |
| magnetic field vector | |
returns a given constant field value at every point
This class is based on the constant magnetic field class but allows a event based context
Definition at line 29 of file ScalableBField.hpp.
View newest version in sPHENIX GitHub at line 29 of file ScalableBField.hpp
|
inlineexplicit |
construct constant magnetic field from field vector
| [in] | B | magnetic field vector in global coordinate system |
Definition at line 43 of file ScalableBField.hpp.
View newest version in sPHENIX GitHub at line 43 of file ScalableBField.hpp
|
inline |
construct constant magnetic field from components
| [in] | Bx | magnetic field component in global x-direction |
| [in] | By | magnetic field component in global y-direction |
| [in] | Bz | magnetic field component in global z-direction |
Definition at line 50 of file ScalableBField.hpp.
View newest version in sPHENIX GitHub at line 50 of file ScalableBField.hpp
|
inline |
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 60 of file ScalableBField.hpp.
View newest version in sPHENIX GitHub at line 60 of file ScalableBField.hpp
References m_BField.
|
inline |
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 72 of file ScalableBField.hpp.
View newest version in sPHENIX GitHub at line 72 of file ScalableBField.hpp
References m_BField, and ActsExamples::BField::ScalableBField::Cache::scalor.
|
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 88 of file ScalableBField.hpp.
View newest version in sPHENIX GitHub at line 88 of file ScalableBField.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 106 of file ScalableBField.hpp.
View newest version in sPHENIX GitHub at line 106 of file ScalableBField.hpp
References m_BField, and ActsExamples::BField::ScalableBField::Cache::scalor.
|
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 118 of file ScalableBField.hpp.
View newest version in sPHENIX GitHub at line 118 of file ScalableBField.hpp
|
inline |
update magnetic field vector from components
| [in] | Bx | magnetic field component in global x-direction |
| [in] | By | magnetic field component in global y-direction |
| [in] | Bz | magnetic field component in global z-direction |
Definition at line 125 of file ScalableBField.hpp.
View newest version in sPHENIX GitHub at line 125 of file ScalableBField.hpp
References Acts::IntegrationTest::Bz, and m_BField.
|
inline |
update magnetic field vector
| [in] | B | magnetic field vector in global coordinate system |
Definition at line 130 of file ScalableBField.hpp.
View newest version in sPHENIX GitHub at line 130 of file ScalableBField.hpp
References m_BField.
|
private |
magnetic field vector
Definition at line 134 of file ScalableBField.hpp.
View newest version in sPHENIX GitHub at line 134 of file ScalableBField.hpp
Referenced by getField(), getFieldGradient(), and setField().