FreeHEP API
Version current

hep.aida.ref.histogram
Class HistogramFactory

java.lang.Object
  extended byhep.aida.ref.histogram.HistogramFactory
All Implemented Interfaces:
hep.aida.IHistogramFactory

public class HistogramFactory
extends Object
implements hep.aida.IHistogramFactory

Version:
$Id: HistogramFactory.java,v 1.14 2005/02/14 22:36:30 serbo Exp $
Author:
The AIDA team @ SLAC.
Source Code:
HistogramFactory.java

Constructor Summary
HistogramFactory(hep.aida.ITree tree)
          Create a new HistogramFactory.
HistogramFactory(Tree tree)
          Create a new HistogramFactory.
 
Method Summary
 hep.aida.IHistogram1D add(String path, hep.aida.IHistogram1D a, hep.aida.IHistogram1D b)
          Adds two 1D Histogram
 hep.aida.IHistogram2D add(String path, hep.aida.IHistogram2D a, hep.aida.IHistogram2D b)
          Adds two 2D Histogram
 hep.aida.IHistogram3D add(String path, hep.aida.IHistogram3D a, hep.aida.IHistogram3D b)
          Adds two 3D Histogram
 hep.aida.ICloud1D createCloud1D(String pathAndTitle)
           
 hep.aida.ICloud1D createCloud1D(String path, String title)
           
 hep.aida.ICloud1D createCloud1D(String path, String title, int nMax)
           
 hep.aida.ICloud1D createCloud1D(String path, String title, int nMax, String options)
          Create a Cloud1D, and unbinned 1-dimensional Histogram.
 hep.aida.ICloud2D createCloud2D(String pathAndTitle)
           
 hep.aida.ICloud2D createCloud2D(String path, String title)
           
 hep.aida.ICloud2D createCloud2D(String path, String title, int nMax)
           
 hep.aida.ICloud2D createCloud2D(String path, String title, int nMax, String options)
          Create a Cloud2D, and unbinned 2-dimensional Histogram.
 hep.aida.ICloud3D createCloud3D(String pathAndTitle)
           
 hep.aida.ICloud3D createCloud3D(String path, String title)
           
 hep.aida.ICloud3D createCloud3D(String path, String title, int nMax)
           
 hep.aida.ICloud3D createCloud3D(String path, String title, int nMax, String options)
          Create a Cloud3D, and unbinned 3-dimensional Histogram.
 hep.aida.ICloud1D createCopy(String path, hep.aida.ICloud1D cloud)
           
 hep.aida.ICloud2D createCopy(String path, hep.aida.ICloud2D cloud)
           
 hep.aida.ICloud3D createCopy(String path, hep.aida.ICloud3D cloud)
           
 hep.aida.IHistogram1D createCopy(String path, hep.aida.IHistogram1D hist)
           
 hep.aida.IHistogram2D createCopy(String path, hep.aida.IHistogram2D hist)
           
 hep.aida.IHistogram3D createCopy(String path, hep.aida.IHistogram3D hist)
           
 hep.aida.IProfile1D createCopy(String path, hep.aida.IProfile1D profile)
           
 hep.aida.IProfile2D createCopy(String path, hep.aida.IProfile2D profile)
           
 hep.aida.IHistogram1D createHistogram1D(String pathAndTitle, int nBins, double lowerEdge, double upperEdge)
           
 hep.aida.IHistogram1D createHistogram1D(String path, String title, double[] binEdges)
           
 hep.aida.IHistogram1D createHistogram1D(String path, String title, double[] binEdges, String options)
           
 hep.aida.IHistogram1D createHistogram1D(String path, String title, int nBins, double lowerEdge, double upperEdge)
           
 hep.aida.IHistogram1D createHistogram1D(String path, String title, int nBins, double lowerEdge, double upperEdge, String options)
           
 hep.aida.IHistogram2D createHistogram2D(String pathAndTitle, int nBinsX, double lowerEdgeX, double upperEdgeX, int nBinsY, double lowerEdgeY, double upperEdgeY)
           
 hep.aida.IHistogram2D createHistogram2D(String path, String title, double[] binEdgesX, double[] binEdgesY)
           
 hep.aida.IHistogram2D createHistogram2D(String path, String title, double[] binEdgesX, double[] binEdgesY, String options)
           
 hep.aida.IHistogram2D createHistogram2D(String path, String title, int nBinsX, double lowerEdgeX, double upperEdgeX, int nBinsY, double lowerEdgeY, double upperEdgeY)
           
 hep.aida.IHistogram2D createHistogram2D(String path, String title, int nBinsX, double lowerEdgeX, double upperEdgeX, int nBinsY, double lowerEdgeY, double upperEdgeY, String options)
          Create a IHistogram2D.
 hep.aida.IHistogram3D createHistogram3D(String pathAndTitle, int nBinsX, double lowerEdgeX, double upperEdgeX, int nBinsY, double lowerEdgeY, double upperEdgeY, int nBinsZ, double lowerEdgeZ, double upperEdgeZ)
           
 hep.aida.IHistogram3D createHistogram3D(String path, String title, double[] binEdgesX, double[] binEdgesY, double[] binEdgesZ)
           
 hep.aida.IHistogram3D createHistogram3D(String path, String title, double[] binEdgesX, double[] binEdgesY, double[] binEdgesZ, String options)
           
 hep.aida.IHistogram3D createHistogram3D(String path, String title, int nBinsX, double lowerEdgeX, double upperEdgeX, int nBinsY, double lowerEdgeY, double upperEdgeY, int nBinsZ, double lowerEdgeZ, double upperEdgeZ)
           
 hep.aida.IHistogram3D createHistogram3D(String path, String title, int nBinsX, double lowerEdgeX, double upperEdgeX, int nBinsY, double lowerEdgeY, double upperEdgeY, int nBinsZ, double lowerEdgeZ, double upperEdgeZ, String options)
          Create a IHistogram3D.
 hep.aida.IProfile1D createProfile1D(String pathAndTitle, int nBins, double lowerEdge, double upperEdge)
           
 hep.aida.IProfile1D createProfile1D(String pathAndTitle, int nBins, double lowerEdge, double upperEdge, double lowerValue, double upperValue)
           
 hep.aida.IProfile1D createProfile1D(String path, String title, double[] binEdges)
           
 hep.aida.IProfile1D createProfile1D(String path, String title, double[] binEdges, double lowerValue, double upperValue)
           
 hep.aida.IProfile1D createProfile1D(String path, String title, double[] binEdges, double lowerValue, double upperValue, String options)
           
 hep.aida.IProfile1D createProfile1D(String path, String title, double[] binEdges, String options)
           
 hep.aida.IProfile1D createProfile1D(String path, String title, int nBins, double lowerEdge, double upperEdge)
           
 hep.aida.IProfile1D createProfile1D(String path, String title, int nBins, double lowerEdge, double upperEdge, double lowerValue, double upperValue)
           
 hep.aida.IProfile1D createProfile1D(String path, String title, int nBins, double lowerEdge, double upperEdge, double lowerValue, double upperValue, String options)
           
 hep.aida.IProfile1D createProfile1D(String path, String title, int nBins, double lowerEdge, double upperEdge, String options)
          Create a IProfile1D.
 hep.aida.IProfile2D createProfile2D(String pathAndTitle, int nBinsX, double lowerEdgeX, double upperEdgeX, int nBinsY, double lowerEdgeY, double upperEdgeY)
           
 hep.aida.IProfile2D createProfile2D(String pathAndTitle, int nBinsX, double lowerEdgeX, double upperEdgeX, int nBinsY, double lowerEdgeY, double upperEdgeY, double lowerValue, double upperValue)
           
 hep.aida.IProfile2D createProfile2D(String path, String title, double[] binEdgesX, double[] binEdgesY)
           
 hep.aida.IProfile2D createProfile2D(String path, String title, double[] binEdgesX, double[] binEdgesY, double lowerValue, double upperValue)
           
 hep.aida.IProfile2D createProfile2D(String path, String title, double[] binEdgesX, double[] binEdgesY, double lowerValue, double upperValue, String options)
           
 hep.aida.IProfile2D createProfile2D(String path, String title, double[] binEdgesX, double[] binEdgesY, String options)
           
 hep.aida.IProfile2D createProfile2D(String path, String title, int nBinsX, double lowerEdgeX, double upperEdgeX, int nBinsY, double lowerEdgeY, double upperEdgeY)
           
 hep.aida.IProfile2D createProfile2D(String path, String title, int nBinsX, double lowerEdgeX, double upperEdgeX, int nBinsY, double lowerEdgeY, double upperEdgeY, double lowerValue, double upperValue)
           
 hep.aida.IProfile2D createProfile2D(String path, String title, int nBinsX, double lowerEdgeX, double upperEdgeX, int nBinsY, double lowerEdgeY, double upperEdgeY, double lowerValue, double upperValue, String options)
           
 hep.aida.IProfile2D createProfile2D(String path, String title, int nBinsX, double lowerEdgeX, double upperEdgeX, int nBinsY, double lowerEdgeY, double upperEdgeY, String options)
          Create a IProfile2D.
 void destroy(hep.aida.IBaseHistogram hist)
          Destroy an IBaseHistogram ogject.
 hep.aida.IHistogram1D divide(String path, hep.aida.IHistogram1D a, hep.aida.IHistogram1D b)
          Divides two 1D Histogram
 hep.aida.IHistogram2D divide(String path, hep.aida.IHistogram2D a, hep.aida.IHistogram2D b)
          Divides two 2D Histogram
 hep.aida.IHistogram3D divide(String path, hep.aida.IHistogram3D a, hep.aida.IHistogram3D b)
          Divides two 3D Histogram
 hep.aida.IHistogram1D multiply(String path, hep.aida.IHistogram1D a, hep.aida.IHistogram1D b)
          Multiplies two 1D Histogram
 hep.aida.IHistogram2D multiply(String path, hep.aida.IHistogram2D a, hep.aida.IHistogram2D b)
          Multiplies two 2D Histogram
 hep.aida.IHistogram3D multiply(String path, hep.aida.IHistogram3D a, hep.aida.IHistogram3D b)
          Multiplies two 3D Histogram
 hep.aida.IHistogram1D projectionX(String path, hep.aida.IHistogram2D h)
          Create a projection from a 2D histogram parallel to the X axis.
 hep.aida.IHistogram2D projectionXY(String path, hep.aida.IHistogram3D h)
          Create a projection parallel to the X axis from a 3D histogram.
 hep.aida.IHistogram2D projectionXZ(String path, hep.aida.IHistogram3D h)
          Create a projection parallel to the Z axis from a 3D histogram.
 hep.aida.IHistogram1D projectionY(String path, hep.aida.IHistogram2D h)
          Create a projection from a 2D histogram parallel to the Y axis.
 hep.aida.IHistogram2D projectionYZ(String path, hep.aida.IHistogram3D h)
          Create a projection parallel to the Y axis from a 3D histogram.
 hep.aida.IHistogram1D sliceX(String path, hep.aida.IHistogram2D h, int indexY)
          Slice parallel to the Y axis from a 2D histogram at bin indexY and one bin wide.
 hep.aida.IHistogram1D sliceX(String path, hep.aida.IHistogram2D h, int indexY1, int indexY2)
          Create a slice parallel to the X axis from a 2D histogram, between "indexY1" and "indexY2" (inclusive).
 hep.aida.IHistogram2D sliceXY(String path, hep.aida.IHistogram3D h, int indexZ1, int indexZ2)
          Create a slice perpendicular to the Z axis from a 3D histogram, between "indexZ1" and "indexZ2" (inclusive).
 hep.aida.IHistogram2D sliceXZ(String path, hep.aida.IHistogram3D h, int indexY1, int indexY2)
          Create a slice perpendicular to the Y axis from a 3D histogram, between "indexY1" and "indexY2" (inclusive).
 hep.aida.IHistogram1D sliceY(String path, hep.aida.IHistogram2D h, int indexX)
          Slice parallel to the X axis from a 2D histogram at bin indexX and one bin wide.
 hep.aida.IHistogram1D sliceY(String path, hep.aida.IHistogram2D h, int indexX1, int indexX2)
          Create a slice parallel to the Y axis from a 2D histogram, between "indexX1" and "indexX2" (inclusive).
 hep.aida.IHistogram2D sliceYZ(String path, hep.aida.IHistogram3D h, int indexX1, int indexX2)
          Create a slice perpendicular to the X axis from a 3D histogram, between "indexX1" and "indexX2" (inclusive).
 hep.aida.IHistogram1D subtract(String path, hep.aida.IHistogram1D a, hep.aida.IHistogram1D b)
          Subtracts two 1D Histogram
 hep.aida.IHistogram2D subtract(String path, hep.aida.IHistogram2D a, hep.aida.IHistogram2D b)
          Subtracts two 2D Histogram
 hep.aida.IHistogram3D subtract(String path, hep.aida.IHistogram3D a, hep.aida.IHistogram3D b)
          Subtracts two 3D Histogram
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HistogramFactory

public HistogramFactory(hep.aida.ITree tree)
Create a new HistogramFactory. This constructor is used by AnalysisFactory, the Master Factory.

Parameters:
tree - the ITree where the histogram is added.

HistogramFactory

public HistogramFactory(Tree tree)
Create a new HistogramFactory. This constructor is used by AnalysisFactory, the Master Factory.

Parameters:
tree - the Tree where the histogram is added.
Method Detail

destroy

public void destroy(hep.aida.IBaseHistogram hist)
             throws IllegalArgumentException
Destroy an IBaseHistogram ogject.

Specified by:
destroy in interface hep.aida.IHistogramFactory
Throws:
IllegalArgumentException

createCloud1D

public hep.aida.ICloud1D createCloud1D(String path,
                                       String title,
                                       int nMax,
                                       String options)
Create a Cloud1D, and unbinned 1-dimensional Histogram.

Specified by:
createCloud1D in interface hep.aida.IHistogramFactory
Parameters:
path - The path of the Cloud1D.
title - The title of the Cloud1D.
nMax - The maximum number of entries after which the Cloud1D will convert to an Histogram1D. If nMax = -1 then the Cloud1D will not convert automatically to an Histogram1D.
options - The options for creating a Cloud1D.

createCloud1D

public hep.aida.ICloud1D createCloud1D(String path,
                                       String title,
                                       int nMax)
Specified by:
createCloud1D in interface hep.aida.IHistogramFactory

createCloud1D

public hep.aida.ICloud1D createCloud1D(String path,
                                       String title)
Specified by:
createCloud1D in interface hep.aida.IHistogramFactory

createCloud1D

public hep.aida.ICloud1D createCloud1D(String pathAndTitle)
Specified by:
createCloud1D in interface hep.aida.IHistogramFactory

createCopy

public hep.aida.ICloud1D createCopy(String path,
                                    hep.aida.ICloud1D cloud)
Specified by:
createCopy in interface hep.aida.IHistogramFactory

createCloud2D

public hep.aida.ICloud2D createCloud2D(String path,
                                       String title,
                                       int nMax,
                                       String options)
Create a Cloud2D, and unbinned 2-dimensional Histogram.

Specified by:
createCloud2D in interface hep.aida.IHistogramFactory
Parameters:
path - The path of the Cloud2D.
title - The title of the Cloud2D.
nMax - The maximum number of entries after which the Cloud2D will convert to an Histogram2D. If nMax = -1 then the Cloud2D will not convert automatically to an Histogram2D.
options - The options for creating a Cloud2D.

createCloud2D

public hep.aida.ICloud2D createCloud2D(String path,
                                       String title,
                                       int nMax)
Specified by:
createCloud2D in interface hep.aida.IHistogramFactory

createCloud2D

public hep.aida.ICloud2D createCloud2D(String path,
                                       String title)
Specified by:
createCloud2D in interface hep.aida.IHistogramFactory

createCloud2D

public hep.aida.ICloud2D createCloud2D(String pathAndTitle)
Specified by:
createCloud2D in interface hep.aida.IHistogramFactory

createCopy

public hep.aida.ICloud2D createCopy(String path,
                                    hep.aida.ICloud2D cloud)
Specified by:
createCopy in interface hep.aida.IHistogramFactory

createCloud3D

public hep.aida.ICloud3D createCloud3D(String path,
                                       String title,
                                       int nMax,
                                       String options)
Create a Cloud3D, and unbinned 3-dimensional Histogram.

Specified by:
createCloud3D in interface hep.aida.IHistogramFactory
Parameters:
path - The path of the Cloud3D.
title - The title of the Cloud3D.
nMax - The maximum number of entries after which the Cloud3D will convert to an Histogram3D. If nMax = -1 then the Cloud3D will not convert automatically to an Histogram3D.
options - The options for creating a Cloud3D.

createCloud3D

public hep.aida.ICloud3D createCloud3D(String path,
                                       String title,
                                       int nMax)
Specified by:
createCloud3D in interface hep.aida.IHistogramFactory

createCloud3D

public hep.aida.ICloud3D createCloud3D(String path,
                                       String title)
Specified by:
createCloud3D in interface hep.aida.IHistogramFactory

createCloud3D

public hep.aida.ICloud3D createCloud3D(String pathAndTitle)
Specified by:
createCloud3D in interface hep.aida.IHistogramFactory

createCopy

public hep.aida.ICloud3D createCopy(String path,
                                    hep.aida.ICloud3D cloud)
Specified by:
createCopy in interface hep.aida.IHistogramFactory

createHistogram1D

public hep.aida.IHistogram1D createHistogram1D(String path,
                                               String title,
                                               int nBins,
                                               double lowerEdge,
                                               double upperEdge,
                                               String options)
Specified by:
createHistogram1D in interface hep.aida.IHistogramFactory

createHistogram1D

public hep.aida.IHistogram1D createHistogram1D(String path,
                                               String title,
                                               int nBins,
                                               double lowerEdge,
                                               double upperEdge)
Specified by:
createHistogram1D in interface hep.aida.IHistogramFactory

createHistogram1D

public hep.aida.IHistogram1D createHistogram1D(String pathAndTitle,
                                               int nBins,
                                               double lowerEdge,
                                               double upperEdge)
Specified by:
createHistogram1D in interface hep.aida.IHistogramFactory

createHistogram1D

public hep.aida.IHistogram1D createHistogram1D(String path,
                                               String title,
                                               double[] binEdges,
                                               String options)
Specified by:
createHistogram1D in interface hep.aida.IHistogramFactory

createHistogram1D

public hep.aida.IHistogram1D createHistogram1D(String path,
                                               String title,
                                               double[] binEdges)
Specified by:
createHistogram1D in interface hep.aida.IHistogramFactory

createCopy

public hep.aida.IHistogram1D createCopy(String path,
                                        hep.aida.IHistogram1D hist)
Specified by:
createCopy in interface hep.aida.IHistogramFactory

createHistogram2D

public hep.aida.IHistogram2D createHistogram2D(String path,
                                               String title,
                                               int nBinsX,
                                               double lowerEdgeX,
                                               double upperEdgeX,
                                               int nBinsY,
                                               double lowerEdgeY,
                                               double upperEdgeY,
                                               String options)
Create a IHistogram2D.

Specified by:
createHistogram2D in interface hep.aida.IHistogramFactory

createHistogram2D

public hep.aida.IHistogram2D createHistogram2D(String path,
                                               String title,
                                               int nBinsX,
                                               double lowerEdgeX,
                                               double upperEdgeX,
                                               int nBinsY,
                                               double lowerEdgeY,
                                               double upperEdgeY)
Specified by:
createHistogram2D in interface hep.aida.IHistogramFactory

createHistogram2D

public hep.aida.IHistogram2D createHistogram2D(String pathAndTitle,
                                               int nBinsX,
                                               double lowerEdgeX,
                                               double upperEdgeX,
                                               int nBinsY,
                                               double lowerEdgeY,
                                               double upperEdgeY)
Specified by:
createHistogram2D in interface hep.aida.IHistogramFactory

createHistogram2D

public hep.aida.IHistogram2D createHistogram2D(String path,
                                               String title,
                                               double[] binEdgesX,
                                               double[] binEdgesY,
                                               String options)
Specified by:
createHistogram2D in interface hep.aida.IHistogramFactory

createHistogram2D

public hep.aida.IHistogram2D createHistogram2D(String path,
                                               String title,
                                               double[] binEdgesX,
                                               double[] binEdgesY)
Specified by:
createHistogram2D in interface hep.aida.IHistogramFactory

createCopy

public hep.aida.IHistogram2D createCopy(String path,
                                        hep.aida.IHistogram2D hist)
Specified by:
createCopy in interface hep.aida.IHistogramFactory

createHistogram3D

public hep.aida.IHistogram3D createHistogram3D(String path,
                                               String title,
                                               int nBinsX,
                                               double lowerEdgeX,
                                               double upperEdgeX,
                                               int nBinsY,
                                               double lowerEdgeY,
                                               double upperEdgeY,
                                               int nBinsZ,
                                               double lowerEdgeZ,
                                               double upperEdgeZ,
                                               String options)
Create a IHistogram3D.

Specified by:
createHistogram3D in interface hep.aida.IHistogramFactory

createHistogram3D

public hep.aida.IHistogram3D createHistogram3D(String path,
                                               String title,
                                               int nBinsX,
                                               double lowerEdgeX,
                                               double upperEdgeX,
                                               int nBinsY,
                                               double lowerEdgeY,
                                               double upperEdgeY,
                                               int nBinsZ,
                                               double lowerEdgeZ,
                                               double upperEdgeZ)
Specified by:
createHistogram3D in interface hep.aida.IHistogramFactory

createHistogram3D

public hep.aida.IHistogram3D createHistogram3D(String pathAndTitle,
                                               int nBinsX,
                                               double lowerEdgeX,
                                               double upperEdgeX,
                                               int nBinsY,
                                               double lowerEdgeY,
                                               double upperEdgeY,
                                               int nBinsZ,
                                               double lowerEdgeZ,
                                               double upperEdgeZ)
Specified by:
createHistogram3D in interface hep.aida.IHistogramFactory

createHistogram3D

public hep.aida.IHistogram3D createHistogram3D(String path,
                                               String title,
                                               double[] binEdgesX,
                                               double[] binEdgesY,
                                               double[] binEdgesZ,
                                               String options)
Specified by:
createHistogram3D in interface hep.aida.IHistogramFactory

createHistogram3D

public hep.aida.IHistogram3D createHistogram3D(String path,
                                               String title,
                                               double[] binEdgesX,
                                               double[] binEdgesY,
                                               double[] binEdgesZ)
Specified by:
createHistogram3D in interface hep.aida.IHistogramFactory

createCopy

public hep.aida.IHistogram3D createCopy(String path,
                                        hep.aida.IHistogram3D hist)
Specified by:
createCopy in interface hep.aida.IHistogramFactory

createProfile1D

public hep.aida.IProfile1D createProfile1D(String path,
                                           String title,
                                           int nBins,
                                           double lowerEdge,
                                           double upperEdge,
                                           String options)
Create a IProfile1D.

Specified by:
createProfile1D in interface hep.aida.IHistogramFactory

createProfile1D

public hep.aida.IProfile1D createProfile1D(String path,
                                           String title,
                                           int nBins,
                                           double lowerEdge,
                                           double upperEdge)
Specified by:
createProfile1D in interface hep.aida.IHistogramFactory

createProfile1D

public hep.aida.IProfile1D createProfile1D(String path,
                                           String title,
                                           int nBins,
                                           double lowerEdge,
                                           double upperEdge,
                                           double lowerValue,
                                           double upperValue,
                                           String options)
Specified by:
createProfile1D in interface hep.aida.IHistogramFactory

createProfile1D

public hep.aida.IProfile1D createProfile1D(String path,
                                           String title,
                                           int nBins,
                                           double lowerEdge,
                                           double upperEdge,
                                           double lowerValue,
                                           double upperValue)
Specified by:
createProfile1D in interface hep.aida.IHistogramFactory

createProfile1D

public hep.aida.IProfile1D createProfile1D(String pathAndTitle,
                                           int nBins,
                                           double lowerEdge,
                                           double upperEdge)
Specified by:
createProfile1D in interface hep.aida.IHistogramFactory

createProfile1D

public hep.aida.IProfile1D createProfile1D(String pathAndTitle,
                                           int nBins,
                                           double lowerEdge,
                                           double upperEdge,
                                           double lowerValue,
                                           double upperValue)
Specified by:
createProfile1D in interface hep.aida.IHistogramFactory

createProfile1D

public hep.aida.IProfile1D createProfile1D(String path,
                                           String title,
                                           double[] binEdges,
                                           String options)
Specified by:
createProfile1D in interface hep.aida.IHistogramFactory

createProfile1D

public hep.aida.IProfile1D createProfile1D(String path,
                                           String title,
                                           double[] binEdges)
Specified by:
createProfile1D in interface hep.aida.IHistogramFactory

createProfile1D

public hep.aida.IProfile1D createProfile1D(String path,
                                           String title,
                                           double[] binEdges,
                                           double lowerValue,
                                           double upperValue,
                                           String options)
Specified by:
createProfile1D in interface hep.aida.IHistogramFactory

createProfile1D

public hep.aida.IProfile1D createProfile1D(String path,
                                           String title,
                                           double[] binEdges,
                                           double lowerValue,
                                           double upperValue)
Specified by:
createProfile1D in interface hep.aida.IHistogramFactory

createCopy

public hep.aida.IProfile1D createCopy(String path,
                                      hep.aida.IProfile1D profile)
Specified by:
createCopy in interface hep.aida.IHistogramFactory

createProfile2D

public hep.aida.IProfile2D createProfile2D(String path,
                                           String title,
                                           int nBinsX,
                                           double lowerEdgeX,
                                           double upperEdgeX,
                                           int nBinsY,
                                           double lowerEdgeY,
                                           double upperEdgeY,
                                           String options)
Create a IProfile2D.

Specified by:
createProfile2D in interface hep.aida.IHistogramFactory

createProfile2D

public hep.aida.IProfile2D createProfile2D(String path,
                                           String title,
                                           int nBinsX,
                                           double lowerEdgeX,
                                           double upperEdgeX,
                                           int nBinsY,
                                           double lowerEdgeY,
                                           double upperEdgeY)
Specified by:
createProfile2D in interface hep.aida.IHistogramFactory

createProfile2D

public hep.aida.IProfile2D createProfile2D(String path,
                                           String title,
                                           int nBinsX,
                                           double lowerEdgeX,
                                           double upperEdgeX,
                                           int nBinsY,
                                           double lowerEdgeY,
                                           double upperEdgeY,
                                           double lowerValue,
                                           double upperValue,
                                           String options)
Specified by:
createProfile2D in interface hep.aida.IHistogramFactory

createProfile2D

public hep.aida.IProfile2D createProfile2D(String path,
                                           String title,
                                           int nBinsX,
                                           double lowerEdgeX,
                                           double upperEdgeX,
                                           int nBinsY,
                                           double lowerEdgeY,
                                           double upperEdgeY,
                                           double lowerValue,
                                           double upperValue)
Specified by:
createProfile2D in interface hep.aida.IHistogramFactory

createProfile2D

public hep.aida.IProfile2D createProfile2D(String pathAndTitle,
                                           int nBinsX,
                                           double lowerEdgeX,
                                           double upperEdgeX,
                                           int nBinsY,
                                           double lowerEdgeY,
                                           double upperEdgeY)
Specified by:
createProfile2D in interface hep.aida.IHistogramFactory

createProfile2D

public hep.aida.IProfile2D createProfile2D(String pathAndTitle,
                                           int nBinsX,
                                           double lowerEdgeX,
                                           double upperEdgeX,
                                           int nBinsY,
                                           double lowerEdgeY,
                                           double upperEdgeY,
                                           double lowerValue,
                                           double upperValue)
Specified by:
createProfile2D in interface hep.aida.IHistogramFactory

createProfile2D

public hep.aida.IProfile2D createProfile2D(String path,
                                           String title,
                                           double[] binEdgesX,
                                           double[] binEdgesY,
                                           String options)
Specified by:
createProfile2D in interface hep.aida.IHistogramFactory

createProfile2D

public hep.aida.IProfile2D createProfile2D(String path,
                                           String title,
                                           double[] binEdgesX,
                                           double[] binEdgesY)
Specified by:
createProfile2D in interface hep.aida.IHistogramFactory

createProfile2D

public hep.aida.IProfile2D createProfile2D(String path,
                                           String title,
                                           double[] binEdgesX,
                                           double[] binEdgesY,
                                           double lowerValue,
                                           double upperValue,
                                           String options)
Specified by:
createProfile2D in interface hep.aida.IHistogramFactory

createProfile2D

public hep.aida.IProfile2D createProfile2D(String path,
                                           String title,
                                           double[] binEdgesX,
                                           double[] binEdgesY,
                                           double lowerValue,
                                           double upperValue)
Specified by:
createProfile2D in interface hep.aida.IHistogramFactory

createCopy

public hep.aida.IProfile2D createCopy(String path,
                                      hep.aida.IProfile2D profile)
Specified by:
createCopy in interface hep.aida.IHistogramFactory

add

public hep.aida.IHistogram1D add(String path,
                                 hep.aida.IHistogram1D a,
                                 hep.aida.IHistogram1D b)
                          throws IllegalArgumentException
Adds two 1D Histogram

Specified by:
add in interface hep.aida.IHistogramFactory
Returns:
a+b
Throws:
IllegalArgumentException - if histogram binnings are incompatible

subtract

public hep.aida.IHistogram1D subtract(String path,
                                      hep.aida.IHistogram1D a,
                                      hep.aida.IHistogram1D b)
                               throws IllegalArgumentException
Subtracts two 1D Histogram

Specified by:
subtract in interface hep.aida.IHistogramFactory
Returns:
a-b
Throws:
IllegalArgumentException - if histogram binnings are incompatible

multiply

public hep.aida.IHistogram1D multiply(String path,
                                      hep.aida.IHistogram1D a,
                                      hep.aida.IHistogram1D b)
                               throws IllegalArgumentException
Multiplies two 1D Histogram

Specified by:
multiply in interface hep.aida.IHistogramFactory
Returns:
a*b
Throws:
IllegalArgumentException - if histogram binnings are incompatible

divide

public hep.aida.IHistogram1D divide(String path,
                                    hep.aida.IHistogram1D a,
                                    hep.aida.IHistogram1D b)
                             throws IllegalArgumentException
Divides two 1D Histogram

Specified by:
divide in interface hep.aida.IHistogramFactory
Returns:
a/b
Throws:
IllegalArgumentException - if histogram binnings are incompatible

add

public hep.aida.IHistogram2D add(String path,
                                 hep.aida.IHistogram2D a,
                                 hep.aida.IHistogram2D b)
                          throws IllegalArgumentException
Adds two 2D Histogram

Specified by:
add in interface hep.aida.IHistogramFactory
Returns:
a+b
Throws:
IllegalArgumentException - if histogram binnings are incompatible

subtract

public hep.aida.IHistogram2D subtract(String path,
                                      hep.aida.IHistogram2D a,
                                      hep.aida.IHistogram2D b)
                               throws IllegalArgumentException
Subtracts two 2D Histogram

Specified by:
subtract in interface hep.aida.IHistogramFactory
Returns:
a-b
Throws:
IllegalArgumentException - if histogram binnings are incompatible

multiply

public hep.aida.IHistogram2D multiply(String path,
                                      hep.aida.IHistogram2D a,
                                      hep.aida.IHistogram2D b)
                               throws IllegalArgumentException
Multiplies two 2D Histogram

Specified by:
multiply in interface hep.aida.IHistogramFactory
Returns:
a*b
Throws:
IllegalArgumentException - if histogram binnings are incompatible

divide

public hep.aida.IHistogram2D divide(String path,
                                    hep.aida.IHistogram2D a,
                                    hep.aida.IHistogram2D b)
                             throws IllegalArgumentException
Divides two 2D Histogram

Specified by:
divide in interface hep.aida.IHistogramFactory
Returns:
a/b
Throws:
IllegalArgumentException - if histogram binnings are incompatible

add

public hep.aida.IHistogram3D add(String path,
                                 hep.aida.IHistogram3D a,
                                 hep.aida.IHistogram3D b)
                          throws IllegalArgumentException
Adds two 3D Histogram

Specified by:
add in interface hep.aida.IHistogramFactory
Returns:
a+b
Throws:
IllegalArgumentException - if histogram binnings are incompatible

subtract

public hep.aida.IHistogram3D subtract(String path,
                                      hep.aida.IHistogram3D a,
                                      hep.aida.IHistogram3D b)
                               throws IllegalArgumentException
Subtracts two 3D Histogram

Specified by:
subtract in interface hep.aida.IHistogramFactory
Returns:
a-b
Throws:
IllegalArgumentException - if histogram binnings are incompatible

multiply

public hep.aida.IHistogram3D multiply(String path,
                                      hep.aida.IHistogram3D a,
                                      hep.aida.IHistogram3D b)
                               throws IllegalArgumentException
Multiplies two 3D Histogram

Specified by:
multiply in interface hep.aida.IHistogramFactory
Returns:
a*b
Throws:
IllegalArgumentException - if histogram binnings are incompatible

divide

public hep.aida.IHistogram3D divide(String path,
                                    hep.aida.IHistogram3D a,
                                    hep.aida.IHistogram3D b)
                             throws IllegalArgumentException
Divides two 3D Histogram

Specified by:
divide in interface hep.aida.IHistogramFactory
Returns:
a/b
Throws:
IllegalArgumentException - if histogram binnings are incompatible

projectionX

public hep.aida.IHistogram1D projectionX(String path,
                                         hep.aida.IHistogram2D h)
Create a projection from a 2D histogram parallel to the X axis. Equivalent to sliceX(UNDERFLOW_BIN,OVERFLOW_BIN).

Specified by:
projectionX in interface hep.aida.IHistogramFactory

projectionY

public hep.aida.IHistogram1D projectionY(String path,
                                         hep.aida.IHistogram2D h)
Create a projection from a 2D histogram parallel to the Y axis. Equivalent to sliceY(UNDERFLOW_BIN,OVERFLOW_BIN).

Specified by:
projectionY in interface hep.aida.IHistogramFactory

sliceX

public hep.aida.IHistogram1D sliceX(String path,
                                    hep.aida.IHistogram2D h,
                                    int indexY)
Slice parallel to the Y axis from a 2D histogram at bin indexY and one bin wide. Equivalent to sliceX(indexY,indexY).

Specified by:
sliceX in interface hep.aida.IHistogramFactory

sliceY

public hep.aida.IHistogram1D sliceY(String path,
                                    hep.aida.IHistogram2D h,
                                    int indexX)
Slice parallel to the X axis from a 2D histogram at bin indexX and one bin wide. Equivalent to sliceY(indexX,indexX).

Specified by:
sliceY in interface hep.aida.IHistogramFactory

sliceX

public hep.aida.IHistogram1D sliceX(String path,
                                    hep.aida.IHistogram2D h,
                                    int indexY1,
                                    int indexY2)
Create a slice parallel to the X axis from a 2D histogram, between "indexY1" and "indexY2" (inclusive). The returned IHistogram1D represents an instantaneous snapshot of the histogram at the time the slice was created.

Specified by:
sliceX in interface hep.aida.IHistogramFactory

sliceY

public hep.aida.IHistogram1D sliceY(String path,
                                    hep.aida.IHistogram2D h,
                                    int indexX1,
                                    int indexX2)
Create a slice parallel to the Y axis from a 2D histogram, between "indexX1" and "indexX2" (inclusive). The returned IHistogram1D represents an instantaneous snapshot of the histogram at the time the slice was created.

Specified by:
sliceY in interface hep.aida.IHistogramFactory

projectionXY

public hep.aida.IHistogram2D projectionXY(String path,
                                          hep.aida.IHistogram3D h)
Create a projection parallel to the X axis from a 3D histogram. Equivalent to sliceXY(UNDERFLOW_BIN,OVERFLOW_BIN).

Specified by:
projectionXY in interface hep.aida.IHistogramFactory

projectionXZ

public hep.aida.IHistogram2D projectionXZ(String path,
                                          hep.aida.IHistogram3D h)
Create a projection parallel to the Z axis from a 3D histogram. Equivalent to sliceXZ(UNDERFLOW_BIN,OVERFLOW_BIN).

Specified by:
projectionXZ in interface hep.aida.IHistogramFactory

projectionYZ

public hep.aida.IHistogram2D projectionYZ(String path,
                                          hep.aida.IHistogram3D h)
Create a projection parallel to the Y axis from a 3D histogram. Equivalent to sliceYZ(UNDERFLOW_BIN,OVERFLOW_BIN).

Specified by:
projectionYZ in interface hep.aida.IHistogramFactory

sliceXY

public hep.aida.IHistogram2D sliceXY(String path,
                                     hep.aida.IHistogram3D h,
                                     int indexZ1,
                                     int indexZ2)
Create a slice perpendicular to the Z axis from a 3D histogram, between "indexZ1" and "indexZ2" (inclusive). The returned IHistogram2D represents an instantaneous snapshot of the histogram at the time the slice was created. The X axis of the returned histogram corresponds to the X axis of this histogram. The Y axis of the returned histogram corresponds to the Y axis of this histogram.

Specified by:
sliceXY in interface hep.aida.IHistogramFactory

sliceXZ

public hep.aida.IHistogram2D sliceXZ(String path,
                                     hep.aida.IHistogram3D h,
                                     int indexY1,
                                     int indexY2)
Create a slice perpendicular to the Y axis from a 3D histogram, between "indexY1" and "indexY2" (inclusive). The returned IHistogram2D represents an instantaneous snapshot of the histogram at the time the slice was created. The X axis of the returned histogram corresponds to the X axis of this histogram. The Y axis of the returned histogram corresponds to the Z axis of this histogram.

Specified by:
sliceXZ in interface hep.aida.IHistogramFactory

sliceYZ

public hep.aida.IHistogram2D sliceYZ(String path,
                                     hep.aida.IHistogram3D h,
                                     int indexX1,
                                     int indexX2)
Create a slice perpendicular to the X axis from a 3D histogram, between "indexX1" and "indexX2" (inclusive). The returned IHistogram2D represents an instantaneous snapshot of the histogram at the time the slice was created. The X axis of the returned histogram corresponds to the Y axis of this histogram. The Y axis of the returned histogram corresponds to the Z axis of this histogram.

Specified by:
sliceYZ in interface hep.aida.IHistogramFactory

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.