class
SBendWrapper
: public SBend
(Return to index)
Representation of a perturbed sectorr bend.
A SBendWrapper represents a unique instance of a bend magnet
in the accelerator model. It defines imperfections of the field,
related to an ``ideal'' magnet contained in the wrapper.
Type: |
Instantiable |
Superclasses: |
public SBend |
Include file: |
./ComponentWrappers/SBendWrapper.hh |
Inheritance
Synopsis (including inherited members):
- Public members:
-
SBendWrapper
(SBend*)
;
-
SBendWrapper
(const SBendWrapper&)
;
-
virtual ~SBendWrapper
()
;
-
virtual void accept
(BeamlineVisitor&)const
;
-
virtual ElementBase* clone
()const
;
-
virtual ElementBase* copyStructure
()
;
-
virtual BMultipoleField& errorField
()const
;
-
virtual void makeSharable
()
;
-
virtual BMultipoleField& getField
()
;
-
virtual const BMultipoleField& getField
()const
;
-
virtual PlanarArcGeometry& getGeometry
()
;
-
virtual const PlanarArcGeometry& getGeometry
()const
;
-
virtual double getB
()const
;
-
virtual double getEntryFaceRotation
()const
;
-
virtual double getExitFaceRotation
()const
;
-
virtual double getEntryFaceCurvature
()const
;
-
virtual double getExitFaceCurvature
()const
;
-
virtual const string& getType
()const
;
-
virtual const SBend& getDesign
()const
;
-
virtual SBend& getDesign
()
;
-
virtual ElementBase* makeFieldWrapper
()
;
-
virtual ElementBase* removeFieldWrapper
()
;
-
virtual const ElementBase* removeFieldWrapper
()const
;
-
virtual ElementBase* removeWrappers
()
;
-
virtual const ElementBase* removeWrappers
()const
;
-
double getNormalComponent
(int)const
;
-
double getSkewComponent
(int)const
;
-
void setNormalComponent
(int,double)
;
-
void setSkewComponent
(int,double)
;
-
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:
-
SBendWrapper
(SBend*)
;
- Constructor.
Constructs a wrapper for its argument.
The wrapper is not sharable by default.
-
virtual void accept
(BeamlineVisitor&)const
;
- Apply visitor to modified bend.
-
virtual ElementBase* clone
()const
;
- Make clone.
-
virtual ElementBase* copyStructure
()
;
- Make structural copy.
-
virtual BMultipoleField& errorField
()const
;
- Get multipole 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 double getB
()const
;
- Get dipole component.
-
virtual const SBend& getDesign
()const
;
- Get design SBend.
Version for constant object.
-
virtual SBend& getDesign
()
;
- Get design SBend.
Version for non-constant object.
-
virtual double getEntryFaceCurvature
()const
;
- Get pole face curvature.
Return the curvature of the entry pole face.
A positive curvature creates a convex pole face.
-
virtual double getEntryFaceRotation
()const
;
- Get pole face rotation.
Return the rotation of the entry pole face with respect to the x-axis.
A positive angle rotates the pole face normal away from the centre
of the machine.
-
virtual double getExitFaceCurvature
()const
;
- Get pole face curvature.
Return the curvature of the exit pole face.
A positive curvature creates a convex pole face.
-
virtual double getExitFaceRotation
()const
;
- Get pole face rotation.
Return the rotation of the exit pole face with respect to the x-axis.
A positive angle rotates the pole face normal away from the centre
of the machine.
-
virtual BMultipoleField& getField
()
;
- Get field.
Return the perturbed field.
Version for non-constant object.
-
virtual const BMultipoleField& getField
()const
;
- Get field.
Return the perturbed field.
Version for constant object.
-
virtual PlanarArcGeometry& getGeometry
()
;
- Get geometry.
Version for non-constant object.
-
virtual const PlanarArcGeometry& getGeometry
()const
;
- Get geometry.
Version for constant object.
-
virtual const string& getType
()const
;
- Get element type string.
-
virtual ElementBase* makeFieldWrapper
()
;
- Make wrapper for this bend.
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:51 2000