cern.hep.aida.ref
Class Converter

java.lang.Object
  extended by cern.hep.aida.ref.Converter

public class Converter
extends Object

Histogram conversions, for example to String and XML format; This class requires the Colt distribution, whereas the rest of the package is entirelly stand-alone.


Constructor Summary
Converter()
          Creates a new histogram converter.
 
Method Summary
 double[] edges(colt.hep.aida.IAxis axis)
          Returns all edges of the given axis.
 String toString(colt.hep.aida.IAxis axis)
          Returns a string representation of the given argument.
 String toString(colt.hep.aida.IHistogram1D h)
          Returns a string representation of the given argument.
 String toString(colt.hep.aida.IHistogram2D h)
          Returns a string representation of the given argument.
 String toString(colt.hep.aida.IHistogram3D h)
          Returns a string representation of the given argument.
 String toXML(colt.hep.aida.IHistogram1D h)
          Returns a XML representation of the given argument.
 String toXML(colt.hep.aida.IHistogram2D h)
          Returns a XML representation of the given argument.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Converter

public Converter()
Creates a new histogram converter.

Method Detail

edges

public double[] edges(colt.hep.aida.IAxis axis)
Returns all edges of the given axis.


toString

public String toString(colt.hep.aida.IAxis axis)
Returns a string representation of the given argument.


toString

public String toString(colt.hep.aida.IHistogram1D h)
Returns a string representation of the given argument.


toString

public String toString(colt.hep.aida.IHistogram2D h)
Returns a string representation of the given argument.


toString

public String toString(colt.hep.aida.IHistogram3D h)
Returns a string representation of the given argument.


toXML

public String toXML(colt.hep.aida.IHistogram1D h)
Returns a XML representation of the given argument.


toXML

public String toXML(colt.hep.aida.IHistogram2D h)
Returns a XML representation of the given argument.



jHepWork 3.0 ©