Random Seeds in G4_VMC

From: Mohammad Al-Turany <m.al-turany_at_gsi.de>
Date: Mon, 5 Oct 2009 09:34:28 +0200


Hallo,

As you all know to set the Random seed in G3_VMC it is enough to use gRandom->SetSeed(seed), in G4_VMC this does not work, and what I do to set the seed is to go via the g4config.in macro and put there:

    /random/resetEngineFrom seed.rnd

Where seed.rnd is an ASCII file containing my seeds.

Is it possible to unify this behavior and to pass the seed from gRandom to the G4_VMC in the initialization? Or do you have any other suggestion?

Regards

Mohammad Received on Mon Oct 05 2009 - 09:34:34 CEST

This archive was generated by hypermail 2.2.0 : Mon Oct 05 2009 - 17:25:01 CEST