I have a simulation where particles are generated with random directions towards my mass model.
I would like to test some changes in the mass model. The easiest way to do this would be to generate the exact same particles on a different geometry, but from what I know I can input the same starting seed, but if I change the geometry all the following seeds will be different.
From what I recall from the Geant4 school, this is due to the fact that the last number produced in the event is used as seed for the following one. Thus even if I input the same starting seed, a different geometry will produce different subsequent seeds and I wont be able to replicate the exact same particle distribution.
Is there a way around this?
Thanks a lot