| Summary: | Tracking in G4Spheres | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | Isidro.Gonzalez |
| Component: | geometry/solids | Assignee: | Vladimir.Grichine |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | Ivana.Hrivnacova |
| Priority: | P2 | ||
| Version: | 4.0 | ||
| Hardware: | Other | ||
| OS: | Other | ||
| URL: | http://iglez.home.cern.ch/iglez/alice/geant4/DetectorConstruction.cc | ||
|
Description
Isidro.Gonzalez
2002-06-10 04:59:35 CEST
Can you please verify your test application on gcc-2.95.2 ? Reliable results cannot be expected on 2.96. The user verified the problem can be reproduced also on egcs-1.1.2 compiler. Some additional info: "I also realised that if you use charged particles that suffer some kind of scattering and therefore do not go through the straight line at (0,0,0) in the direction (0,0,1) both spheres are seen. Gammas, geantinos and neutrinos certainly have this effect." Bug was fixed in G4Sphere::Inside concerning the treatment of particles on z-axis. The current condition for that is: if ( (rho2 || p.z()) && fDTheta < M_PI - kAngTolerance*0.5) Fix included in tag "geom-csg-V04-00-05". Will be included in release 4.1, pending validation of system testing. |