Hi,
I am using G4Tools to create a histogram using this line
tools::histo::h1d h(“1”,1024.,0.,3.516);
In the RunAction class.
I am trying to use h.fill to fill the histogram in the EndOfEventAction function using this line
h.fill(blurredEnergyDeposit/MeV,1);
I get the error:
error: ‘h’ was not declared in this scope
How do I put my histogram in the scope of the Event Action
Many thanks,
Luke