Message: Random particle trajectory Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Random particle trajectory 

Forum: Event and Track Management
Date: 22 Oct, 2008
From: Oscar Larsson <Oscar Larsson>

Hi

I'm trying to get eant4 to randomly set the parameters in the ThreeVector-function giving the particle it's trajectory in the mySimEventAction.cc-file.

I would like to use the seeds from the random engine Ranecu. So my question is how do I call the seeds in my EventAction.cc-file to use them as input for the random engine producung my velocity vectors?

Cheers! Oscar

 Add Message Add Message
to: "Random particle trajectory"

 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 ]