Package xal.smf.attr
Class DipoleBucket
java.lang.Object
xal.smf.attr.AttributeBucket
xal.smf.attr.MagnetBucket
xal.smf.attr.DipoleBucket
- All Implemented Interfaces:
Serializable,DataListener
- Direct Known Subclasses:
DipoleBucket,DipoleCorrBucket
- Author:
- Juan F. Esteban Müller <JuanF.EstebanMuller@ess.eu>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class xal.smf.attr.AttributeBucket
AttributeBucket.MissingAttributeException -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublereturn the dipole bend angle (in degrees)doublereturn the dipole rotation angle for entrance pole face (in degrees)doublereturn the dipole rotation angle for exit pole face (in degrees)doublereturn the quadrupole component for bend dipoledoublereturn the design path length (in m)getType()Override virtual to provide type signaturevoidsetBendAngle(double dblVal) set the dipole bend angle (in degrees)voidsetDipoleEntrRotAngle(double dblVal) voidsetDipoleExitRotAngle(double dblVal) set the dipole rotation angle for exit pole face (in degrees)voidsetDipoleQuadComponent(double dblVal) set the quadrupole component for bend dipolevoidsetPathLength(double dblVal) set the dipole path length (in m)Methods inherited from class xal.smf.attr.MagnetBucket
getConversionFactor, getDfltField, getEffLength, getNormField, getPolarity, getTangField, getUseCurrentFlag, setConversionFactor, setDfltField, setEffLength, setNormField, setPolarity, setTangField, setUseCurrentFlagMethods inherited from class xal.smf.attr.AttributeBucket
checkAttribute, dataLabel, getAttr, getAttrDescription, getAttrNames, parseAttrValue, registerAttribute, registerAttribute, setAttrValue, setAttrValue, setAttrValue, setAttrValue, setAttrValue, setAttrValue, setAttrValue, setAttrValue, setAttrValue, setAttrValue, update, write
-
Field Details
-
attBendAngle
-
attDipoleEntrRotAngle
-
attDipoleExitRotAngle
-
attDipoleQuadComponent
-
ARR_NAMES
-
-
Constructor Details
-
DipoleBucket
public DipoleBucket()
-
-
Method Details
-
getType
Override virtual to provide type signature- Overrides:
getTypein classMagnetBucket
-
getBendAngle
public double getBendAngle()return the dipole bend angle (in degrees) -
getPathLength
public double getPathLength()return the design path length (in m) -
getDipoleEntrRotAngle
public double getDipoleEntrRotAngle()return the dipole rotation angle for entrance pole face (in degrees) -
getDipoleExitRotAngle
public double getDipoleExitRotAngle()return the dipole rotation angle for exit pole face (in degrees) -
getDipoleQuadComponent
public double getDipoleQuadComponent()return the quadrupole component for bend dipole -
setBendAngle
public void setBendAngle(double dblVal) set the dipole bend angle (in degrees)- Parameters:
dblVal- dipole bend angle in degrees
-
setPathLength
public void setPathLength(double dblVal) set the dipole path length (in m)- Parameters:
dblVal- path length in meters
-
setDipoleEntrRotAngle
public void setDipoleEntrRotAngle(double dblVal) -
setDipoleExitRotAngle
public void setDipoleExitRotAngle(double dblVal) set the dipole rotation angle for exit pole face (in degrees)- Parameters:
dblVal- dipole rotation angle for exit pole face in degrees
-
setDipoleQuadComponent
public void setDipoleQuadComponent(double dblVal) set the quadrupole component for bend dipole- Parameters:
dblVal- quadrupole component for bend dipole
-