32 "The \"SEPTUM\" element defines a Septum."),
36 (
"XSTART",
" Start of x coordinate");
38 (
"XEND",
" End of x coordinate");
40 (
"YSTART",
"Start of y coordinate");
42 (
"YEND",
"End of y coordinate");
44 (
"WIDTH",
"Width of the septum");
46 (
"OUTFN",
"Output filename");
static AttCell * registerStringAttribute(const std::string &name)
Register a ``string'' element attribute.
Interface for basic beam line object.
virtual void fillRegisteredAttributes(const ElementBase &, ValueFlag)
Fill in all registered attributes.
ValueFlag
Switch for value desired on ATTLIST command.
virtual ElementBase * removeWrappers()
Return the design element.
virtual OpalSeptum * clone(const std::string &name)
Make clone.
virtual void setElementLength(double length)
Set design length.
std::vector< Attribute > itsAttr
The object attributes (see Attribute.hh).
void initWakefunction(ElementBase &element)
virtual void fillRegisteredAttributes(const ElementBase &, ValueFlag)
Fill in all registered attributes.
const std::string & getOpalName() const
Return object name.
OpalSeptum()
Exemplar constructor.
static OpalWake * find(const std::string &name)
Find named WAKE.
virtual void update()
Update the embedded CLASSIC septum.
Base class for all beam line elements.
void setElement(ElementBase *)
Assign new CLASSIC element.
void registerOwnership() const
virtual void update()
Update the embedded CLASSIC element.
virtual void updateUnknown(ElementBase *)
Transmit the ``unknown'' (not known to OPAL) attributes to CLASSIC.
ElementBase * getElement() const
Return the embedded CLASSIC element.
void setWidth(double width)
Member variable access.
Representation for Septum.
double getReal(const Attribute &attr)
Return real value.
void setOutputFN(std::string fn)
Set output filename.
Attribute makeString(const std::string &name, const std::string &help)
Make string attribute.
Attribute makeReal(const std::string &name, const std::string &help)
Make real attribute.
virtual void setWake(WakeFunction *wf)
attach a wake field to the element
static AttCell * registerRealAttribute(const std::string &name)
Register a ``real'' element attribute.
std::string getString(const Attribute &attr)
Get string value.
void setDimensions(double xstart, double xend, double ystart, double yend)
Set dimensions and consistency checks.