Gate icon indicating copy to clipboard operation
Gate copied to clipboard

Optical surface direction problem

Open woolaman opened this issue 3 years ago • 1 comments

Dear GATE users, I suspect that the optical surface definition is incorrect in the GATE documentation sample code: /gate/Volume2/surfaces/name Surface-From-Volume1-To-Volume2 /gate/Volume2/surfaces/insert Volume1 /gate/Volume2/surfaces/Surface-From-Volume1-To-Volume2/SetSurface Surface_name

In my code, I set: image

I can see many lights are reflected in the light guide volume(left part), and a small number of lights transmit to the SiPM volume(right part). image

when I modify the code as below, then no lights are reflected. image image

So I think that the sample code is setting the surface from volume2 to volume1, not volume1-->volume2. /gate/Volume2/surfaces/name Surface-From-Volume1-To-Volume2 /gate/Volume2/surfaces/insert Volume1 /gate/Volume2/surfaces/Surface-From-Volume1-To-Volume2/SetSurface Surface_name

If I'm right, please revise the GATE documentation.

woolaman avatar Jul 28 '22 10:07 woolaman

I second this, after making some trials myself!

thilomasbaum avatar Jun 01 '23 15:06 thilomasbaum