|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.Observable | +--hep.analysis.Partition | +--hep.analysis.partition.Abstract1DPartition | +--hep.analysis.partition.OneDDelegatingPartition
Fields inherited from class hep.analysis.Partition |
DATE, DELTATIME, DOUBLE, HORIZONTAL_AXIS, INTEGER, m_owner, STRING, VERTICAL_AXIS |
Constructor Summary | |
OneDDelegatingPartition()
|
Method Summary | |
void |
clear()
Resets the partition to default settings. |
void |
fill(java.util.Date d)
Invokes the fill(Date, double) method with
a weighting value of 1. |
void |
fill(double d)
Invokes the fill(double, double) method with
a weighting value of 1. |
void |
fill(int i)
Invokes the fill(int, double) method with
a weighting value of 1. |
void |
fill(java.lang.String s)
Invokes the fill(String, double) method with
a weighting value of 1. |
void |
fillW(java.util.Date d,
double weight)
Fills the associated histogram with a date value. |
void |
fillW(double d,
double weight)
Fills the associated histogram with a numerical value. |
void |
fillW(int i,
double weight)
Converts the given int parameter to type
double and calls fill(double, double) . |
void |
fillW(java.lang.String s,
double weight)
Fills the associated histogram with a string value. |
java.lang.String[] |
getAxisLabels()
Override to allow axis labels to be accessed. |
int |
getAxisType()
Return the Axis type |
double[] |
getBins()
Return an array containing the sizes of all the bins. |
double |
getMax()
Return the maximum in the distribution. |
double |
getMin()
Return the minimum in the distribution. |
double[] |
getMinusErrors()
|
int |
getNumberOfBins()
Return the number of bins. |
double[] |
getPlusErrors()
Return an array containing the errors for all the bins. |
Statistics |
getStatistics()
|
boolean |
hasAsymmetricErrorBars()
Returns false by default. |
boolean |
hasSimpleQuadraticErrorBars()
Returns false by default. |
boolean |
isRebinnable()
Returns false by default. |
protected void |
setBinInfo(BinInfo info)
|
void |
setBinning(int bins,
double min,
double max)
Override to allow binning to be set. |
protected void |
setDataSource(OneDDataSource source)
|
protected void |
setFillable(OneDFillable fillable)
|
protected void |
setStatisticsProvider(StatisticsProvider provider)
|
Methods inherited from class hep.analysis.partition.Abstract1DPartition |
clearDataChanged, clearRangeChanged, done, fill, fill, fillW, fillW, getBin, getBinAt, getBinAt, getBinAt, getBinAt, getError, getMinusError, getPlusError, notifyObservers, rangeChanged, setDataAndRangeChanged, setDataAndRangeChangedNow, setDataChanged, setRangeChanged |
Methods inherited from class hep.analysis.Partition |
destroy, getStyle, makeCopy, setStyle |
Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OneDDelegatingPartition()
Method Detail |
public void fill(double d)
Abstract1DPartition
fill(double, double)
method with
a weighting value of 1.fill
in class Abstract1DPartition
hep.analysis.partition.Abstract1DPartition
x
- the value to fillAbstract1DPartition.fillW(double, double)
public void fill(int i)
Abstract1DPartition
fill(int, double)
method with
a weighting value of 1.fill
in class Abstract1DPartition
hep.analysis.partition.Abstract1DPartition
x
- the value to fillAbstract1DPartition.fillW(int, double)
public void fill(java.lang.String s)
Abstract1DPartition
fill(String, double)
method with
a weighting value of 1.fill
in class Abstract1DPartition
hep.analysis.partition.Abstract1DPartition
x
- the value to fillAbstract1DPartition.fillW(String, double)
public void fill(java.util.Date d)
Abstract1DPartition
fill(Date, double)
method with
a weighting value of 1.fill
in class Abstract1DPartition
hep.analysis.partition.Abstract1DPartition
x
- the value to fillAbstract1DPartition.fillW(Date, double)
public void fillW(double d, double weight)
Abstract1DPartition
fillW
in class Abstract1DPartition
hep.analysis.partition.Abstract1DPartition
x
- the value to fillv
- a partition-specific value (normally some weighting value)PartitionFillException
- if this method is not overriddenPartitionFillException
public void fillW(int i, double weight)
Abstract1DPartition
int
parameter to type
double
and calls fill(double, double)
.fillW
in class Abstract1DPartition
hep.analysis.partition.Abstract1DPartition
x
- the value to fillv
- a partition-specific value (normally some weighting value)PartitionFillException
- if thrown from fill(double, double)
Abstract1DPartition.fill(double, double)
,
PartitionFillException
public void fillW(java.lang.String s, double weight)
Abstract1DPartition
fillW
in class Abstract1DPartition
hep.analysis.partition.Abstract1DPartition
x
- the value to fillv
- a partition-specific value (normally some weighting value)PartitionFillException
- if not overriddenPartitionFillException
public void fillW(java.util.Date d, double weight)
Abstract1DPartition
fillW
in class Abstract1DPartition
hep.analysis.partition.Abstract1DPartition
x
- the value to fillv
- a partition-specific value (normally some weighting value)PartitionFillException
- if not overriddenPartitionFillException
public void clear()
Abstract1DPartition
clear
in class Abstract1DPartition
public Statistics getStatistics()
public boolean hasAsymmetricErrorBars()
Abstract1DPartition
hasAsymmetricErrorBars
in class Abstract1DPartition
public boolean hasSimpleQuadraticErrorBars()
Abstract1DPartition
hasSimpleQuadraticErrorBars
in class Abstract1DPartition
public double[] getPlusErrors()
Abstract1DPartition
getPlusErrors
in class Abstract1DPartition
public double[] getMinusErrors()
getMinusErrors
in class Abstract1DPartition
public double[] getBins()
Abstract1DPartition
getBins
in class Abstract1DPartition
public boolean isRebinnable()
Abstract1DPartition
isRebinnable
in class Abstract1DPartition
public void setBinning(int bins, double min, double max)
Abstract1DPartition
setBinning
in class Abstract1DPartition
hep.analysis.partition.Abstract1DPartition
bins
- the number of bins to havemin
- the minimum of the partition rangemax
- the maximum of the partition rangeUnsupportedPartitionMethodException
- if not overridden.public java.lang.String[] getAxisLabels()
Abstract1DPartition
getAxisLabels
in class Abstract1DPartition
hep.analysis.partition.Abstract1DPartition
public int getAxisType()
Abstract1DPartition
getAxisType
in class Abstract1DPartition
public int getNumberOfBins()
Abstract1DPartition
getNumberOfBins
in class Abstract1DPartition
public double getMin()
Abstract1DPartition
getMin
in class Abstract1DPartition
public double getMax()
Abstract1DPartition
getMax
in class Abstract1DPartition
protected void setFillable(OneDFillable fillable)
protected void setDataSource(OneDDataSource source)
protected void setStatisticsProvider(StatisticsProvider provider)
protected void setBinInfo(BinInfo info)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |