Problem 677 - Lambertian reflection at polishedbackpainted surface
Summary: Lambertian reflection at polishedbackpainted surface
Status: RESOLVED WORKSFORME
Alias: None
Product: Geant4
Classification: Unclassified
Component: processes/optical (show other problems)
Version: 6.2
Hardware: All All
: P2 normal
Assignee: gum
URL:
Depends on:
Blocks:
 
Reported: 2004-10-12 04:35 CEST by skononov
Modified: 2004-10-14 15:29 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 skononov 2004-10-12 04:35:27 CEST
Hi,
I got a curious effect when set polishedbackpainted finish and unified model for
optical surface. Sometimes photons are reflected with random angle
though the chosen model implies only plain reflection, either Fresnel reflection
at the boundary or reflection from the paint.
I think I found places in the source which cause this:
G4OpBoundaryProcess.cc: lines 547 and 621 where reflection from boundary is
considered. "if" statement checks only for polished type and omits
polishedbackpainted case. As a result Lambertian reflection is chosen.
Comment 1 gum 2004-10-14 15:29:59 CEST
Turns out, 'polishedbackpainted' works just fine for me.

Please note, although it exists as an option, 'polishedbackpainted' really does
not provide extra functionality and the result should be exactly the same as
'polishedfrontpainted'. In both cases, the reflected ray obeys (v_incident +
v_exit) dot normal = 0.