Problem 141 - Incorrectly localized opticalphoton after reflection -- elegant solution
Summary: Incorrectly localized opticalphoton after reflection -- elegant solution
Status: CLOSED DUPLICATE of problem 140
Alias: None
Product: Geant4
Classification: Unclassified
Component: processes/optical (show other problems)
Version: 2.0
Hardware: PC Linux
: P2 major
Assignee: John Apostolakis
URL: http://www.awa.tohoku.ac.jp/~gas/gean...
Depends on:
Blocks:
 
Reported: 2000-07-28 02:28 CEST by gas
Modified: 2012-02-15 05:09 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description gas 2000-07-28 02:28:06 CEST
opticalphotons don't reflect properly at the interior boundary of a volume.
The reason is that the core Geant4 navigation and transportation routines don't
allow for a particle at a geometric boundary to stay in the same volume on the
next step.  The reflected photons end up incorrectly localized one level too
high in the heirarchy, resulting in odd reflection-plus-refraction effects
and/or photons passing ghostily through daughter volumes.  (I tried to report
this yesterday, but Bugzilla seems to have forgotten about it?)

An elegant solution is to create reflected photons as secondary particles and
kill the original photon, rather than attempting to modify the original photon.
This requires a small change to G4OpBoundaryProcess::PostStepDoIt().  See
http://www.awa.tohoku.ac.jp/~gas/geant4/G4OpBoundary.cc.fix
Comment 1 Vladimir.Grichine 2000-07-28 09:16:59 CEST
*** This bug has been marked as a duplicate of 140 ***