11#include <framework/dbobjects/MagneticFieldComponent.h>
12#include <framework/gearbox/Unit.h>
13#include <geometry/bfieldmap/BFieldMap.h>
26 virtual bool inside(
const ROOT::Math::XYZVector&)
const final override {
return true; }
28 virtual ROOT::Math::XYZVector
getField(
const ROOT::Math::XYZVector& position)
const final override
Simple BFieldComponent to just wrap the existing BFieldMap with the new BFieldManager.
virtual ROOT::Math::XYZVector getField(const ROOT::Math::XYZVector &position) const final override
and we return the values from the exsiting BFieldMap
virtual bool inside(const ROOT::Math::XYZVector &) const final override
everything is inside this component
BFieldFrameworkInterface()
this component is exclusive: ignore all others
static BFieldMap & Instance()
Static method to get a reference to the BFieldMap instance.
Abstract base class for BField components.
static const double T
[tesla]
ROOT::Math::XYZVector getBField(const ROOT::Math::XYZVector &point) const
Returns the magnetic field of the Belle II detector at the specified space point.
Abstract base class for different kinds of events.