38 SIZE,
"RINGDEFINITION",
39 "The \"RINGDEFINITION\" element defines basic ring parameters.") {
42 "The assumed harmonic number of the ring (i.e. number of bunches in the ring on a "
46 "LAT_RINIT",
"The initial radius of the first element to be placed in the ring [m].");
49 "The initial angle around the ring of the first element to be placed. [deg]");
52 "The angle relative to the tangent of the ring for the first element to be placed "
55 "BEAM_PHIINIT",
"The initial angle around the ring of the beam [deg].");
67 "IS_CLOSED",
"Set to 'false' to disable checking for closure of the ring");
70 "Minimum allowed radius during tracking [m]. If not defined, any radius is allowed. If "
71 "MIN_R is defined, MAX_R must also be defined.");
74 "Maximum allowed radius during tracking [m]. If not defined, any radius is allowed. If "
75 "MAX_R is defined, MIN_R must also be defined.");
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 print(std::ostream &) const
Print the object.
virtual void update()
Update the embedded OPALX element.
void registerOwnership() const
virtual void print(std::ostream &) const
virtual ~OpalRingDefinition()
virtual OpalRingDefinition * clone(const std::string &name)
Ring describes a ring type geometry for tracking.
void setSymmetry(double symmetry)
void setBeamRInit(double rInit)
void setIsClosed(bool isClosed)
void setLatticeThetaInit(double thetaInit)
void setHarmonicNumber(double cyclHarm)
void setLatticePhiInit(double phiInit)
void setRingAperture(double minR, double maxR)
void setScale(double scale)
void setBeamPRInit(double pRInit)
void setBeamPhiInit(double phiInit)
void setRFFreq(double rfFreq)
void setLatticeRInit(double rInit)
Attribute makeBool(const std::string &name, const std::string &help)
Make logical attribute.
double getReal(const Attribute &attr)
Return real value.
Attribute makeReal(const std::string &name, const std::string &help)
Make real attribute.
bool getBool(const Attribute &attr)
Return logical value.