FreeHEP API
Version current

hep.aida.ref.histogram.binner
Class EfficiencyBinner3D

java.lang.Object
  extended byhep.aida.ref.histogram.binner.EfficiencyBinner3D
All Implemented Interfaces:
Binner3D

public class EfficiencyBinner3D
extends Object
implements Binner3D

Author:
The AIDA team at SLAC.
Source Code:
EfficiencyBinner3D.java

Constructor Summary
EfficiencyBinner3D(int xBins, int yBins, int zBins)
          Creates a new instance of EfficiencyBinner1D.
 
Method Summary
 void clear()
           
 int entries(int xBin, int yBin, int zBin)
           
 void fill(int xBin, int yBin, int zBin, double x, double y, double z, double weight)
           
 double height(int xBin, int yBin, int zBin)
           
 double meanX(int xBin, int yBin, int zBin)
           
 double meanY(int xBin, int yBin, int zBin)
           
 double meanZ(int xBin, int yBin, int zBin)
           
 double minusError(int xBin, int yBin, int zBin)
           
 double plusError(int xBin, int yBin, int zBin)
           
 double rmsX(int xBin, int yBin, int zBin)
           
 double rmsY(int xBin, int yBin, int zBin)
           
 double rmsZ(int xBin, int yBin, int zBin)
           
 void scale(double scaleFactor)
           
 void setBinContent(int xBin, int yBin, int zBin, int entries, double height, double plusError, double minusError, double meanX, double rmsX, double meanY, double rmsY, double meanZ, double rmsZ)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EfficiencyBinner3D

public EfficiencyBinner3D(int xBins,
                          int yBins,
                          int zBins)
Creates a new instance of EfficiencyBinner1D.

Method Detail

fill

public void fill(int xBin,
                 int yBin,
                 int zBin,
                 double x,
                 double y,
                 double z,
                 double weight)
Specified by:
fill in interface Binner3D

clear

public void clear()
Specified by:
clear in interface Binner3D

entries

public int entries(int xBin,
                   int yBin,
                   int zBin)
Specified by:
entries in interface Binner3D

height

public double height(int xBin,
                     int yBin,
                     int zBin)
Specified by:
height in interface Binner3D

plusError

public double plusError(int xBin,
                        int yBin,
                        int zBin)
Specified by:
plusError in interface Binner3D

minusError

public double minusError(int xBin,
                         int yBin,
                         int zBin)
Specified by:
minusError in interface Binner3D

meanX

public double meanX(int xBin,
                    int yBin,
                    int zBin)
Specified by:
meanX in interface Binner3D

meanY

public double meanY(int xBin,
                    int yBin,
                    int zBin)
Specified by:
meanY in interface Binner3D

meanZ

public double meanZ(int xBin,
                    int yBin,
                    int zBin)
Specified by:
meanZ in interface Binner3D

rmsX

public double rmsX(int xBin,
                   int yBin,
                   int zBin)
Specified by:
rmsX in interface Binner3D

rmsY

public double rmsY(int xBin,
                   int yBin,
                   int zBin)
Specified by:
rmsY in interface Binner3D

rmsZ

public double rmsZ(int xBin,
                   int yBin,
                   int zBin)
Specified by:
rmsZ in interface Binner3D

setBinContent

public void setBinContent(int xBin,
                          int yBin,
                          int zBin,
                          int entries,
                          double height,
                          double plusError,
                          double minusError,
                          double meanX,
                          double rmsX,
                          double meanY,
                          double rmsY,
                          double meanZ,
                          double rmsZ)
Specified by:
setBinContent in interface Binner3D

scale

public void scale(double scaleFactor)
Specified by:
scale in interface Binner3D

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.