virtual void setElementLength(double length)
Set design length.
void setOutputFN(std::string fn)
Set output filename.
ElementBase * getElement() const
Return the embedded OPALX element.
void setElement(ElementBase *)
Assign new OPALX element.
std::vector< Attribute > itsAttr
The object attributes.
virtual void updateUnknown(ElementBase *)
Transmit the `‘unknown’' (not known to OPALX) attributes to OPALX.
virtual void update()
Update the embedded OPALX element.
void registerOwnership() const
OpalProbe()
Exemplar constructor.
virtual OpalProbe * clone(const std::string &name)
Make clone.
virtual void update()
Update the embedded OPALX probe.
void setDimensions(double xstart, double xend, double ystart, double yend)
Set dimensions and consistency checks.
void setStep(double step)
Set probe histogram bin width.
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.