 |
Belle II Software
release-05-02-19
|
12 #include <framework/geometry/B2Vector3.h>
30 class MagneticFieldComponent {
bool m_exclusive
whether or not the component is exclusive
virtual B2Vector3D getField(const B2Vector3D &pos) const =0
return the field at point pos
ClassDef(MagneticFieldComponent, 1)
ROOT Dictionary.
virtual bool inside(const B2Vector3D &pos) const =0
check whether the point pos is inside the volume covered by the component
bool isExclusive() const
returns whether the field is set to exclusive mode
B2Vector3< double > B2Vector3D
typedef for common usage with double
Abstract base class for different kinds of events.
Abstract base class for BField components.
virtual ~MagneticFieldComponent()
destructor
void setExclusive(bool exclusive)
set the state of the exclusive flag
MagneticFieldComponent(bool exclusive)
Constructor.