public class Measurement
extends java.lang.Object
implements java.lang.Cloneable
Data structure containing beam size measurements at a specific beamline location.
| Modifier and Type | Field and Description |
|---|---|
java.lang.Double |
dblSigHor
Horizontal RMS beam size at specified element location
|
java.lang.Double |
dblSigLng
The RMS beam size in the longitudinal direction at the given location
|
java.lang.Double |
dblSigVer
Vertical RMS beam size at given element location
|
java.lang.String |
strDevId
String containing device ID where the RMS beam sizes are located
|
| Constructor and Description |
|---|
Measurement()
Creates a new, empty instance of
Measurement. |
Measurement(java.lang.String strDevId,
double dblSigHor,
double dblSigVer,
double dblSigLng)
Creates a new, initialized instance of
Measurement. |
| Modifier and Type | Method and Description |
|---|---|
Measurement |
clone()
Creates a deep copy of this
Measurement and returns it
according to the Java Cloneable interface convention. |
java.lang.String |
toString()
Returns a string representation of this
measurement value.
|
public java.lang.String strDevId
public java.lang.Double dblSigHor
public java.lang.Double dblSigVer
public java.lang.Double dblSigLng
public Measurement()
Measurement.public Measurement(java.lang.String strDevId,
double dblSigHor,
double dblSigVer,
double dblSigLng)
Measurement.strDevId - device ID of measurement datadblSigHor - horizontal RMS beam sizedblSigVer - vertical RMS beam sizedblSigLng - longitudinal RMS beam sizepublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public Measurement clone()
Measurement and returns it
according to the Java Cloneable interface convention.clone in class java.lang.Objectjava.lang.CloneNotSupportedException - if the object's class does not support the Cloneable
interface. Subclasses that override the clone method can also throw
this exception to indicate that an instance cannot be cloned.