This tutorial leads you through getting a dataset from the Penn repository and then using a canned Root analysis macro to create and fill some histograms.
It is assumed that you have Root installed and the $ROOTSYS variable points to it. Also, PATH must contain a reference to $ROOTSYS/bin. You must also have installed the Event classes shared library.
Get the analysis macro, electron.c
change the gSystem line to reference the Event class shared library
You can edit and rerun the macro as often as you like. It takes about 30 seconds on a 400 MHz W98 P2 to process the 500 events.
R.Dubois Last Modified: 01/13/04 12:41 | Return to |