Message: Re: stepMax in a specific volume or material Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: stepMax in a specific volume or material 

Forum: Event and Track Management
Re: Question stepMax in a specific volume or material (A. Hod)
Date: 17 Mar, 2014
From: michel maire <michel maire>

On Mon, 17 Mar 2014 19:41:13 GMT, A. Hod wrote:
> Hi G4 users,
> 
> To limit the steps in Geant4 the following command can be used in .mac
> file (as
> 
> it is shown in EM examples).
> 
> /testem/stepMax 0.001 mm
> 
> But how can I limit the step in specific volume or material?
> 
> Thanks a lot in advance for any help.
> 

 In Readme of TestEm5 :

 5- TRACKING
 One can also limit 'by hand' the step lenght of the particle. As an example,
 this limitation is implemented as a 'full' process : see StepMax class and its
 Messenger. The 'StepMax process' is registered in  PhysicsList::AddStepMax() 

  Follow TestEm5 to implement your own StepMax process.
  And, in StepMax::PostStepGetPhysicalInteractionLength(), do what you want.

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

1 None: Re: stepMax in a specific volume or material   (A. Hod - 18 Mar, 2014)
1 None: Re: stepMax in a specific volume or material   (michel maire - 18 Mar, 2014)
1 None: Re: stepMax in a specific volume or material   (Makoto Asai - 18 Mar, 2014)
2 Ok: Re: stepMax in a specific volume or material   (A. Hod - 18 Mar, 2014)
 Add Message Add Message
to: "Re: stepMax in a specific volume or material"

 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 ]