FreeHEP API
Version current

hep.aida.jni
Class CIHistogram2D

java.lang.Object
  extended byhep.aida.jni.CAIDRef
      extended byhep.aida.jni.CProxy
          extended byhep.aida.jni.CIBaseHistogram
              extended byhep.aida.jni.CIHistogram
                  extended byhep.aida.jni.CIHistogram2D
All Implemented Interfaces:
hep.aida.IBaseHistogram, hep.aida.IHistogram, hep.aida.IHistogram2D

public class CIHistogram2D
extends CIHistogram
implements hep.aida.IHistogram2D

Source Code:
CIHistogram2D.java

Field Summary
 
Fields inherited from class hep.aida.jni.CAIDRef
crefID
 
Constructor Summary
CIHistogram2D(long crefID)
           
 
Method Summary
 void add(hep.aida.IHistogram2D hist)
           
 int binEntries(int xIndex, int yIndex)
           
 int binEntriesX(int index)
           
 int binEntriesY(int index)
           
 double binError(int xIndex, int yIndex)
           
 double binHeight(int xIndex, int yIndex)
           
 double binHeightX(int index)
           
 double binHeightY(int index)
           
 double binMeanX(int xIndex, int yIndex)
           
 double binMeanY(int xIndex, int yIndex)
           
 int coordToIndexX(double coord)
           
 int coordToIndexY(double coord)
           
 void fill(double x, double y)
           
 void fill(double x, double y, double weight)
           
 double meanX()
           
 double meanY()
           
 double rmsX()
           
 double rmsY()
           
 hep.aida.IAxis xAxis()
           
 hep.aida.IAxis yAxis()
           
 
Methods inherited from class hep.aida.jni.CIHistogram
allEntries, equivalentBinEntries, extraEntries, maxBinHeight, minBinHeight, scale, sumAllBinHeights, sumBinHeights, sumExtraBinHeights
 
Methods inherited from class hep.aida.jni.CIBaseHistogram
annotation, dimension, entries, reset, setTitle, title
 
Methods inherited from class hep.aida.jni.CProxy
finalize, finalize
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hep.aida.IHistogram
allEntries, equivalentBinEntries, extraEntries, maxBinHeight, minBinHeight, scale, sumAllBinHeights, sumBinHeights, sumExtraBinHeights
 
Methods inherited from interface hep.aida.IBaseHistogram
annotation, dimension, entries, nanEntries, reset, setTitle, title
 

Constructor Detail

CIHistogram2D

public CIHistogram2D(long crefID)
Method Detail

fill

public void fill(double x,
                 double y)
Specified by:
fill in interface hep.aida.IHistogram2D

fill

public void fill(double x,
                 double y,
                 double weight)
Specified by:
fill in interface hep.aida.IHistogram2D

binMeanX

public double binMeanX(int xIndex,
                       int yIndex)
Specified by:
binMeanX in interface hep.aida.IHistogram2D

binMeanY

public double binMeanY(int xIndex,
                       int yIndex)
Specified by:
binMeanY in interface hep.aida.IHistogram2D

binEntries

public int binEntries(int xIndex,
                      int yIndex)
Specified by:
binEntries in interface hep.aida.IHistogram2D

binEntriesX

public int binEntriesX(int index)
Specified by:
binEntriesX in interface hep.aida.IHistogram2D

binEntriesY

public int binEntriesY(int index)
Specified by:
binEntriesY in interface hep.aida.IHistogram2D

binHeight

public double binHeight(int xIndex,
                        int yIndex)
Specified by:
binHeight in interface hep.aida.IHistogram2D

binHeightX

public double binHeightX(int index)
Specified by:
binHeightX in interface hep.aida.IHistogram2D

binHeightY

public double binHeightY(int index)
Specified by:
binHeightY in interface hep.aida.IHistogram2D

binError

public double binError(int xIndex,
                       int yIndex)
Specified by:
binError in interface hep.aida.IHistogram2D

meanX

public double meanX()
Specified by:
meanX in interface hep.aida.IHistogram2D

meanY

public double meanY()
Specified by:
meanY in interface hep.aida.IHistogram2D

rmsX

public double rmsX()
Specified by:
rmsX in interface hep.aida.IHistogram2D

rmsY

public double rmsY()
Specified by:
rmsY in interface hep.aida.IHistogram2D

xAxis

public hep.aida.IAxis xAxis()
Specified by:
xAxis in interface hep.aida.IHistogram2D

yAxis

public hep.aida.IAxis yAxis()
Specified by:
yAxis in interface hep.aida.IHistogram2D

coordToIndexX

public int coordToIndexX(double coord)
Specified by:
coordToIndexX in interface hep.aida.IHistogram2D

coordToIndexY

public int coordToIndexY(double coord)
Specified by:
coordToIndexY in interface hep.aida.IHistogram2D

add

public void add(hep.aida.IHistogram2D hist)
Specified by:
add in interface hep.aida.IHistogram2D

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.