29 "The \"SEPARATOR\" element defines an electrostatic separator.") {
31 (
"EX",
"The horizontal electrostatic field in MV");
33 (
"EY",
"The vertical electrostatic field in MV");
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 void setElementLength(double length)
Set design length.
OpalSeparator()
Exemplar constructor.
std::vector< Attribute > itsAttr
The object attributes (see Attribute.hh).
Representation for an electrostatic separator.
static std::map< std::string, OwnPtr< AttCell > > attributeRegistry
The registry for named attributes.
virtual double getElementLength() const
Get design length.
virtual double getEy() const
Get component.
virtual void fillRegisteredAttributes(const ElementBase &, ValueFlag)
Fill in all registered attributes.
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.
virtual void setEy(double Ey)
Set component.
double getReal(const Attribute &attr)
Return real value.
virtual double getEx() const
Get component.
Attribute makeReal(const std::string &name, const std::string &help)
Make real attribute.
virtual OpalSeparator * clone(const std::string &name)
Make clone.
static AttCell * registerRealAttribute(const std::string &name)
Register a ``real'' element attribute.
virtual void update()
Update the embedded CLASSIC separator.
virtual void setEx(double Ex)
Set component.