Histogram formation

Hello dear G4 users, i hope you are doing well!
I am working on Geant4 extended example TestEm5. I want to get the histogram but have no idea to obtained it. Could anybody help me i will really be thankful.
Thanks for your time and consideration.


Or look at any examples attached with the Geant4 source code that include a HistogramManager file.