hep.aida.ref.histogram.binner
Class BasicBinner1D
java.lang.Object
hep.aida.ref.histogram.binner.BasicBinner1D
- All Implemented Interfaces:
- Binner1D
- public class BasicBinner1D
- extends Object
- implements Binner1D
- Author:
- The AIDA team at SLAC
- Source Code:
- BasicBinner1D.java
Constructor Summary |
BasicBinner1D(int bins)
Creates a new instance of OneDBinner. |
Method Summary |
void |
clear()
|
int |
entries(int bin)
|
void |
fill(int bin,
double x,
double weight)
|
double |
height(int bin)
|
double |
mean(int bin)
|
double |
minusError(int bin)
|
double |
plusError(int bin)
|
double |
rms(int bin)
|
void |
scale(double scaleFactor)
|
void |
setBinContent(int bin,
int entries,
double height,
double plusError,
double minusError,
double mean,
double rms)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicBinner1D
public BasicBinner1D(int bins)
- Creates a new instance of OneDBinner.
fill
public void fill(int bin,
double x,
double weight)
- Specified by:
fill
in interface Binner1D
clear
public void clear()
- Specified by:
clear
in interface Binner1D
entries
public int entries(int bin)
- Specified by:
entries
in interface Binner1D
height
public double height(int bin)
- Specified by:
height
in interface Binner1D
plusError
public double plusError(int bin)
- Specified by:
plusError
in interface Binner1D
minusError
public double minusError(int bin)
- Specified by:
minusError
in interface Binner1D
mean
public double mean(int bin)
- Specified by:
mean
in interface Binner1D
rms
public double rms(int bin)
- Specified by:
rms
in interface Binner1D
setBinContent
public void setBinContent(int bin,
int entries,
double height,
double plusError,
double minusError,
double mean,
double rms)
- Specified by:
setBinContent
in interface Binner1D
scale
public void scale(double scaleFactor)
- Specified by:
scale
in interface Binner1D
Copyright © 2000-2004 FreeHEP, All Rights Reserved.