class
CorrectorWrapper
: public Corrector
(Return to index)
Representation for a perturbed closed orbit corrector.
A CorrectorWrapper represents a unique instance of a corrector magnet
in the accelerator model. It defines imperfections of the field,
related to an ``ideal'' magnet contained in the wrapper.
Type: |
Instantiable |
Superclasses: |
public Corrector |
Include file: |
./ComponentWrappers/CorrectorWrapper.hh |
Inheritance
Synopsis (including inherited members):
- Public members:
-
CorrectorWrapper
(Corrector*)
;
-
CorrectorWrapper
(const CorrectorWrapper&)
;
-
virtual ~CorrectorWrapper
()
;
-
virtual void accept
(BeamlineVisitor&)const
;
-
virtual ElementBase* clone
()const
;
-
virtual ElementBase* copyStructure
()
;
-
virtual BDipoleField& errorField
()const
;
-
virtual void makeSharable
()
;
-
virtual BDipoleField& getField
()
;
-
virtual const BDipoleField& getField
()const
;
-
virtual StraightGeometry& getGeometry
()
;
-
virtual const StraightGeometry& getGeometry
()const
;
-
virtual Plane getPlane
()const
;
-
virtual const string& getType
()const
;
-
virtual const Corrector& getDesign
()const
;
-
virtual Corrector& getDesign
()
;
-
virtual ElementBase* makeFieldWrapper
()
;
-
virtual ElementBase* removeFieldWrapper
()
;
-
virtual const ElementBase* removeFieldWrapper
()const
;
-
virtual ElementBase* removeWrappers
()
;
-
virtual const ElementBase* removeWrappers
()const
;
-
enum Plane
;
-
EVector Efield
(const Point3D&)const
;
-
BVector Bfield
(const Point3D&)const
;
-
EVector Efield
(const Point3D&,double)const
;
-
BVector Bfield
(const Point3D&,double)const
;
-
EBVectors EBfield
(const Point3D&)const
;
-
EBVectors EBfield
(const Point3D&,double)const
;
-
virtual void trackBunch
(PartBunch&,const PartData&,bool,bool)const
;
-
virtual void trackMap
(FVps<double,6>&,const PartData&,bool,bool)const
;
-
virtual const string& getName
()const
;
-
virtual void setName
(const string&)
;
-
virtual double getArcLength
()const
;
-
virtual double getElementLength
()const
;
-
virtual void setElementLength
(double)
;
-
virtual double getOrigin
()const
;
-
virtual double getEntrance
()const
;
-
virtual double getExit
()const
;
-
virtual Euclid3D getTransform
(double,double)const
;
-
virtual Euclid3D getTransform
(double)const
;
-
virtual Euclid3D getTotalTransform
()const
;
-
virtual Euclid3D getEntranceFrame
()const
;
-
virtual Euclid3D getExitFrame
()const
;
-
virtual Euclid3D getEntrancePatch
()const
;
-
virtual Euclid3D getExitPatch
()const
;
-
virtual double getAttribute
(const string&)const
;
-
virtual bool hasAttribute
(const string&)const
;
-
virtual void removeAttribute
(const string&)
;
-
virtual void setAttribute
(const string&,double)
;
-
virtual Channel* getChannel
(const string&)
;
-
virtual const ConstChannel* getConstChannel
(const string&)const
;
-
virtual ElementImage* getImage
()const
;
-
bool isSharable
()const
;
-
virtual ElementBase* makeAlignWrapper
()
;
-
virtual ElementBase* makeWrappers
()
;
-
virtual ElementBase* removeAlignWrapper
()
;
-
virtual const ElementBase* removeAlignWrapper
()const
;
-
bool update
(const AttributeSet&)
;
-
int addReference
()const
;
-
int removeReference
()const
;
-
bool isShared
()const
;
Documentation:
- Public members:
-
CorrectorWrapper
(Corrector*)
;
- Constructor.
Construct a wrapper for the argument.
The wrapper is not sharable by default.
-
virtual void accept
(BeamlineVisitor&)const
;
- Apply visitor to modified corrector.
-
virtual ElementBase* clone
()const
;
- Make clone.
-
virtual ElementBase* copyStructure
()
;
- Make structural copy.
-
virtual BDipoleField& errorField
()const
;
- Get corrector field error.
This method can be used to get or set the error field. The error field
offset is mutable, so as to allow changing it in a constant structure.
-
virtual const Corrector& getDesign
()const
;
- Get design corrector.
Version for constant object.
-
virtual Corrector& getDesign
()
;
- Get design corrector.
Version for non-constant object.
-
virtual BDipoleField& getField
()
;
- Get corrector field.
Version for non-constant object.
-
virtual const BDipoleField& getField
()const
;
- Get corrector field.
Version for constant object.
-
virtual StraightGeometry& getGeometry
()
;
- Get geometry.
Version for non-constant object.
-
virtual const StraightGeometry& getGeometry
()const
;
- Get geometry.
Version for constant object.
-
virtual Plane getPlane
()const
;
- Get plane of action.
-
virtual const string& getType
()const
;
- Get element type string.
-
virtual ElementBase* makeFieldWrapper
()
;
- Make wrapper for this corrector.
Return this, since this is already a field wrapper.
-
virtual void makeSharable
()
;
- Set sharable flag.
The whole structure depending on this is marked as sharable.
After this call a copyStructure() call reuses the element.
-
virtual ElementBase* removeFieldWrapper
()
;
- Remove field wrapper.
-
virtual const ElementBase* removeFieldWrapper
()const
;
- Remove field wrapper.
-
virtual ElementBase* removeWrappers
()
;
- Remove all wrappers.
-
virtual const ElementBase* removeWrappers
()const
;
- Remove all wrappers.
Documentation generated by fci on Mon Feb 7 11:41:35 2000