Message: GPS generates particles all with the same ID Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question GPS generates particles all with the same ID 

Forum: Particles
Date: 15 Mar, 2010
From: Simone <Simone>


I am trying to use the GPS module to generate particles with a certain energy distribution. The simulation goes well, but the results are difficult to handle: if I start a run with, let's say, 100 particles using the line "/run/beamOn 100" the particles created all have ID=1, so that is impossible to distinguish between them and to trace back the primary particle in case of secondaries.

I think that in this case the program is considering each run independent and so it assignes everytime ID=1 to every particle created, but I have really no clue of how to overcome this problem

I really appreciate any kind of help

thank you

 Add Message Add Message
to: "GPS generates particles all with the same ID"

 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 ]