32 "The \"MONITOR\" element defines a monitor for both planes.") {
34 (
"OUTFN",
"Monitor output filename");
static AttCell * registerStringAttribute(const std::string &name)
Register a ``string'' element attribute.
T::PETE_Expr_t::PETE_Return_t max(const PETE_Expr< T > &expr, NDIndex< D > &loc)
virtual ElementBase * removeWrappers()
Return the design element.
virtual OpalMonitor * clone(const std::string &name)
Make clone.
std::string toUpper(const std::string &str)
virtual void setElementLength(double length)
Set design length.
std::vector< Attribute > itsAttr
The object attributes (see Attribute.hh).
OpalMonitor()
Exemplar constructor.
Base class for all beam line elements.
virtual void update()
Update the embedded CLASSIC monitor.
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.
Representation for an orbit position monitor.
double getReal(const Attribute &attr)
Return real value.
Attribute makeString(const std::string &name, const std::string &help)
Make string attribute.
void setOutputFN(std::string fn)
std::string getString(const Attribute &attr)
Get string value.