|
ACTS
Experiment-independent tracking
|
Cache for field cell to improve performance of field lookups. More...
#include <Acts/MagneticField/InterpolatedBFieldMap.hpp>
Public Member Functions | |
| Cache (const MagneticFieldContext &) | |
| Constructor with magnetic field context. | |
Public Attributes | |
| std::optional< FieldCell > | fieldCell |
| Stored field cell containing interpolation data. | |
| bool | initialized = false |
| Flag indicating if the cache has been initialized. | |
Cache for field cell to improve performance of field lookups.
This cache stores the current field cell which contains the interpolation data for a confined region of space. By caching the cell, subsequent lookups at nearby positions (e.g., during track propagation) can avoid expensive grid queries. The cache automatically updates when a position outside the current cell is queried.
|
explicit |
Constructor with magnetic field context.
| std::optional<FieldCell> Acts::InterpolatedBFieldMap< grid_t >::Cache::fieldCell |
Stored field cell containing interpolation data.
| bool Acts::InterpolatedBFieldMap< grid_t >::Cache::initialized = false |
Flag indicating if the cache has been initialized.