10#include <Math/Vector3D.h>
41 virtual bool inside(
const ROOT::Math::XYZVector& pos)
const = 0;
43 virtual ROOT::Math::XYZVector
getField(
const ROOT::Math::XYZVector& pos)
const = 0;
Abstract base class for BField components.
ClassDef(MagneticFieldComponent, 1)
ROOT Dictionary.
virtual bool inside(const ROOT::Math::XYZVector &pos) const =0
check whether the point pos is inside the volume covered by the component
virtual ROOT::Math::XYZVector getField(const ROOT::Math::XYZVector &pos) const =0
return the field at point pos
bool isExclusive() const
returns whether the field is set to exclusive mode
void setExclusive(bool exclusive)
set the state of the exclusive flag
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.