Package xal.smf.attr
Class AlignmentBucket
java.lang.Object
xal.smf.attr.AttributeBucket
xal.smf.attr.AlignmentBucket
- All Implemented Interfaces:
Serializable
,DataListener
An attribute set for alignment attributes (x, y, z, pitch, yaw, roll). These
alignments are offsets in the local lattice coordinate system. x is in the
horizontal direction [mm] y is in the vertical direction [mm] z is in the
longitudinal direction along the beam [mm] pitch is the rotation about x
[mrad] yaw is the rotation about y [mrad] roll is the rotation about z [mrad]
- Version:
- 1.1
- Author:
- John Galambos, Nikolay Malitsky, Christopher K. Allen
- 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 TypeMethodDescriptionString[]
double
getPitch()
Returns the offset anglesdouble
getRoll()
getType()
Override virtual to provide type signaturedouble
getX()
Returns the displacement offsetsdouble
getY()
double
getYaw()
double
getZ()
void
setPitch
(double dblVal) void
setRoll
(double dblVal) void
setX
(double dblVal) void
setY
(double dblVal) void
setYaw
(double dblVal) void
setZ
(double dblVal) Methods inherited from class xal.smf.attr.AttributeBucket
checkAttribute, dataLabel, getAttr, getAttrDescription, parseAttrValue, registerAttribute, registerAttribute, setAttrValue, setAttrValue, setAttrValue, setAttrValue, setAttrValue, setAttrValue, setAttrValue, setAttrValue, setAttrValue, setAttrValue, update, write
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
AlignmentBucket
public AlignmentBucket()
-
-
Method Details
-
getType
Override virtual to provide type signature- Specified by:
getType
in classAttributeBucket
-
getAttrNames
- Overrides:
getAttrNames
in classAttributeBucket
-
getX
public double getX()Returns the displacement offsets -
getY
public double getY() -
getZ
public double getZ() -
getPitch
public double getPitch()Returns the offset angles -
getYaw
public double getYaw() -
getRoll
public double getRoll() -
setX
public void setX(double dblVal) -
setY
public void setY(double dblVal) -
setZ
public void setZ(double dblVal) -
setPitch
public void setPitch(double dblVal) -
setYaw
public void setYaw(double dblVal) -
setRoll
public void setRoll(double dblVal)
-