Spectra Interrogation

Hello,

After building a model to be simulated and populating a spectrum at some target geometry, I would like to be able to highlight a section of the histogram in root and obtain the name of the processes that caused those features. Is this simply a matter of adding the process IDs in the ntuple of your custom scorer or is there another superior method?

It would be ideal if one would be able to extricate some track IDs and then have them plotted separately in the GUI.

Many Thanks!