| Summary: | incorrect OPACS vizualization for a special case of geometry with rotations matrices | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | Ivana.Hrivnacova |
| Component: | visualization/OPACS | Assignee: | barrand |
| Status: | CLOSED FIXED | ||
| Severity: | normal | CC: | Ivana.Hrivnacova, John.Allison, stanaka |
| Priority: | P2 | ||
| Version: | 0.1 | ||
| Hardware: | HP | ||
| OS: | HP-UX | ||
| URL: | /afs/cern.ch/user/i/ivana/public/g4visualization | ||
|
Description
Ivana.Hrivnacova
1999-09-02 05:08:26 CEST
I hope to look at it this week... Oups, first step in the this tracking bug system. Let us try again to change the status of this bug. let us try again to change the status of this problem... Try again... This time *I* will try (John). First investigations shows that it is NOT an OPACS problem. The fact that DAWN do not see the problem comes to the fact that both drivers do not pass in the same code in the Geant/visualisation to draw a Box. For OPACS at one moment I have to set the matrices from the Geant4 one. For that I need to extract (angle, axis) for rotation, to do that I am doing a : transformation.getRotation().getAngleAxis(angle,axis); and it appears that the angle is "NaN" !!!!!!!! I have done the same extraction/dump in vis/modeling/G4PhysicalVolumeModel.cc/DescribeAndDescend and I have the same !!! Then clearly the problem is not on my side. I strongly suspect that CLHEP/Rotation/getAngleAxis is wrong. It appears that I am the only one in all the Geant4 code that uses this function... I am going to try to debug CLHEP... I have modified the logic of computing the matrix for the OPACS/Go driver in order to avoid the CLHEP Rotation.getAngleAxis function. It seems ok now on Ivana example and on others. In fact it should be more efficient now. I will notify the CLHEP people about the getAngleAxis precision problem when angle is PI. Some acos(-1) is done that produces a NaN answer (Linux and NT) !!!! Try to set CLOSED again. Try to set CLOSED without any Resolution ! |