Message: a few question to ask you for help Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None a few question to ask you for help 

Forum: Run Management
Date: 30 Nov, 2009
From: Chunxu YU <Chunxu YU>

Dear Sirs,

I have several questions to ask you, I want to simulate the neutron interacting with water, and hope to generate 
much more events. However I do have a problem:

(1) is it possible to let me know how much the max Random seeds are in Geant4 and CLHEP scehmes? If I want to 
generate 10**11 events, how to do? Is next correct?

In my code *PrimaryGeneratorAction's constructor function, I do:
seeds[0] = 1075136018; seeds[1] = 1569604041;
G4int index = 0;
CLHEP::HepRandom::setTheSeeds(seeds, index);

(2) if I want to generate another amount of events, is is correct for me only to change the initialization seeds?
And then another amount of different events are generated?

(3) Meantime, would you please let me know how to define an hetero-uniform material in Geant4?

I'm waiting for your reply. Thanks a lot.


 Add Message Add Message
to: "a few question to ask you for help"

 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 ]