32                 "The \"SEXTUPOLE\" element defines a Sextupole.") {
 
   34                   (
"K2", 
"Normalised upright sextupole coefficient in m^(-3)");
 
   36                   (
"DK2", 
"Normalised upright sextupole coefficient error in m^(-3)");
 
   38                    (
"K2S", 
"Normalised skew sextupole coefficient in m^(-3)");
 
   40                    (
"DK2S", 
"Normalised skew sextupole coefficient error in m^(-3)");
 
double getReal(const Attribute &attr)
Return real value.
 
Attribute makeReal(const std::string &name, const std::string &help)
Make real attribute.
 
constexpr double c
The velocity of light in m/s.
 
ElementBase * getElement() const
Return the embedded CLASSIC element.
 
void setElement(ElementBase *)
Assign new CLASSIC element.
 
std::vector< Attribute > itsAttr
The object attributes.
 
double getP0() const
Return value of global reference momentum.
 
static OpalData * getInstance()
 
virtual void setElementLength(double length)
Set design length.
 
void setNormalComponent(int, double)
Set normal component.
 
void setSkewComponent(int, double)
Set skew component.
 
virtual void setField(const BMultipoleField &field)
Set mulitpole field.
 
The magnetic field of a multipole.
 
void setNormalComponent(int n, double Bn)
Set component.
 
void setSkewComponent(int n, double Bn)
Set component.
 
virtual void updateUnknown(ElementBase *)
Transmit the `‘unknown’' (not known to OPAL) attributes to CLASSIC.
 
virtual void print(std::ostream &) const
Print the object.
 
virtual void update()
Update the embedded CLASSIC element.
 
void registerOwnership() const
 
virtual void print(std::ostream &) const
Print the sextupole.
 
virtual OpalSextupole * clone(const std::string &name)
Make clone.
 
virtual void update()
Update the embedded CLASSIC multipole.
 
OpalSextupole()
Exemplar constructor.