|
|||||||||
| 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)
Abstract1DPartitionfill(double, double) method with
a weighting value of 1.fill in class Abstract1DPartitionhep.analysis.partition.Abstract1DPartitionx - the value to fillAbstract1DPartition.fillW(double, double)public void fill(int i)
Abstract1DPartitionfill(int, double) method with
a weighting value of 1.fill in class Abstract1DPartitionhep.analysis.partition.Abstract1DPartitionx - the value to fillAbstract1DPartition.fillW(int, double)public void fill(java.lang.String s)
Abstract1DPartitionfill(String, double) method with
a weighting value of 1.fill in class Abstract1DPartitionhep.analysis.partition.Abstract1DPartitionx - the value to fillAbstract1DPartition.fillW(String, double)public void fill(java.util.Date d)
Abstract1DPartitionfill(Date, double) method with
a weighting value of 1.fill in class Abstract1DPartitionhep.analysis.partition.Abstract1DPartitionx - the value to fillAbstract1DPartition.fillW(Date, double)
public void fillW(double d,
double weight)
Abstract1DPartitionfillW in class Abstract1DPartitionhep.analysis.partition.Abstract1DPartitionx - 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)
Abstract1DPartitionint parameter to type
double and calls fill(double, double).fillW in class Abstract1DPartitionhep.analysis.partition.Abstract1DPartitionx - 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)
Abstract1DPartitionfillW in class Abstract1DPartitionhep.analysis.partition.Abstract1DPartitionx - 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)
Abstract1DPartitionfillW in class Abstract1DPartitionhep.analysis.partition.Abstract1DPartitionx - the value to fillv - a partition-specific value (normally some weighting value)PartitionFillException - if not overriddenPartitionFillExceptionpublic void clear()
Abstract1DPartitionclear in class Abstract1DPartitionpublic Statistics getStatistics()
public boolean hasAsymmetricErrorBars()
Abstract1DPartitionhasAsymmetricErrorBars in class Abstract1DPartitionpublic boolean hasSimpleQuadraticErrorBars()
Abstract1DPartitionhasSimpleQuadraticErrorBars in class Abstract1DPartitionpublic double[] getPlusErrors()
Abstract1DPartitiongetPlusErrors in class Abstract1DPartitionpublic double[] getMinusErrors()
getMinusErrors in class Abstract1DPartitionpublic double[] getBins()
Abstract1DPartitiongetBins in class Abstract1DPartitionpublic boolean isRebinnable()
Abstract1DPartitionisRebinnable in class Abstract1DPartition
public void setBinning(int bins,
double min,
double max)
Abstract1DPartitionsetBinning in class Abstract1DPartitionhep.analysis.partition.Abstract1DPartitionbins - 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()
Abstract1DPartitiongetAxisLabels in class Abstract1DPartitionhep.analysis.partition.Abstract1DPartitionpublic int getAxisType()
Abstract1DPartitiongetAxisType in class Abstract1DPartitionpublic int getNumberOfBins()
Abstract1DPartitiongetNumberOfBins in class Abstract1DPartitionpublic double getMin()
Abstract1DPartitiongetMin in class Abstract1DPartitionpublic double getMax()
Abstract1DPartitiongetMax in class Abstract1DPartitionprotected 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 | ||||||||