gov.sns.xal.smf.attr
Class AlignmentBucket
java.lang.Object
|
+--gov.sns.xal.smf.attr.AttributeBucket
|
+--gov.sns.xal.smf.attr.AlignmentBucket
- All Implemented Interfaces:
- DataListener, java.io.Serializable
- public class AlignmentBucket
- extends AttributeBucket
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]
- See Also:
- Serialized Form
|
Field Summary |
static java.lang.String |
c_strType
|
|
Method Summary |
java.lang.String[] |
getAttrNames()
|
double |
getPitch()
Returns the offset angles |
double |
getRoll()
|
java.lang.String |
getType()
Override virtual to provide type signature |
double |
getX()
Returns the displacement offsets |
double |
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 gov.sns.xal.smf.attr.AttributeBucket |
checkAttribute, dataLabel, getAttr, parseAttrValue, registerAttribute, setAttrValue, setAttrValue, setAttrValue, setAttrValue, setAttrValue, setAttrValue, setAttrValue, setAttrValue, setAttrValue, setAttrValue, update, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
c_strType
public static final java.lang.String c_strType
- See Also:
- Constant Field Values
AlignmentBucket
public AlignmentBucket()
getType
public java.lang.String getType()
- Override virtual to provide type signature
- Specified by:
getType in class AttributeBucket
getAttrNames
public java.lang.String[] getAttrNames()
- Overrides:
getAttrNames in class AttributeBucket
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)