3D EventLoop to fill 3-D histogram.

Andy Haas (Andrew_Haas@brown.edu)
Thu, 16 Oct 1997 17:48:24 -0400


I'm running version 1.02 on WinNT.

In trying to create a 3D Histogram from a saved ntuple, I've done the
following but it crashes:

{
f1 = new TFile("haas.root");
h3 = new TH3F("h3" , "3-D Histogram" ,250,0,25,250,0,25,250,0,50);
ntuple->EventLoop(3,h3);
}

What am I doing wrong?
Thanks in adavnce, Andy.