gov.sns.xal.tools.orbit
Class BpmRecord

java.lang.Object
  |
  +--gov.sns.xal.tools.orbit.BpmRecord
Direct Known Subclasses:
MutableBpmRecord

public class BpmRecord
extends java.lang.Object

Hold the statistics for bpm measurements. This class is immutable and hence useful for publishing results.


Field Summary
protected  BPM bpm
           
protected  UnivariateStatistics xStats
           
protected  UnivariateStatistics yStats
           
 
Constructor Summary
protected BpmRecord(BPM aBpm)
          Creates new BpmRecord
  BpmRecord(BpmRecord record)
          Creates new BpmRecord
 
Method Summary
 BPM getBpm()
          get the bpm
 java.lang.String name()
          get the bpm name
 java.lang.String toString()
          Print the bpm id and the x and y mean values
 UnivariateStatistics xStats()
          BPM statistics for the x plane
 UnivariateStatistics yStats()
          BPM statistics for the y plane
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

bpm

protected BPM bpm

xStats

protected UnivariateStatistics xStats

yStats

protected UnivariateStatistics yStats
Constructor Detail

BpmRecord

public BpmRecord(BpmRecord record)
Creates new BpmRecord


BpmRecord

protected BpmRecord(BPM aBpm)
Creates new BpmRecord

Method Detail

name

public java.lang.String name()
get the bpm name


getBpm

public BPM getBpm()
get the bpm


xStats

public UnivariateStatistics xStats()
BPM statistics for the x plane


yStats

public UnivariateStatistics yStats()
BPM statistics for the y plane


toString

public java.lang.String toString()
Print the bpm id and the x and y mean values

Overrides:
toString in class java.lang.Object