dN/dE meaning...... versus fill histogram

Hi,

When I saw some examples like Hadr06, it says in the readme that will plot dN/dE, that have units of 1/MeV, but when I look the TrackingAction.cc it says:

analysis->FillH1(ih,energy);

this is 1D histogram, that in the x axis the units is MeV but in the y axis is number of partices, is there a difference or how should I call the y-axis?

Thanks.

Nicolás

I assume you use Geant4 10.2 or before.

analysis->FillH1(ih,energy);

This will give the number of events per bin (of energy)

At end of Run.cc, the content of each bin is divided by binWidth. You get the number of events per unit of energy (y-axis) as a function of energy (x-axis)

Ok, many thanks,

Nicolás