Too many events in electron energy distribution

In the example “GainFluctuations“, for some electric field, the distribution of avalanche size is:

and the energy distribution of electrons is:

so, the total events from avalanche size are 8.16E+04, but the total events are 7.27E+08 from electron energy?

I’m sure @hschindl can help

Your first histogram is filled once per avalance, while your second histogram is filled for each electron-atom collision.

@Piet, thanks for your reply!