Message: Re: record/visualize specific events after a huge sim Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: record/visualize specific events after a huge sim 

Forum: Run Management
Re: Question record/visualize specific events after a huge sim (Yen-Yung Chang)
Date: 28 Sep, 2017
From: Tom Roberts <Tom Roberts>

I use a completely different approach.

At the start of each event my code seeds the PRNG with the event number. So I 
can always re-run a given event by just knowing its event number. The HEPJames 
generator that Geant4 uses guarantees excellent results with seeds from 0 to 
900,000,000 -- adequate for my use.

Note that any change in the program can potentially make the events different, 
so be sure to use the same program to re-run events. For my program 
(G4beamline), this includes the input file that defines the geometry and the 

Tom Roberts

On 9/28/17 12:37 PM, Yen-Yung Chang wrote:
> *** Discussion title: Run Management
> I would like to visualize a few specific events from a huge simulation.
> I record the "i-th" indices of these events and use the same random seed
> every time, so I imagine in principle I should be able to start the GUI
> and visualize these rare events by asking it to run only the i-th events
> after the first one? But I couldn't find an efficient way to do
> this...please help! Thank you very much!
> Yen-Yung
> -------------------------------------------------------------
> Visit this GEANT4 at message (to reply or unsubscribe) at:

 Add Message Add Message
to: "Re: record/visualize specific events after a huge sim"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]