|Message: Re: Question about dielectric_LUT type optical surface||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)|
Thank you for your comments.
> What is strange is that you have a photon step ending at such location. > Or is it that you start a photon at that location? What causes a photon > step to end inside your scintillator? Usually, optical photons are > tracked from where they are 'born' to the next volume boundary. They > only stop before if they are bulk absorbed or wavelength shifted.
The photons are stopped by bulk absorption (absorption length is set to around 5 meters) or manual termination within stepping action if their track length exceeds 1000mm. (My actual simulation does not have the scintillator wrapped on all sides, so the photons simply escape from the unwrapped face, but I have the scintillator wrapped on all sides right now to replicate this bug.)
I thought that maybe the reason that photons end up at the edges, is just because the photon is reflecting many times inside the scintillator, but you are right that it is a little strange given that a typical photon only reflects a few hundred times. One theory I have is that the look up table gives a non-zero probability of the photon reflecting close to perpendicular to the normal, i.e. along the surface. This seems to supported by the verbose output, as the momentum direction of the photon right before escaping the scintillator can be something like (-0.6156614753256581, 0.788010753606722, -2.082445306335849e-16).
> In any event, what you are seeing is clearly a geometry issue in Geant4. > You are at the limit of precision for the code and so the G4 Navigator > "thinks" it is already outside the volume and never encounters the > volume boundary which is the prerequisite for the G4OpBoundaryProcess to > be called; e.g. > > pPostStepPoint->GetStepStatus() == fGeomBoundary
As per your comments, I added the StepStatus to the verbose output, and I do get fGeomBoundary at each step before the photon escapes the world volume.
|Inline Depth:||Outline Depth:||Add message:|