Problem 762

Summary: /run/particle/applyCuts command inneffective
Product: Geant4 Reporter: ic02
Component: runAssignee: kurasige
Status: RESOLVED INVALID    
Severity: normal    
Priority: P2    
Version: 7.0   
Hardware: PC   
OS: Linux   

Description ic02 2005-06-29 20:03:02 CEST
Dear All,
 I've posted this problem on the user forum but thought it may be a good idea to
submit it formally. I have a stripped down, simple simulation to provide anyone
who is willing to reproduce the problem. The simulation is a cube of silicon,
transporting gamma photons of 100 keV. A default cut of 1 m is used, yet
secondary electrons are produced in compton interactions. Note this is after
issueing the
SetApplyCuts(true,"all") method in the SetCuts method of the PhysicsList. I've
also tried it using the /run/particle/applyCuts true all command and I run into
the same problem.

Details of my computing environment are as follows:
inux-2.6.11.4-21.7 suse OS
gcc version 3.3.5 20050117 (prerelease) (SUSE Linux)

Please contact me and I will email a tar.gz file containing the simulation.
Thank you and I look forward to a response.
Best Regards,
Iwan Cornelius

Postdoctoral Research Fellow,
Centre for Medical Radiation Physics,
University of Wollongong,
Australia.

Fax: +61 2 4221 5944
Ph: +61 2 4221 4054
http://mrp.uow.edu.au
Comment 1 kurasige 2005-07-20 10:04:59 CEST
This is not a bug.
  Secondaries may be created if ApplyCuts flag is true and production cut values
are large.
  In section 5.4.3 of User's Guide: For Toolkit Developers
>ApplyCut in ON: the TrackingManager checks the range of each secondary >against
the production threshold and against the safety. The particle >is stacked if
range > min(cut,safety).
  It means that secondaries produced at the point close to the volume boundary
may survive because the current range is bigger than safety (roughly speaking,
safety is distance to the nearest boundary )