FreeHEP API
Version v1.2.2

hep.aida.ref.plotter.adapter
Class AIDADataPointSetAdapter

java.lang.Object
  |
  +--hep.aida.ref.plotter.adapter.AIDADataPointSetAdapter
All Implemented Interfaces:
jas.hist.DataSource, jas.hist.HasStatistics, jas.hist.XYDataSource

public class AIDADataPointSetAdapter
extends Object
implements jas.hist.XYDataSource, jas.hist.HasStatistics

Author:
The AIDA team @ SLAC

Field Summary
 
Fields inherited from interface jas.hist.DataSource
DATE, DELTATIME, DOUBLE, INTEGER, STRING
 
Constructor Summary
protected AIDADataPointSetAdapter(hep.aida.IDataPointSet dps)
           
 
Method Summary
static jas.hist.DataSource create(hep.aida.IDataPointSet dps)
          Create a DataSource from a DataPointSet
 int getAxisType()
           
 double getMinusError(int i)
           
 int getNPoints()
           
 double getPlusError(int i)
           
 jas.hist.Statistics getStatistics()
           
 String getTitle()
           
 double getX(int i)
           
 double getY(int i)
           
 void setAxisType(int type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AIDADataPointSetAdapter

protected AIDADataPointSetAdapter(hep.aida.IDataPointSet dps)
Method Detail

create

public static jas.hist.DataSource create(hep.aida.IDataPointSet dps)
Create a DataSource from a DataPointSet


setAxisType

public void setAxisType(int type)

getAxisType

public int getAxisType()
Specified by:
getAxisType in interface jas.hist.XYDataSource

getMinusError

public double getMinusError(int i)
Specified by:
getMinusError in interface jas.hist.XYDataSource

getPlusError

public double getPlusError(int i)
Specified by:
getPlusError in interface jas.hist.XYDataSource

getX

public double getX(int i)
Specified by:
getX in interface jas.hist.XYDataSource

getY

public double getY(int i)
Specified by:
getY in interface jas.hist.XYDataSource

getNPoints

public int getNPoints()
Specified by:
getNPoints in interface jas.hist.XYDataSource

getStatistics

public jas.hist.Statistics getStatistics()
Specified by:
getStatistics in interface jas.hist.HasStatistics

getTitle

public String getTitle()
Specified by:
getTitle in interface jas.hist.DataSource

FreeHEP API
Version v1.2.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.