FreeHEP API
Version current

hep.aida.ref.histogram
Class HistUtils

java.lang.Object
  extended byhep.aida.ref.histogram.HistUtils

public abstract class HistUtils
extends Object

Author:
The FreeHEP team @ SLAC.
Source Code:
HistUtils.java

Constructor Summary
HistUtils()
           
 
Method Summary
static double histogramNormalization(hep.aida.IHistogram1D h1)
           
static hep.aida.IHistogram1D toShowableHistogram(hep.aida.ICloud1D cloud, int nBins, double lowerEdge, double upperEdge)
          Create an IHistogram1D and fill it from an ICloud1D.
static hep.aida.IHistogram2D toShowableHistogram(hep.aida.ICloud2D cloud, int nBinsX, double lowerEdgeX, double upperEdgeX, int nBinsY, double lowerEdgeY, double upperEdgeY)
          Create an IHistogram2D and fill it from an ICloud2D.
static hep.aida.IHistogram3D toShowableHistogram(hep.aida.ICloud3D cloud, int nBinsX, double lowerEdgeX, double upperEdgeX, int nBinsY, double lowerEdgeY, double upperEdgeY, int nBinsZ, double lowerEdgeZ, double upperEdgeZ)
          Create an IHistogram3D and fill it from an ICloud3D.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HistUtils

public HistUtils()
Method Detail

toShowableHistogram

public static hep.aida.IHistogram1D toShowableHistogram(hep.aida.ICloud1D cloud,
                                                        int nBins,
                                                        double lowerEdge,
                                                        double upperEdge)
Create an IHistogram1D and fill it from an ICloud1D.


toShowableHistogram

public static hep.aida.IHistogram2D toShowableHistogram(hep.aida.ICloud2D cloud,
                                                        int nBinsX,
                                                        double lowerEdgeX,
                                                        double upperEdgeX,
                                                        int nBinsY,
                                                        double lowerEdgeY,
                                                        double upperEdgeY)
Create an IHistogram2D and fill it from an ICloud2D.


toShowableHistogram

public static hep.aida.IHistogram3D toShowableHistogram(hep.aida.ICloud3D cloud,
                                                        int nBinsX,
                                                        double lowerEdgeX,
                                                        double upperEdgeX,
                                                        int nBinsY,
                                                        double lowerEdgeY,
                                                        double upperEdgeY,
                                                        int nBinsZ,
                                                        double lowerEdgeZ,
                                                        double upperEdgeZ)
Create an IHistogram3D and fill it from an ICloud3D.


histogramNormalization

public static double histogramNormalization(hep.aida.IHistogram1D h1)

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.