25       std::string(
"The \"VerticalFFAMagnet\" element defines a vertical FFA ")+
 
   26       std::string(
"magnet, which has a field that increases in the vertical ")+
 
   27       std::string(
"direction while maintaining similar orbits.");
 
   31           (
"B0", 
"The nominal dipole field of the magnet at zero height [T].");
 
   33       "Exponent term in the field index [m^(-1)].");
 
   35       "The full width of the magnet. Particles moving more than WIDTH/2 horizontally, in either direction, are out of the aperture.");
 
   37       "The maximum power in horizontal coordinate that will be considered in the field expansion.");
 
   39       "The end length of the FFA fringe field [m].");
 
   41       "The centre length of the FFA (i.e. length of the flat top) [m].");
 
   43       "Determines the length of the bounding box. Magnet is situated symmetrically in the bounding box. [m]");
 
   45       "Height of the magnet above z=0. Particles moving upwards more than HEIGHT_POS_EXTENT are out of the aperture [m].");
 
   47       "Height of the magnet below z=0. Particles moving downwards more than HEIGHT_NEG_EXTENT are out of the aperture [m].");
 
   94     endField->
setX0(centre_length/2.);
 
PETE_TUTree< FnFloor, typename T::PETE_Expr_t > floor(const PETE_Expr< T > &l)
double getReal(const Attribute &attr)
Return real value.
Attribute makeReal(const std::string &name, const std::string &help)
Make real attribute.
ElementBase * getElement() const
Return the embedded CLASSIC element.
void setElement(ElementBase *)
Assign new CLASSIC element.
std::vector< Attribute > itsAttr
The object attributes.
static void setTanhDiffIndices(size_t n)
void setLambda(double lambda)
void setBBLength(double bbLength)
void setWidth(double width)
void setMaxOrder(size_t maxOrder)
void setNegativeVerticalExtent(double negativeExtent)
void setFieldIndex(double index)
endfieldmodel::EndFieldModel * getEndField() const
void initialise(PartBunchBase< double, 3 > *bunch, double &startField, double &endField)
void setEndField(endfieldmodel::EndFieldModel *endField)
void setPositiveVerticalExtent(double positiveExtent)
void registerOwnership() const
virtual ~OpalVerticalFFAMagnet()
static std::string docstring_m
virtual OpalVerticalFFAMagnet * clone(const std::string &name)