// This file has been automatically generated by
// the Java Analysis Studio program page wizard
// Mon Jul 23 11:12:58 PDT 2001
import hep.analysis.*;
import jas.hist.FunctionRegistry;

final public class SineTest extends EventAnalyzer
{
	public SineTest()
	{
		Histogram h = new Histogram("Sine Wave");
		for (int i=0; i<10000; i++)
		{
			double x = Math.random()*10;
			double y = Math.sin(x);
			h.fillW(x,y);
		}
		FunctionRegistry.instance().registerFunction(SineFunction.class,"Sine");
		
	}
	public void processEvent(final EventData d)
	{
	}
}