Message: no interaction at a boundary Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question no interaction at a boundary 

Forum: Processes Involving Optical Photons
Date: 07 Feb, 2010
From: Akira Okumura <Akira Okumura>


I am currently learning how to use G4 optical and GDML files in my simulation. In my test program, I found a strange photon behavior as shown in the attached images.

The images are both the same event seen from different angles. As noted in the first image, a photon is reflected at a boundary between BGO block and the air. However, it isn't reflected nor refracted at the second interaction point. In this example, I set the refractive index of the BGO block to n=10000 so that all photons are reflected by total internal reflection.

You can get the source code from here.

$ tar zxvf MinimumTest.tgz $ cd MinimumTest $ make $ ./work/bin/Darwin-g++/MinimumTest3 /control/execute vis.mac /control/execute setupMT3.mac /run/beamOn

I do not see this behavior when I run MinimumTest1 in the tgz. Therefore this may be due to my mistake in the code. Would anyone kindly check the code and tell me the mistake, please?



Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Warning: Re: no interaction at a boundary   (Gumplinger Peter - 08 Feb, 2010)
(_ None: Re: no interaction at a boundary   (Akira Okumura - 08 Feb, 2010)
 Add Message Add Message
to: "no interaction at a boundary"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews