29 "The \"WIRE\" element defines a wire."),
32 (
"XSIZE",
"Horizontal half-aperture in m");
34 (
"YSIZE",
"Vertical half-aperture in m");
36 (
"XPOS",
"Horizontal position in m");
38 (
"YPOS",
"Vertical position in m");
40 (
"OUTFN",
"Wire output filename");
static AttCell * registerStringAttribute(const std::string &name)
Register a ``string'' element attribute.
ParticleMatterInteraction * parmatint_m
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.
Representation for a collimator.
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).
virtual void fillRegisteredAttributes(const ElementBase &, ValueFlag)
Fill in all registered attributes.
virtual OpalWire * clone(const std::string &name)
Make clone.
static ParticleMatterInteraction * find(const std::string &name)
Find named PARTICLEMATTERINTERACTION.
ParticleMatterInteractionHandler * handler_m
static std::map< std::string, OwnPtr< AttCell > > attributeRegistry
The registry for named attributes.
const std::string & getOpalName() const
Return object name.
void initParticleMatterInteractionHandler(ElementBase &element)
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.
virtual void setParticleMatterInteraction(ParticleMatterInteractionHandler *spys)
ElementBase * getElement() const
Return the embedded CLASSIC element.
virtual void update()
Update the embedded CLASSIC collimator.
OpalWire()
Exemplar constructor.
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.
static AttCell * registerRealAttribute(const std::string &name)
Register a ``real'' element attribute.
std::string getString(const Attribute &attr)
Get string value.