Class BeamScanApplication.Measurement

java.lang.Object
org.scictrl.csshell.epics.server.application.BeamScanApplication.Measurement
Enclosing class:
BeamScanApplication

public final class BeamScanApplication.Measurement extends Object

Measurement stores beam measurement data is na array. Values in array are in this order: posH, posV, sizeH, sizeV, area, power, phase, solenoid, bend. Class itself and fields are final, therefore immutable.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final double
    Beam spot area.
    final double
    Bending magnet electrical current.
    final double
    Klystron phase.
    final double
    Horizontal beam position.
    final double
    Vertical beam position.
    final double
    Klystron power.
    final double
    Horizontal beam size.
    final double
    Vertical beam size.
    final double
    Solenoid magnet electrical current.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates new empty measurement with 0.0 values.
    Measurement(double posH, double posV, double sizeH, double sizeV, double area, double power, double phase, double solenoid, double bend)
    Created new measurement objects, fields are final, therefore immutable.
  • Method Summary

    Modifier and Type
    Method
    Description
    double[]
    Returns values in an array.
    Returns values in a String.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • posH

      public final double posH
      Horizontal beam position.
    • posV

      public final double posV
      Vertical beam position.
    • sizeH

      public final double sizeH
      Horizontal beam size.
    • sizeV

      public final double sizeV
      Vertical beam size.
    • area

      public final double area
      Beam spot area.
    • power

      public final double power
      Klystron power.
    • phase

      public final double phase
      Klystron phase.
    • solenoid

      public final double solenoid
      Solenoid magnet electrical current.
    • bend

      public final double bend
      Bending magnet electrical current.
  • Constructor Details

    • Measurement

      public Measurement(double posH, double posV, double sizeH, double sizeV, double area, double power, double phase, double solenoid, double bend)
      Created new measurement objects, fields are final, therefore immutable.
      Parameters:
      posH - Horizontal beam position.
      posV - Vertical beam position.
      sizeH - Horizontal beam size.
      sizeV - Vertical beam size.
      area - Beam spot area.
      power - Klystron power.
      phase - Klystron phase.
      solenoid - Solenoid magnet electrical current.
      bend - Bending magnet electrical current.
    • Measurement

      public Measurement()
      Creates new empty measurement with 0.0 values.
  • Method Details

    • toArray

      public double[] toArray()
      Returns values in an array.
      Returns:
      values in an array
    • toString

      public String toString()
      Returns values in a String.
      Overrides:
      toString in class Object
      Returns:
      values in a String