We start with the novice example N01. The geometry is simple, a twisted tub constructed by G4TwistedTubs is placed in the world volume (a box). We use geantino as the primary particle (only transportation process in the physics list). If the particle get out of the world volume, print its PreStepPoint and PostStepPoint information in the UserSteppingAction. As a result, if we shoot the geantino at some point (specified in the code) in the solid G4TwistedTubs, the DistanceToOut calculated by Geant4 is larger than expected (out of world volume), the step length is infinite, but the current volume of this track is still in the twisted tub!!! If we use other real particles with real physics list, our program will crash because of some secondary particles produced out of the world volume. This happens only for some specific points in the twisted tub, for other points and most of cases, our program runs normally I have a tar file of the modified example N01, but I don't know how to upload, sorry! If you want, I will send you by email. Guofu Cao IHEP, Beijing
The tar ball is now accessible through the URL specified in this problem report. Problem to be verified and analysed.
The proposal requires additional analysis concrning the accuracy of trapezoid plane flatness.