SctData.ScanPoints Class Reference

This class represents the points in a scan. More...

List of all members.

Public Member Functions

 ScanPoints (float[] points, int[] nEvents, int[] nErrorEvents) throws IllegalArgumentException
 Create a ScanPoints from data that is already known.
 ScanPoints (ScanPoints pts)
int getNPoints ()
double getPoint (int i)
int getNEvents (int i)
int getNErrorEvents (int i)
void addPoint (double point, int nEvents, int nErrorEvents)
boolean ascending ()
IAxis getAxis ()
 Returns an IAxis.
String getClassName ()
void write (OStream s, ObjectManager o) throws java.io.IOException

Static Public Member Functions

static ScanPoints read (IStream s, ObjectManager o) throws java.io.IOException

Private Member Functions

void init (float[] points, int[] nEvents, int[] nErrorEvents) throws IllegalArgumentException

Private Attributes

ArrayList points = new ArrayList()

Classes

class  ScanPoint


Detailed Description

This class represents the points in a scan.

It contains methods to get the number of events, the number of error events and the variable value for each point. There are also some utility methods to get "bin" values for use in setting histogram axes and to set a TAxis directly.

Author:
Matthew Palmer

Definition at line 14 of file ScanPoints.java.


The documentation for this class was generated from the following file:
Generated on Mon Feb 6 14:17:08 2006 for SCT DAQ/DCS Software - Java by  doxygen 1.4.6