Message: Re: Strange behaviour for AtRest processes Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Re: Strange behaviour for AtRest processes 

Forum: Event and Track Management
Re: Warning Strange behaviour for AtRest processes (Daniel Barna)
Date: 02 Nov, 2012
From: Daniel Barna <Daniel Barna>

Another issue with AtRest processes: G4SteppingManager::InvokeAtRestDoItProcs first queries all available AtRest processes for their GPIL, and (in principle) calls the AtRestDoIt function of the process which returned the shortest lifetime. However, when this AtRestDoIt function is called, the time of the track is not updated by this shortest lifetime. That is, if there is a delayed AtRest process, which happens to be the winner, and which reported GPIL=T,its AtRestDoIt function will be called 'at the time' when the the particle stopped, and not by T time later, i.e. it must store T, and then generate the eventual secondaries in AtRestDoIt delayed by T compared to the global time of the track in question. It might be intentional - is it? (I know I should read the docs but I don't remember having seen such details in those chapters which I have read). My logic would work like this: - query all AtRest processes for their GPIL - select the one which returned the shortest value - track.time += this_shortest_value - call winnerprocess.AtRestDoIt Although I admit that in this logic it is difficult to cope with those AtRest processes which were not the winner but which are forced to be called... Thank you Daniel

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

1 Ok: Re: Strange behaviour for AtRest processes   (Daniel Barna - 02 Nov, 2012)
(_ None: Re: Strange behaviour for AtRest processes   (Tom Roberts - 04 Nov, 2012)
(_ Feedback: Re: Strange behaviour for AtRest processes   (Gumplinger Peter - 05 Nov, 2012)
 Add Message Add Message
to: "Re: Strange behaviour for AtRest processes"

 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 ]