9#include <geometry/bfieldmap/BFieldMap.h>
10#include <framework/logging/Logger.h>
17 static std::unique_ptr<BFieldMap> instance(
new BFieldMap());
29 B2DEBUG(10,
"The magnetic field map has been initialized.");
The BFieldComponentAbs class.
This class represents the magnetic field of the Belle II detector.
BFieldMap()
The constructor is hidden to avoid that someone creates an instance of this class.
std::list< BFieldComponentAbs * > m_components
The components of the magnetic field.
void initialize()
Initialize the magnetic field after adding all components.
virtual ~BFieldMap()
The destructor of the BFieldMap class.
void clear()
Clear the existing components.
static BFieldMap & Instance()
Static method to get a reference to the BFieldMap instance.
bool m_isMapInitialized
If false the map hasn't been initialized yet.
Abstract base class for different kinds of events.