27 double(CyclotronRep::*get)()
const;
28 void (CyclotronRep::*set)(double);
31 static const Entry
entries[] = {
76 for(
const Entry *entry =
entries; entry->name != 0; ++entry) {
77 if(aKey == entry->name) {
const SingleMultipole< 4 >::Entry SingleMultipole< 4 >::entries[]
Cyclotron(const std::string &name)
Constructor with given name.
virtual Channel * getChannel(const std::string &aKey, bool create=false)
Construct a read/write channel.
ElementBase(const std::string &name)
Constructor with given name.
virtual double getStepsize() const
Get stepsize.
virtual void setStepsize(double ds)
Set stepsize.
virtual void setSlices(double sl)
Set number of slices.
virtual BMultipoleField & getField()
Get field.
virtual ElementBase * clone() const
Return clone.
CyclotronRep(const std::string &name)
Constructor with given name.
virtual Channel * getChannel(const std::string &aKey, bool=false)
Construct a read/write channel.
BMultipoleField field
The field expansion.
virtual double getSlices() const
Get the initial radius.
double rInit
The initial radius of the cyclotron.
virtual void setField(const BMultipoleField &field)
Set field.
PlanarArcGeometry geometry
The cyclotron geometry.
virtual PlanarArcGeometry & getGeometry()
Get geometry.
A simple arc in the XZ plane.
Abstract interface for read/write access to variable.
Access to a [b]double[/b] data member.
The magnetic field of a multipole.