14 "The \"SOURCE\" element defines a Source.") {
16 (
"DISTRIBUTION",
"List of particle distributions to be used ");
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.
OpalSource()
Exemplar constructor.
virtual ElementBase * removeWrappers()
Return the design element.
virtual void setElementLength(double length)
Set design length.
std::vector< Attribute > itsAttr
The object attributes (see Attribute.hh).
Attribute makeStringArray(const std::string &name, const std::string &help)
Create a string array attribute.
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.
Tepresentation for a solenoid magnet.
virtual OpalSource * clone(const std::string &name)
Make clone.
virtual void update()
Update the embedded CLASSIC solenoid.