ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::InterpolatedBFieldMap< grid_t >::Config Struct Reference

Config structure for the interpolated B field map. More...

#include <Acts/MagneticField/InterpolatedBFieldMap.hpp>

Public Attributes

Grid grid
 grid storing magnetic field values
double scale = 1.
 global B-field scaling factor
std::function< Vector3(const FieldType &, const Vector3 &)> transformBField
 calculating the global 3D coordinates (cartesian) of the magnetic field with the local n dimensional field and the global 3D position as input
std::function< ActsVector< DIM_POS >(const Vector3 &)> transformPos
 mapping of global 3D coordinates (cartesian) onto grid space

Detailed Description

template<typename grid_t>
struct Acts::InterpolatedBFieldMap< grid_t >::Config

Config structure for the interpolated B field map.

Member Data Documentation

◆ grid

template<typename grid_t>
Grid Acts::InterpolatedBFieldMap< grid_t >::Config::grid

grid storing magnetic field values

◆ scale

template<typename grid_t>
double Acts::InterpolatedBFieldMap< grid_t >::Config::scale = 1.

global B-field scaling factor

Note
Negative values for scale are accepted and will invert the direction of the magnetic field.

◆ transformBField

template<typename grid_t>
std::function<Vector3(const FieldType&, const Vector3&)> Acts::InterpolatedBFieldMap< grid_t >::Config::transformBField

calculating the global 3D coordinates (cartesian) of the magnetic field with the local n dimensional field and the global 3D position as input

◆ transformPos

template<typename grid_t>
std::function<ActsVector<DIM_POS>(const Vector3&)> Acts::InterpolatedBFieldMap< grid_t >::Config::transformPos

mapping of global 3D coordinates (cartesian) onto grid space