|Message: Geometry 'transparent' to particle||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
I'm new in Geant4 and I would really appreciate it if someone could help me with a weird problem I'm facing. I'm using Geant4 in Visual Studio 2010 Express and my aim is to simulate the operation of a neutron monitor. In order to make some initial tests I define a very simple geometry where a neutron is moving toward a polyethylene block. The result is the reflection of the neutron, as expected. The problem comes up when I define a second polyethylene block just after the first one. When I do that, the neutron passes through the first block like it is transparent and gets reflected on the second block.
I suspected that the problem may be on the random generator. I checked the seed that is automatically defined and I found that it is always set to 9876. I made some tests and I found that if I manually define the seed to something else (for example CLHEP::HepRandom::setTheSeed(0);) just before the "run/beam on" command, the simulation seems to work correctly. I'm not completely sure if the result is correct but at least the neutron gets reflected on the first polyethylene block.
The problem becomes greater when I define the whole neutron monitor architecture. If I don't define manually the seed then the whole neutron monitor seems to be transparent to the neutron. If I define it then many interactions and creations of secondary particles are noticed in the neutron monitor, as expected.
I don't know what I'm doing wrong. In the geant4 examples the seed is not set. I wonder if there is any incompatibility with the visual studio. Thank you in advance for your help.