| Summary: | Particles travel outside the world volume! | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | LOKI <020251> |
| Component: | geometry/solids | Assignee: | Gabriele Cosmo <Gabriele.Cosmo> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | Gabriele.Cosmo, John.Apostolakis |
| Priority: | P1 | ||
| Version: | 9.0 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Attachments: | problem program | ||
From a first analysis to the attached source code, it looks like that the error
condition gets generated when galactic-vacuum is assigned as material
instead of air.
Still, an error condition that deserves deeper analysis; a typical error reported
from the solid in debug-mode is the following (here changed G4Sphere to
G4Orb from the original application, same effect with G4Sphere...):
*** G4Exception : Notification
issued by : G4Orb::DistanceToOut(p,v,..)
Logic error: snxt = kInfinity ???
*** This is just a warning message.
-----------------------------------------------------------
*** Dump for solid - scorer_solid ***
===================================================
Solid type: G4Orb
Parameters:
outer radius: 50 mm
-----------------------------------------------------------
Position:
p.x() = 13062.14184208585 mm
p.y() = -68002.53951152996 mm
p.z() = -71115.93053899711 mm
Direction:
v.x() = 0.7761175275201136
v.y() = 0.6197844183134932
v.z() = 0.1162276141537394
Proposed distance :
snxt = 9e+99 mm
To be also noticed that the geometry setup may become invalid if the
TargetThickness is set to be greater than 60m in the input macro, this
would generate overlaps.
Setup of user's application for sensitive detector and scoring should be double-checked... *** This problem has been marked as a duplicate of problem 1046 *** |
Created attachment 27 [details] problem program I made a simple geometry configuration with a spherical ball inside a box(at the edge of the box), which both filled by Air, and shot the ball with gamma radiation. When the ray is injected into the air ball, and interacted with the air matter, for instance the compton scattering, the next step of the ray will be outside the world volume with lots of warning message output on the terminal. I will upload my program. How can i solve this problem? And another problem i'd consult. Can Geant4 be used to simulate Mott Scattering of electron, or the recent publication in the furture would include the Mott Scattering process? best regards LOKI