10 #include <framework/geometry/B2Vector3.h>
Abstract base class for BField components.
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
void setExclusive(bool exclusive)
set the state of the exclusive flag
virtual B2Vector3D getField(const B2Vector3D &pos) const =0
return the field at point pos
virtual ~MagneticFieldComponent()
destructor
MagneticFieldComponent(bool exclusive)
Constructor.
bool m_exclusive
whether or not the component is exclusive
Abstract base class for different kinds of events.