38 "The \"SBEND3D\" element defines a sector bending magnet.") {
40 (
"FMAPFN",
"The name of the field map.");
42 "Scale the field map up or down by this factor (default 1. is T).");
44 "Units for length coordinates (default 1. is mm).");
double getReal(const Attribute &attr)
Return real value.
Attribute makeReal(const std::string &name, const std::string &help)
Make real attribute.
std::string getString(const Attribute &attr)
Get string value.
Attribute makeString(const std::string &name, const std::string &help)
Make string attribute.
ElementBase * getElement() const
Return the embedded CLASSIC element.
void setElement(ElementBase *)
Assign new CLASSIC element.
std::vector< Attribute > itsAttr
The object attributes.
void setFieldMapFileName(std::string name)
void setFieldUnits(double fieldUnits)
void setLengthUnits(double lengthUnits)
void registerOwnership() const
virtual OpalSBend3D * clone(const std::string &name)