Message: Re: Low energy muons - how to limit their step length Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: Low energy muons - how to limit their step length 

Forum: Electromagnetic Processes
Re: Question Low energy muons - how to limit their step length (Kamil Sedlak)
Date: Oct 09, 14:13
From: Gumplinger Peter <Gumplinger Peter>

Hi Kamil,

There are two ways in Geant4 you can introduce a maximum step limit. The one is via the included Special Tracking Cuts' maximum allowed step size, see:

http://geant4.web.cern.ch/geant4/UserDocumentation/UsersGuides/ForApplicationDeveloper/html/ch05s04.html#sect.ProThres.Spe

In this scenario, you not only can specify in which volume a maximum allowed step should be applied:

logicalMuonStoppingTarget->SetUserLimits(new G4UserLimits(maxStep));

but also which particles have the G4StepLimiter in their list of processes:

if( particleName == "mu+" )pmanager->AddDiscreteProcess(new G4StepLimiter());

You can also define your own process (see examples/extended/field/field04's F04StepMax class) and code the IsApplicable to apply only to the mu+ but then this step limit applies everywhere.

I don't think Vladimir has yet addressed your finding that the muon stopping distribution that you plot in:

http://www-hep2.fzu.cz/~ksedlak/penetrationDepthInCuPlate_rough.png

has unphysical bumps. Fine, in G4 the muon does one last step to the end of its range but that distance should be a smooth distribution without structure.

Best, Peter

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

1 More: Re: Low energy muons - how to limit their step length   (Vladimir Ivanchenko - Oct 10, 10:46)
 Add Message Add Message
to: "Re: Low energy muons - how to limit their 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 ]