FreeHEP API
Version current

hep.aida.ref.plotter.adapter
Class AIDAProfileAdapter1D

java.lang.Object
  extended byjava.util.Observable
      extended byhep.aida.ref.event.ObserverAdapter
          extended byhep.aida.ref.plotter.adapter.AIDAProfileAdapter
              extended byhep.aida.ref.plotter.adapter.AIDAProfileAdapter1D
All Implemented Interfaces:
AIDAListener, jas.hist.DataSource, jas.hist.HasStatistics, jas.hist.Rebinnable1DHistogramData

public class AIDAProfileAdapter1D
extends AIDAProfileAdapter
implements jas.hist.Rebinnable1DHistogramData, jas.hist.HasStatistics

Version:
$Id: AIDAProfileAdapter1D.java,v 1.5 2005/08/09 22:46:28 serbo Exp $
Author:
manj
Source Code:
AIDAProfileAdapter1D.java

Field Summary
 
Fields inherited from class hep.aida.ref.plotter.adapter.AIDAProfileAdapter
USE_ERROR_ON_MEAN, USE_SPREAD, xAxisType, yAxisType
 
Fields inherited from class hep.aida.ref.event.ObserverAdapter
histo, update
 
Fields inherited from interface jas.hist.DataSource
DATE, DELTATIME, DOUBLE, INTEGER, STRING
 
Method Summary
 String[] getAxisLabels()
           
 int getAxisType()
           
 int getBins()
           
 double getMax()
           
 double getMin()
          Returns the (suggested) minimum value for the X axis
 jas.hist.Statistics getStatistics()
           
 String getTitle()
           
 boolean isRebinnable()
           
 double[][] rebin(int bins, double min, double max, boolean wantErrors, boolean hurry)
           
 void setAxisType(int type)
           
 
Methods inherited from class hep.aida.ref.plotter.adapter.AIDAProfileAdapter
create, setErrorMode
 
Methods inherited from class hep.aida.ref.event.ObserverAdapter
addObserver, clearObservable, deleteObserver, deleteObservers, getObservable, setObservable, setValid, stateChanged
 
Methods inherited from class java.util.Observable
clearChanged, countObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

rebin

public double[][] rebin(int bins,
                        double min,
                        double max,
                        boolean wantErrors,
                        boolean hurry)
Specified by:
rebin in interface jas.hist.Rebinnable1DHistogramData

getMin

public double getMin()
Returns the (suggested) minimum value for the X axis

Specified by:
getMin in interface jas.hist.Rebinnable1DHistogramData

getMax

public double getMax()
Specified by:
getMax in interface jas.hist.Rebinnable1DHistogramData

getBins

public int getBins()
Specified by:
getBins in interface jas.hist.Rebinnable1DHistogramData

isRebinnable

public boolean isRebinnable()
Specified by:
isRebinnable in interface jas.hist.Rebinnable1DHistogramData

getAxisType

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

setAxisType

public void setAxisType(int type)

getAxisLabels

public String[] getAxisLabels()
Specified by:
getAxisLabels in interface jas.hist.Rebinnable1DHistogramData

getTitle

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

getStatistics

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

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.