Message: Re: GetTotalEnergyDeposit in PreStep or PostStep? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: GetTotalEnergyDeposit in PreStep or PostStep? 

Forum: Event and Track Management
Re: None GetTotalEnergyDeposit in PreStep or PostStep? (Bo)
Date: 11 May, 2012
From: Gumplinger Peter <Gumplinger Peter>

In reality continuous energy loss happens along a particle's trajectory and not at a point. A simulation program like Geant4 calculates this over a chosen simulation step. If you care to histogram this energy loss as a function of some position coordinate you'll get a 'bumpy' result if you assigned it to Pre or PostStep, because simulation steps must end at volume boundaries or may be discrete in your coordinate for some other reason. Therefore, it is a better approximation to assign an energy loss amount, that is in reality distributed over a distance, randomly to a point along the simulation step. After many histories this will produce a 'smoother' and more physical result when again binned into discrete histogram bins.

 Add Message Add Message
to: "Re: GetTotalEnergyDeposit in PreStep or PostStep?"

 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 ]