12 const Entry entries[] = {
19 {
nullptr,
nullptr,
nullptr}};
25 :
SBend(right), geometry_m(right.geometry_m), field_m(right.field_m) {}
34 for (
const Entry* entry = entries; entry->name !=
nullptr; ++entry) {
35 if (aKey == entry->name) {
The magnetic field of a multipole.
double getEntryFaceCurvature() const
void setExitFaceCurvature(double curvature)
double getEntryFaceRotation() const
double getExitFaceRotation() const
void setExitFaceRotation(double rotation)
double getExitFaceCurvature() const
void setEntryFaceCurvature(double curvature)
void setEntryFaceRotation(double rotation)
Abstract interface for read/write access to variable.
virtual Channel * getChannel(const std::string &aKey, bool create=false)
Construct a read/write channel.
virtual double getElementLength() const
Get design length.
virtual void setElementLength(double length)
Set design length.
Access to a [b]double[/b] data member.
A simple arc in the XZ plane.
Concrete OPALX representation of an analytic sector bend.
PlanarArcGeometry geometry_m
Channel * getChannel(const std::string &aKey, bool create=false) override
Construct a read/write channel.
ElementBase * clone() const override
Return clone.
void setField(const BMultipoleField &field)
PlanarArcGeometry & getGeometry() override
Get geometry.
BMultipoleField & getField() override
Return field.
Abstract sector bend with planar-arc body geometry.