After storing information from each event of a simulation in a ROOT file, I would be interested in finding an event I am interested in and resimulating it in exactly the same way, in order to store more information (or inspect it graphically).
Let’s say event 63 in my simulation catches my eye.
The following lines:
allow me to control the seed at the beginning of the run.
However if I check the engine at each event, with:
eventually, event 63 (for example) will show:
--------- Ranecu engine status ---------
Initial seed (index) = 124
Current couple of seeds = 277819502, 115827135
How can I use the couple of seeds to run a simulation with only one event that is identical to event 63? I would imagine going to the BeginOfEventAction, and settings the couple of seeds, but I don’t understand how to do that.