How calculate effective gas gain for the gem?

Hello, please tell me how I can track how many electrons have moved to the induction gap? I run the following code, as I understand with this code I can only get the initial and final coordinates of the electrons that I started at the beginning in the program.
gem (копия).C (4.5 KB)

I also wanted to ask when I run the code given on the Garfield++ website, for reasons unknown to me, it gives the following error. Can you please tell me what the reason is, thank you in advance!

Hi @Ferangiz_Ata_Kurban ,

Maybe @hschindl could be able to help you here.
Cheers,
Vincenzo

You can use the final coordinates (or just the z coordinate actually) to check whether the electron made it into the induction gap or not.

What’s the error that you get?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.