Message: Re: Controlling max step size at first step in volume Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Controlling max step size at first step in volume  

Forum: Event and Track Management
Re: Question Controlling max step size at first step in volume (Nand Lal)
Date: 17 May, 2014
From: michel maire <michel maire>

On Fri, 16 May 2014 15:26:54 GMT, Nand Lal wrote:
> I would like to be able to specify maximum step size on entry to a
> volume based on the process and current kinetic energy of particle. What
> is the best way to do this?
> 

 A solution (I am not sure it is the best) :
 Implement your own process StepMax, as shown in example TestEm5.
 This process must be registered in PhysicsList.
 In StepMax::PostStepGetPhysicalInteractionLength() do what you want.

 Add Message Add Message
to: "Re: Controlling max step size at first step in volume "

 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 ]