Message: Re: How to control step length. Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: How to control step length. 

Forum: Event and Track Management
Re: None How to control step length. (Liang Zhan)
Date: 13 Jan, 2006
From: Vladimir IVANTCHENKO <vnivanch@mail.cern.ch>

On Fri, 13 Jan 2006 zhanl@ihep.ac.cn wrote:

> *** Discussion title: Event and Track Management
> Email replies to PublicHyperNews@slac.stanford.edu must include:
>   In-Reply-To: <"/eventtrackmanage/431"@geant4-hn.slac.stanford.edu>
>   Subject: ...change this to be about your reply.
> 
> Dear all:
> 
> In the example/novice/N02:
> ...
>   G4double maxStep = 0.5*ChamberWidth;
>   logicTracker->SetUserLimits(new G4UserLimits(maxStep));
> ...
>   pmanager->AddProcess(new G4StepLimiter,       -1,-1,3);
> ...
> It limits the same max step length for some kind of particles.
> 
> Could anyone tell me how to limit different max step length for
> different particles even at different energy?
> 
> Thanks in advance.
> 

Hello,

Step of any particle in Geant4 is limited by all processes assigned to the 
particle: transportation, ionization, decay... If one decrease cut in 
range then step is limited more strongly . This mechanism depends on 
cross sections, so step limit is energy dependent. In many applications it 
is well enough, in special applications one can apply G4StepLimiter as 
an additional step limitation, G4StepLimits can be defined per G4Region. 
If user are not satisfied by all this, he/she can add extra process by 
himself.

VI  


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

 Add Message Add Message
to: "Re: How to control step length."

 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 ]