public class HistogramSampler extends Object
Constructor and Description |
---|
HistogramSampler(hep.aida.ref.Histogram1D histogram) |
HistogramSampler(int[] counts,
double min,
double max) |
Modifier and Type | Method and Description |
---|---|
double |
nextSample() |
public HistogramSampler(hep.aida.ref.Histogram1D histogram)
histogram
- public HistogramSampler(int[] counts, double min, double max)
counts
- Array of counts of how many events there are for each bin, from min to max.min
- Minimum of range histogram covers (value of the start of the first bin)max
- Maximum of range histogram covers (value at the start of the last bin)Copyright © 2003–2022 UBC Michael Smith Laboratories. All rights reserved.