Hello everyone,
I’m would like to irradiate a sensor by simulating the output of an electron accelerator. I have been able to simulate and save the energy spectrum of the electrons at the exit window as well as the energy spectrum of the photons produced in the accelerator head and I was wondering if it was possible to generate a general source with these two particles. I excluded saving the phase space file of the accelerator since I need to irradiate a very small volume and I need to obtain good statistics.
My idea is to create two different gps sources and give the proportion of the electrons and photons by choosing properly the weights of the two energy spectrum histograms.
Can it be a good approach? Is there a smarter way of doing it that I am missing? When using “/run/beamOn 10”, 10 particles will be generated for each gps source?
Thank you,
Umberto.