28 "The \"SEPTUM\" element defines a Septum."),
32 (
"XSTART",
" Start of x coordinate");
34 (
"XEND",
" End of x coordinate");
36 (
"YSTART",
"Start of y coordinate");
38 (
"YEND",
"End of y coordinate");
40 (
"WIDTH",
"Width of the septum");
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.
ElementBase * getElement() const
Return the embedded CLASSIC element.
void setElement(ElementBase *)
Assign new CLASSIC element.
const std::string & getOpalName() const
Return object name.
std::vector< Attribute > itsAttr
The object attributes.
virtual void setElementLength(double length)
Set design length.
void setOutputFN(std::string fn)
Set output filename.
virtual void setWake(WakeFunction *wf)
attach a wake field to the element
void setDimensions(double xstart, double xend, double ystart, double yend)
Set dimensions and consistency checks.
void setWidth(double width)
Member variable access.
virtual void updateUnknown(ElementBase *)
Transmit the `‘unknown’' (not known to OPAL) attributes to CLASSIC.
virtual void update()
Update the embedded CLASSIC element.
void registerOwnership() const
virtual OpalSeptum * clone(const std::string &name)
Make clone.
OpalSeptum()
Exemplar constructor.
virtual void update()
Update the embedded CLASSIC septum.
static OpalWake * find(const std::string &name)
Find named WAKE.
void initWakefunction(const ElementBase &element)