42 itsDesign(rhs.itsDesign),
43 itsError(rhs.itsError),
virtual StraightGeometry & getGeometry()
Get geometry.
virtual void makeSharable()
Set sharable flag.
virtual const Multipole & getDesign() const
Get design corrector.
Interface for basic beam line object.
BMultipoleField tempField
virtual BMultipoleField & getField() override=0
Get multipole field.
virtual void setName(const std::string &name)
Set element name.
virtual BMultipoleField & getField()
Get field.
virtual ElementBase * makeFieldWrapper()
Make wrapper for this multipole.
virtual ElementBase * clone() const
Make clone.
Representation of a perturbed multipole.
virtual const std::string & getName() const
Get element name.
virtual void accept(BeamlineVisitor &) const
Apply visitor to modified multipole.
Interface for general multipole.
virtual void makeSharable()
Set sharable flag.
virtual ElementBase * removeFieldWrapper()
Remove field wrapper.
virtual ElementBase * removeWrappers()
Remove all wrappers.
virtual ElementBase * copyStructure()
Make structural copy.
virtual ElementBase * copyStructure()
Make a structural copy.
virtual ~MultipoleWrapper()
virtual ElementBase::ElementType getType() const
Get element type string.
virtual ElementBase * clone() const =0
Return clone.
A geometry representing a straight line.
virtual void visitMultipoleWrapper(const MultipoleWrapper &)=0
Apply the algorithm to an multipole wrapper.
The magnetic field of a multipole.
virtual BMultipoleField & errorField() const
Get multipole field error.
bool isSharable() const
Test if the element can be shared.
virtual StraightGeometry & getGeometry() override=0
Get geometry.
Pointer< Multipole > itsDesign
BMultipoleField & addField(const BMultipoleField &field)
Add to field.