Problem 474 - False warnings in the process of reflection from G4BREPPolycones.
Summary: False warnings in the process of reflection from G4BREPPolycones.
Status: RESOLVED DUPLICATE of problem 425
Alias: None
Product: Geant4
Classification: Unclassified
Component: geometry/solids (show other problems)
Version: 4.1
Hardware: PC Linux
: P2 normal
Assignee: Radovan.Chytracek
URL:
Depends on:
Blocks:
 
Reported: 2003-04-02 05:31 CEST by machulin
Modified: 2003-05-20 10:21 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description machulin 2003-04-02 05:31:42 CEST
When single photon reflects from the G4BREPPolycone surface
the process of reflection is correct (this I checked manualy).
        But the code gives false warning:
      "  Warning ... PCone not able to return normal .."
        This occurs in G4BREPSolidPCone.cc part of the geant4 code:
The function "G4ThreeVector G4BREPSolidPCone::SurfaceNormal(const G4ThreeVector&
Pt) const" in the process of reflection of 1 photon
is called twice. At first time it correctly reflects the photon (and
after that it propagates in correct direction).
         At second time the function can't give the normal to the
surface and gives the warning.(I don't know for what reason it is called twice).

          This is not a big error, but this false warning gives too
much information on terminal (each time, when the photon reflects).
          The same bug was already reported in #425 and #431.

          Hope this information will be usefull to fix it.
Comment 1 Gabriele Cosmo 2003-05-20 10:21:59 CEST
*** This bug has been marked as a duplicate of 425 ***
*** 'Radovan.Chytracek@cern.ch' will be responsible for this bug. ***