import hep.aida.*;
public class jaida_DataPointFill
{
public static void main(String[] argv)
{
IAnalysisFactory af = IAnalysisFactory.create();
ITree tree = af.createTreeFactory().create();
IDataPointSetFactory dpsf = af.createDataPointSetFactory(tree);
// Create a one dimensional IDataPointSet.
IDataPointSet dps1D = dpsf.create("dps1D","one dimensional IDataPointSet",1);
// Fill the one dimensional IDataPointSet
double[] yVals1D = { 0.32, 0.45, 0.36, 0.29, 0.34 };
double[] yErrP1D = { 0.06, 0.07, 0.03, 0.07, 0.04 };
for ( int i = 0; i
Ads help maintain this website.