Class Acts::InterpolatedMagneticField¶
-
class InterpolatedMagneticField : public Acts::MagneticFieldProvider¶
Subclassed by Acts::InterpolatedBFieldMap< grid_t >
Public Functions
-
virtual Vector3 getFieldUnchecked(const Vector3 &position) const = 0¶
Get a field value without checking if the lookup position is within the interpolation domain.
- Parameters
position – The lookup position in 3D
- Returns
The field value at
position
-
virtual std::vector<double> getMax() const = 0¶
get the maximum value of all axes of the field map
- Returns
vector returning the maxima of all field map axes
-
virtual std::vector<double> getMin() const = 0¶
get the minimum value of all axes of the field map
- Returns
vector returning the minima of all field map axes
-
virtual std::vector<size_t> getNBins() const = 0¶
get the number of bins for all axes of the field map
- Returns
vector returning number of bins for all field map axes
-
virtual Vector3 getFieldUnchecked(const Vector3 &position) const = 0¶