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

None How to control step length. 

Keywords: step length
Forum: Event and Track Management
Date: 13 Jan, 2006
From: Liang Zhan <Liang Zhan>

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.

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

1 None: Re: How to control step length.   (Vladimir IVANTCHENKO - 13 Jan, 2006)
 Add Message Add Message
to: "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 ]