Dear Gabriele, By testing G4TessellatedSolid with SBT test many erros were reported, like: T02: DistanceToIn(p) should be zero DistanceToIn = 447.21359549995793259 T02: DistanceToOut(p) should be zero DistanceToIn = 1584.2979517754858989 ... T0: DistanceToIn(p,v) == kInfinity DistanceToIn = 2.8421709430404007435e-14 ... These errors can lead to serious problems during tracking. For example, with wrong DistanceToIn(p) G4Navigator will move by bigger distance and could miss the Solid. SBT test can be find in any developer's version of Geant4 in directory /geant4/source/geometry/solids/test/SBT. There is a README file. The macro file for testing G4TessellatedSolid can be found in directory SBT/geant4/tessellatedSolid.geant4. Reported errors are in log file in directory SBT/log/tessellatedSolid*.log. Reported errors can be visialized with fred(/geant4/source/geometry/solids/test/fred). Best Regards, Tatiana
Assigning to original author.
Created attachment 135 [details] The patch with a proposed fix
Dear Pete, I attached a patch which fixes most of the SBT test errors; could you, please, check the modifications and let us know if they are ok? (The patch is based on the reference tag09-04-ref-07.) Thank you, Ivana