41 itsDesign(rhs.itsDesign),
42 itsError(rhs.itsError),
virtual void accept(BeamlineVisitor &) const
Apply visitor to modified corrector.
virtual BDipoleField & getField()=0
Return the corrector field.
BDipoleField & addField(const BDipoleField &field)
Add to field.
Interface for basic beam line object.
The field of a magnetic dipole.
virtual BDipoleField & errorField() const
Get corrector field error.
virtual ElementBase::ElementType getType() const
Get element type string.
virtual ElementBase * removeWrappers()
Remove all wrappers.
Interface for general corrector.
virtual Plane getPlane() const =0
Return the plane on which the corrector acts.
virtual ElementBase * removeFieldWrapper()
Remove field wrapper.
virtual void makeSharable()
Set sharable flag.
virtual void makeSharable()
Set sharable flag.
virtual ElementBase * copyStructure()
Make structural copy.
virtual BDipoleField & getField()
Get corrector field.
virtual Plane getPlane() const
Get plane of action.
BDipoleField itsError
The field modifiers.
virtual StraightGeometry & getGeometry()=0
Return the corrector geometry.
virtual const Corrector & getDesign() const
Get design corrector.
virtual ElementBase * copyStructure()
Make a structural copy.
virtual ElementBase * clone() const
Make clone.
virtual ElementBase * clone() const =0
Return clone.
Representation for a perturbed closed orbit corrector.
A geometry representing a straight line.
virtual ElementBase * makeFieldWrapper()
Make wrapper for this corrector.
virtual StraightGeometry & getGeometry()
Get geometry.
virtual ~CorrectorWrapper()
Pointer< Corrector > itsDesign
bool isSharable() const
Test if the element can be shared.
virtual void visitCorrectorWrapper(const CorrectorWrapper &)=0
Apply the algorithm to an corrector wrapper.