Hello,
My Geant4 simulation produces a ROOT file with and a histogram of total energy deposited in each event. Simply put, I am wondering how to apply Gaussian broadening to the histogram/peak? I have a mean and a sigma, and I need to generate a random gaussian value corresponding to this for each event, which I should be able to fill in to a new histogram.
Any ideas, suggestions, or workable examples to start with please?