Message: Re: High Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: High  

Forum: Event and Track Management
Re: None High (Luca Pernie)
Date: 03 Dec, 2013
From: Gumplinger Peter <Gumplinger Peter>

Dear Luca,

We don't know what your method:

localPoint = setToLocal(stepPointPost->GetPosition(),stepPointPost->GetTouchable());

does. But apparently, it returns the center of the local volume - in local coordinates - for the last step inside that volume (last step is limited by 'Transportation').

With discrete and finite steps (in simulations such as Geant4) the energy lost during the step must be attributed to some location - in the case where you want to histogram energy loss vs depth, for example. One way to achieve a (more) continuous spectrum from discrete steps is to attribute the energy (bundle) to random locations along the step (from pre to post step point). With enough event histories thus obtained spectrum should become relatively smooth. That there is a geometry limit for the last step makes this more difficult to achieve. To improve the situation, is to force small steps through your volume.

Mind you, the energy loss attributed to your volume IS correct no matter the step size. It is only the representation you desire that is difficult to smooth out with discrete step MCs.

Peter

 Add Message Add Message
to: "Re: High "

 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 ]