I am using Geant4.6.p01 on Ubuntu.
I have a list of particle positions and velocities generated from a different source. I would like to use these particles as a source for Geant4 simulations. Looking at the Particle Gun or General Particle Source, it would seem that I can generate particles for a wide range of possibilities, but I can’t find a general source where a file is read and the information regarding each individual particle is determined and then the particle is fired in Geant4 using the parameters read from a file.
One way would be to run Geant4 many times over with one particle simulated each time for each particle in the file. Is there a better and faster way to do this ?
Thanks in advance