Re: random number seed specification

From: Rene BRUN <rene.brun_at_cern.ch>
Date: Wed, 16 Feb 2005 09:03:10 +0100


Hi Sue,

I have implemented the function grndmq that returns gRandom->GetSeed(). The result makes sense only when the generator is TRandom.

Rene Brun

Sue Kasahara wrote:
> Hi vmc team,
> I am using a TRandom number generator that I pass to the
> TGeant3TGeo mc implementation. I use the SetSeed method
> of TRandom to specify a new seed at the start of each event
> processing. What I find is that although I can vary the results of an event
> processing by adjusting the seed passed through SetSeed, and I
> can also receive reproducible results using the same starting seed
> (both indicating that my TRandom number generator is being used
> by TGeant3TGeo!), the GTRIGI print statement:
> **** GTRIGI: IEVENT= 1 IDEVT= 1 Random Seeds =
> 0 0
> does not reflect the starting seed actually used. Is it possible to
> fix this?
> I'm using a version of TGeant3 package last updated on Jan 3, 2005,
> and root last updated on Jan 31, 2005.
> Thanks,
> -Sue Kasahara
>
Received on Wed Feb 16 2005 - 09:03:16 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:55:21 MET