|
ACTS
Experiment-independent tracking
|
Null bfield which returns 0 always. More...
#include <Acts/MagneticField/NullBField.hpp>
Classes | |
| struct | Cache |
Public Member Functions | |
| NullBField ()=default | |
| Default constructor. | |
| Result< Vector3 > | getField (const Vector3 &position, MagneticFieldProvider::Cache &cache) const override |
| Retrieve magnetic field value at a given location. | |
| bool | isInside (const Vector3 &) const |
| check whether given 3D position is inside look-up domain | |
| Acts::MagneticFieldProvider::Cache | makeCache (const Acts::MagneticFieldContext &mctx) const override |
| Make an opaque cache for the magnetic field. | |
| Public Member Functions inherited from Acts::MagneticFieldProvider | |
| virtual | ~MagneticFieldProvider ()=default |
Additional Inherited Members | |
| Public Types inherited from Acts::MagneticFieldProvider | |
| using | Cache = Acts::AnyBase<sizeof(char) * 512> |
| Opaque cache type that can store arbitrary implementation specific cache data. | |
Null bfield which returns 0 always.
|
default |
Default constructor.
|
overridevirtual |
Retrieve magnetic field value at a given location.
Requires an instance of Acts::MagneticFieldProvider::Cache created through makeCache.
| [in] | position | global 3D position for the lookup |
| [in,out] | cache | Field provider specific cache object |
position is ignored and only kept as argument to provide a consistent interface with other magnetic field services. Implements Acts::MagneticFieldProvider.
| bool Acts::NullBField::isInside | ( | const Vector3 & | ) | const |
check whether given 3D position is inside look-up domain
true if position is inside the defined look-up grid, otherwise false
|
overridevirtual |
Make an opaque cache for the magnetic field.
Instructs the specific implementation to generate a Acts::MagneticFieldProvider::Cache instance for magnetic field lookup.
| mctx | The magnetic field context to generate cache for |
Implements Acts::MagneticFieldProvider.