Message: Re: Are particles released all at once or serially? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Are particles released all at once or serially? 

Forum: Particles
Re: Question Are particles released all at once or serially? (matthew)
Date: 03 Sep, 2014
From: Michael H. Kelsey <Michael H. Kelsey>

On Wed, 03 Sep 2014 21:53:09 GMT, matthew wrote:
> I am simulating a general particle source of neutrons, at 14 MeV,
> released isotropically from a point source. I am trying to record the
> energy deposited over time, and I have a question.
> 
> Are particles from the general particle source release into the
> simulation all at once at the beginning of the simulation or serially as
> tracks are updated and then terminated?

That depends. If you configured GPS to generate multiple neutrons per event, then all of those particles are instantiated together: they will have Track ID's 1 through N, and all of them will have Parent ID = 0. In this case, the first neutron will be tracked through the detector to its end, then the second one will be, then the third, and so on.

If you configure GPS to generate one neutron per event, and then use /run/beamOn N to get a total of N neutrons, then you'll get one neutron at a time through your detector, per event.

Does that clarify things?

  -- Michael Kelsey

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Are particles released all at once or serially?   (matthew - 04 Sep, 2014)
(_ Feedback: Re: Are particles released all at once or serially?   (Michael H. Kelsey - 04 Sep, 2014)
 Add Message Add Message
to: "Re: Are particles released all at once or serially?"

 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 ]