31 "The \"STRIPPER\" element defines a Stripper.") {
34 (
"XSTART",
" Start of x coordinate [mm]");
36 (
"XEND",
" End of x coordinate, [mm]");
38 (
"YSTART",
"Start of y coordinate, [mm]");
40 (
"YEND",
"End of y coordinate, [mm]");
42 (
"WIDTH",
"Width of the stripper [mm], NOT used");
44 (
"OPCHARGE",
"Charge number of the outcome particle");
46 (
"OPMASS",
"Mass of the outcome particle [GeV/c^2]");
48 (
"OPYIELD",
"Yield (Particle number of the outcome particle) per income particle");
50 (
"STOP",
"Option Whether stop tracking at the stripper. Default: true",
true);
52 (
"OUTFN",
"Output filename");
static AttCell * registerStringAttribute(const std::string &name)
Register a ``string'' element attribute.
void setOPCharge(double charge)
Member variable access.
Interface for basic beam line object.
virtual void fillRegisteredAttributes(const ElementBase &, ValueFlag)
Fill in all registered attributes.
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.
void setOPYield(double yield)
std::vector< Attribute > itsAttr
The object attributes (see Attribute.hh).
void setStop(bool stopflag)
bool getBool(const Attribute &attr)
Return logical value.
void setOPMass(double mass)
Base class for all beam line elements.
virtual OpalStripper * clone(const std::string &name)
Make clone.
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.
Attribute makeBool(const std::string &name, const std::string &help)
Make logical attribute.
Representation for Stripper.
virtual void update()
Update the embedded CLASSIC septum.
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.
void setDimensions(double xstart, double xend, double ystart, double yend)
Set dimensions and consistency checks.