20 #ifndef CLASSIC_SBendRep_HH
21 #define CLASSIC_SBendRep_HH
67 virtual double getB()
const;
71 virtual void setB(
double By);
virtual BMultipoleField & getField()
Get field.
virtual double getEntryFaceCurvature() const
Get entry pole face curvature.
virtual void setEntryFaceCurvature(double h1)
Set entry pole face curvature.
virtual void setEntryFaceRotation(double e1)
Set pole entry face rotation.
virtual void setExitFaceCurvature(double h2)
Set exit pole face curvature.
virtual PlanarArcGeometry & getGeometry()
Get geometry.
PlanarArcGeometry geometry
The bend geometry.
virtual Channel * getChannel(const std::string &aKey, bool=false)
Construct a read/write channel.
virtual void setSlices(double sl)
Set number of slices.
virtual double getExitFaceCurvature() const
Get exit pole face curvature.
virtual void setField(const BMultipoleField &field)
Set field.
virtual ElementBase * clone() const
Return clone.
virtual void setExitFaceRotation(double e2)
Set exit pole face rotation.
virtual double getStepsize() const
Get stepsize.
virtual double getB() const
Get field.
virtual void setB(double By)
Set vertical component.
virtual double getSlices() const
Get number of slices.
virtual double getEntryFaceRotation() const
Get pole entry face rotation.
void operator=(const SBendRep &)
virtual void setStepsize(double ds)
Set stepsize.
BMultipoleField field
The multipole expansion.
virtual double getExitFaceRotation() const
Get exit pole face rotation.
A simple arc in the XZ plane.
Abstract interface for read/write access to variable.
The magnetic field of a multipole.