38 const Entry entries[] = {
62 geometry(rhs.geometry),
114 for(
const Entry *entry = entries; entry->name != 0; ++entry) {
115 image->
setAttribute(entry->name, (this->*(entry->get))());
virtual double getSlices() const
Get number of slices.
virtual double getExitFaceCurvature() const
Get exit pole face curvature.
virtual void setSlices(double sl)
Set number of slices.
Interface for basic beam line object.
virtual double getEntryFaceRotation() const
Get pole entry face rotation.
virtual ElementImage * getImage() const
Construct an image.
Representation for a rectangular bend magnet.
void setNormalComponent(int n, double Bn)
Set component.
virtual void setName(const std::string &name)
Set element name.
virtual void setElementLength(double length)
Set design length.
virtual Channel * getChannel(const std::string &aKey, bool create=false)
Construct a read/write channel.
virtual void setStepsize(double ds)
Set stepsize.
virtual const std::string & getName() const
Get element name.
virtual double getEntryFaceCurvature() const
Get entry pole face curvature.
virtual void setExitFaceRotation(double e2)
Set exit pole face rotation.
virtual double getStepsize() const
Get stepsize.
virtual BMultipoleField & getField()
Get field.
virtual double getB() const
Get field.
virtual ElementBase * clone() const
Return clone.
virtual void setB(double By)
Set vertical component.
virtual void setEntryFaceRotation(double e1)
Set pole entry face rotation.
virtual double getElementLength() const
Get design length.
double getNormalComponent(int n) const
Get component.
virtual ElementImage * getImage() const
Construct an image.
void setAttribute(const std::string &aKey, double val)
Set value of an attribute.
virtual void setEntryFaceCurvature(double h1)
Set entry pole face curvature.
virtual void setField(const BMultipoleField &field)
Set field.
virtual Channel * getChannel(const std::string &aKey, bool=false)
Construct a read/write channel.
The geometry for a RBend element.
virtual void setExitFaceCurvature(double h2)
Set exit pole face curvature.
virtual ElementBase * makeFieldWrapper()
Allow field errors.
Abstract interface for read/write access to variable.
The magnetic field of a multipole.
BMultipoleField field
The multipole expansion.
virtual RBendGeometry & getGeometry()
Get geometry.
Representation of a perturbed rectangular bend.
virtual double getExitFaceRotation() const
Get exit pole face rotation.
RBendGeometry geometry
The bend geometry.