hep.aida.util.comparison
Class ComparisonData
- java.lang.Object
-
- hep.aida.util.comparison.ComparisonData
-
- All Implemented Interfaces:
- IComparisonData
public class ComparisonData extends java.lang.Object implements IComparisonData
-
-
Field Summary
-
Fields inherited from interface hep.aida.ext.IComparisonData
BINNED_DATA, UNBINNED_DATA
-
-
Constructor Summary
Constructors Constructor and Description ComparisonData(double[] data, double[] weight, int type)ComparisonData(double[] data, double[] weight, int[] entries, int type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intentries(int i)Get the ith number of entries.intnPoints()Get the number of points.inttype()Get the data Type: binned or unbinned.doublevalue(int i)Get the ith value.doubleweight(int i)Get the ith weight.
-
-
-
Constructor Detail
-
ComparisonData
public ComparisonData(double[] data, double[] weight, int type)
-
ComparisonData
public ComparisonData(double[] data, double[] weight, int[] entries, int type)
-
-
Method Detail
-
nPoints
public int nPoints()
Description copied from interface:IComparisonDataGet the number of points.- Specified by:
nPointsin interfaceIComparisonData
-
type
public int type()
Description copied from interface:IComparisonDataGet the data Type: binned or unbinned.- Specified by:
typein interfaceIComparisonData
-
value
public double value(int i)
Description copied from interface:IComparisonDataGet the ith value.- Specified by:
valuein interfaceIComparisonData
-
weight
public double weight(int i)
Description copied from interface:IComparisonDataGet the ith weight.- Specified by:
weightin interfaceIComparisonData
-
entries
public int entries(int i)
Description copied from interface:IComparisonDataGet the ith number of entries.- Specified by:
entriesin interfaceIComparisonData
-
-
DMelt 3.0 © DataMelt by jWork.ORG