The gamma fitter runs out of the box. The code consists of the classes StGammaFitter
and StGammaFitterResult
in CVS. After checking out a copy of offline/StGammaMaker, cd into the offline directory and run:
root4star StRoot/StGammaMaker/macros/RunGammaFitterDemo.C
The following plots will be generated on the ROOT canvas and dumped into PNG files.