| Summary: | G4Step.IsFirstStepInVolume() always returns false | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | Kevin Lynch <krlynch> |
| Component: | track | Assignee: | John Apostolakis <John.Apostolakis> |
| Status: | CLOSED FIXED | ||
| Severity: | minor | CC: | kurasige |
| Priority: | P5 | ||
| Version: | 9.1 | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
Kevin Lynch
2008-11-07 18:37:34 CET
This method is introduced from release 8.1. G4Step or G4VParticleChange can not know that the step is the first step in the volume by itself. So, This flag is expected set/re-set by G4Transportaion process. But G4Transprotaion and related classes have never set this flag from the method is added. Thanks for report. We will correct this. John A candidate fix has been prepared G4Transportation for the case where a particle does not feel the effect of an EM field (i.e. if it is neutral or is in a location where the EM field is zero.) The case when a particle must propagate in a field is not yet addressed. I have identified a number of improvements of G4PropagatorInField and G4Transportation that resolve this issue. I am creating a tag so that they can be tested. Once they are tested, we can upload a tarball that will work with the most recent Geant4 release(s). Found that problem persisted in the case that parallel geometries existed. To correct this, I propagated fixes to G4CoupledTransportation. Unfortunately a problem persists in this case. I am investigating it. I have corrected the problem introduced in the new code. The fix now works. |