1 #ifndef CLASSIC_ConstBField_HH
2 #define CLASSIC_ConstBField_HH
43 virtual double getBx()
const;
47 virtual double getBy()
const;
51 virtual double getBz()
const;
55 virtual void setBx(
double);
59 virtual void setBy(
double);
63 virtual void setBz(
double);
A homogenous magnetostatic field.
virtual void setBz(double)
Set component.
virtual void setBx(double)
Set component.
virtual double getBx() const
Get component.
virtual void setBy(double)
Set component.
virtual double getBy() const
Get component.
virtual double getBz() const
Get component.
ConstBField()
Default constructor.
Abstract base class for static magnetic fields.