
---- Modify Dump_v05 and produce graphs of energy loss ----

Move the "beginJob" and "endJob" functions from "BraggStatistic" 
to a new class "EnergyDist", and create instances of "BraggStatistic" 
inside this new class.

***
In "BraggStatistic":
- remove the inheritance from "AnalysisSteering",
- remove "beginJob" and "endJob" functions,
- rename the "compute" function as "update".

***
In "EnergyDist.h":
- inherit from "AnalysisSteering",
- define a "BraggCurve" struct to hold a "BraggStatistic" and a "TH1F" object,
- declare a STL array of pointers to "BraggCurve" structs,
- declare a function "bCreate" to create a "BraggCurve" object 
  for different total energy ranges.

***
In "EnergyDist.cc":
- implement a function "bCreate" taking 3 arguments, one index and min-max
  energies; use the index to create the name for "TH1F",
- in "beginJob" call "bCreate" for 3 energy ranges and background:
  0 = background , min = 3000.0, max = 5000.0;
  1 = polentonium, min = 6000.0, max = 6500.0;
  2 = salamium   , min = 6500.0, max = 6800.0;
  3 = cabernetium, min = 6800.0, max = 7200.0;
- in "endJob" loop over the BraggCurve objects and for each one 
  get the mean and rms energies and use them to set center and error 
  values in TH1F by looping over points and using SetBinContent 
  and SetBinError; save each graph to file after setting the content,
- in "process" loop over the BraggCurve objects and call the 
  "process" function for each "BraggStatistic" object.

***
Modify the "main" function to use "EnergyDist" in place of "BraggStatistic".

********* final list of functions *********

main                   modify Dump_v05

********* final list of classes   *********

                       .h                            .cc
Event                  copy   Dump_v05               copy   Dump_v05
EventSource            copy   Dump_v05               copy   Dump_v05
EventReadFromFile      copy   Dump_v05               copy   Dump_v05
AnalysisSteering       copy   Dump_v05               copy   Dump_v05
EventDump              copy   Dump_v05               copy   Dump_v05
BraggStatistic         to complete                   to complete
EnergyDist             to complete                   to complete
