Hello,<br><br>I did not see this issue while working with optical photons.<br>I did a test in Gate v6.2 and Geant4.9.5.p01. I use a phantom made of a material that is assigned an absorption <br>length of 2mm. The tracking verbose shows correct values for the step length which average is ~2mm. This is<br>
correct. <br><br>The absorption length is the mean (average) path photons will take
before they are absorbed. The GetMeanFreePath <br>method in G4OpAbsorption returns the mean free path that is stored with ABSLENGTH in the Materials.xml. But it would <br>be completely unphysical if they all
went exactly 2mm before they get absorbed. The actual step length these
photons <br>travel is sampled in Geant4 from an exponential in G4VDiscreteProcess::PostStepGetPhysicalInteractionLength (). The <br>value of the actual physical step is: -log(G4UniformRand()) x MeanFreePath.<br><br>You can take a look at the Physics Reference Manual of Geant4, Chapter3 (Particle Transport).<br>
<br>I hope this helps,<br>vesna<br><br>
<br><br><div class="gmail_quote">On Tue, Jan 8, 2013 at 10:11 PM, Abdul Fattah MOHAMAD HADI <span dir="ltr"><<a href="mailto:Abdul-Fattah.Mohamad-Hadi@subatech.in2p3.fr" target="_blank">Abdul-Fattah.Mohamad-Hadi@subatech.in2p3.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
In principle, the optical absorption length is the average distance
traveled by the photon before being absorbed by the medium. This
absorption length must be given by the user of GATE in the file
"Materials.xml". But I think that there is bug in considering the user
entered absorption length by Geant4. I noticed this problem with GATE
6.1 compiled with geant4.9.4.p01. In fact, I added the optical
properties of the the the liquid xenon in the "Materials.xml" file with
absorption length of about 35 cm, but in the tracking of Geant4 I see
that the track length of optical photons before absorption is of
random values between 1 and 11 cm !.<br>
<br>
Abdul Fattah<br>
<br>
Vesna Cuplov wrote:
<blockquote type="cite"><div><div><br>
The optical photon travels in the medium through steps. The step length
is calculated from the probability of interaction based on <br>
the physics process (absorption, scattering, ....) cross section. The
process that is applied is the one that produced the minimum <br>
step length. <br>
<br>
<br>
<br>
<div class="gmail_quote">On Mon, Jan 7, 2013 at 9:35 PM, Jenny
Nilsson <span dir="ltr"><<a href="mailto:jenny.nilsson@radfys.gu.se" target="_blank">jenny.nilsson@radfys.gu.se</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="border-left:1px solid rgb(204,204,204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">
<div dir="auto">
<div>Hello, </div>
<div>Yes I know. But if, for example, the absorption length is 300
cm then all optical photons will not travel 300 cm before being
absorbed, the beam intensity will be 1/e after one absorption length. <br>
<br>
What I'm interested in is when in the calculations is the distance an
optical photon travels determined. Is the distance sampled from a
probability distribution before the actual transport begins? </div>
<div><br>
</div>
<div>Best regards</div>
<div>Jenny <br></div></div></blockquote></div></div></div></blockquote></div></blockquote></div><br clear="all"><br>-- <br>Dr. Vesna Cuplov<br>CEA - Service Hospitalier Frederic Joliot<br>Orsay, France<br><a href="http://v-cuplov.net" target="_blank">http://v-cuplov.net</a><br>