|Message: Re: Scintillation photons leaking through refelctive 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)|
> so I found a solution which gets rid of the problem though I don't > really understand why. I played a little with the material definitions, > as this is where the scintillation is defined. Previously I defined my > material of the scintillator outside of the scintillator detector > construction via a private variable matGdLdPlScin. If I now define the > material directly in the scintillator detector construction, those > leaking scintillation photons are gone.
Strange ... I don't see anything wrong with the code you provided. initMaterial is called from constructDetector construction before plScin_logic is instantiated with the pointer to matGdLdPlScin
> It seems like it is exactly 37 mm.
Now this is our clue!
4 45.9 ps 11 um 108 um 3.7 cm 945 keV 23.4 keV 86.7 um 1.3 cm foil_physic Transportation 5 45.9 ps 11 um 108 um 3.7 cm 0 eV 945 keV8.07e-10 fm 1.3 cm plScin_physic eIoni 6 45.9 ps 11 um 108 um 3.7 cm 0 eV 0 eV 0 fm 1.3 cm plScin_physic Scintillation
The electron passes from the foil into the scintillator but the first step (eIoni) is already exceedingly short (8.07e-10 fm). What is also strange is that the second step is exactly 0 fm and that it was limited by 'Scintillation' - steps in the scintillator should never be limited by 'Scintillation'. Also, why is the ionization step so short ... something is seriously wrong with your physics process definitions.
Together with the above strange behaviour I suspect some memory corruption. You've got to debug your code further.
|Inline Depth:||Outline Depth:||Add message:|