     =========================================================
     Geant4 - an Object-Oriented Toolkit for Simulation in HEP
     =========================================================

                            ExampleR04
                            ----------

29-Sep-2000 Bill Seligman

The intent of this example is to show how one might use the
RecorderBase class with ROOT to histogram information from Geant4
hits.

This example is based on $G4INSTALL/examples/novice/N02 as found in
Geant 4.2.0.  If the name of a file or routine contains "N02", then it
is unchanged from that example.

If you run "exampleR04 exampleN02.in", the file exampleR04.root will
contain twelve histograms, three for each run.  You can see all twelve
at once by running "root exampleR04.C".

Within a run, the histogram of energy deposited versus z-position
looks the same for:

1) The energy recorded in the hits
2) The energy recorded in the tracker
3) The total energy in the detector

This is because the exampleN02 detector consists of plates of aluminum
separated by air, and the "sensitive detector" recording the hits are
those same aluminum plates.  Therefore, the only energy deposited in
the detector is in the plates in all three histograms.
