38 "The \"RINGDEFINITION\" element defines basic ring parameters.") {
41 "The assumed harmonic number of the ring (i.e. number of bunches in the ring on a given turn).");
43 "The initial radius of the first element to be placed in the ring [m].");
47 "The initial angle around the ring of the beam [deg].");
49 "An initial pr momentum offset of the beam.");
51 "The initial radius of the beam [m].");
53 "The rotational symmetry of the lattice.");
58 "The nominal RF frequency of the ring [MHz].");
61 "Set to 'false' to disable checking for closure of the ring");
63 "Minimum allowed radius during tracking [m]. If not defined, any radius is allowed. If MIN_R is defined, MAX_R must also be defined.");
65 "Maximum allowed radius during tracking [m]. If not defined, any radius is allowed. If MAX_R is defined, MIN_R must also be defined.");
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.
ElementBase * getElement() const
Return the embedded CLASSIC element.
void setElement(ElementBase *)
Assign new CLASSIC element.
std::vector< Attribute > itsAttr
The object attributes.
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)
virtual void print(std::ostream &) const
Print the object.
void registerOwnership() const
virtual void print(std::ostream &) const
virtual ~OpalRingDefinition()
virtual OpalRingDefinition * clone(const std::string &name)