Replies: 2 comments 6 replies
-
|
Beta Was this translation helpful? Give feedback.
3 replies
-
Thank you Mr Townson !
I was aiming to get energy distribution as a function of R in a slab.
That, to find the point spread function of a direct electron camera.
Another distribution is the energy deposited per electorn in a slab.
The camera can view individual electrons hitting it.
I have put all energy deposited scores (so at the 'newshower' moment) in a file.
The distribution of grey values on our camera looks like a Landau curve:
like this example from the wiki landau page.
[cid:06ce6f90-4cc8-43dc-af35-096fdab9c31d]
My finding on the pulse height does not seem to have such a form.
At the left it keeps increasing until the cutoff energy is reached.
[cid:50bd5341-8193-4729-bf6c-d3ffbc42b632]
I do not expect the steep edge at the left.
It seems the "landau" part is underneath this curve, starting from 7 keV.
As I see it, 5keV is still very much > 3.6eV, the energy needed to free a e/p pair.
But on our real camera i do not see this peak at the left.
What do i do wrong ???
Jaap
…________________________________
From: Reid Townson ***@***.***>
Sent: Friday, January 14, 2022 15:45
To: nrc-cnrc/EGSnrc ***@***.***>
Cc: Mulder, Jaap ***@***.***>; Author ***@***.***>
Subject: Re: [nrc-cnrc/EGSnrc] tutor7pp which edep is edep (Discussion #825)
CAUTION: This email originated from outside of Thermo Fisher Scientific. If you believe it to be suspicious, report using the Report Phish button in Outlook or send to ***@***.***
The equation there currently calculations a special version of fluence (wt/w is essentially number of counts scaled by z-direction). If you would like to change it to energy fluence, multiply by the particle energy as well. Keep it mind that this would be calculating the deposited energy fluence, in a volume. It is an "estimated real fluence" because it is scaled by the direction of the particle - which is assuming that the beam is headed in the z-direction. This is not a conventional definition of fluence, which you normally might think of as the number of particles crossing an area, so make sure you understand the quantity that is actually being calculated and whether or not it is useful to you.
Note that you likely want to remove ir = nreg+1; at line 453. This was used for a special case for calculating transmitted/reflection fractions through a series of slabs.
—
Reply to this email directly, view it on GitHub<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_nrc-2Dcnrc_EGSnrc_discussions_825-23discussioncomment-2D1969993&d=DwMCaQ&c=q6k2DsTcEGCcCb_WtVSz6hhIl8hvYssy7sH8ZwfbbKU&r=RuHtnlWlvUXLnyJh7OQlBzHRAiqrOJNsNVOZ5u11DCc&m=VmKnch8cqMWxa3V1oBl8MHA1NgKAtBrEBziOo29Vy0A&s=-m0CdtDs46zJrVWQ-p7vOiTJB-TIgraCfdbQDgJqyM0&e=>, or unsubscribe<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AXDN3D545IPOGOWDHPCJAIDUWAZHZANCNFSM5LXF7LNQ&d=DwMCaQ&c=q6k2DsTcEGCcCb_WtVSz6hhIl8hvYssy7sH8ZwfbbKU&r=RuHtnlWlvUXLnyJh7OQlBzHRAiqrOJNsNVOZ5u11DCc&m=VmKnch8cqMWxa3V1oBl8MHA1NgKAtBrEBziOo29Vy0A&s=Suqllf_nuTQdrW5oYBspnQQYGlMEfHd10oXVpw_PAjE&e=>.
Triage notifications on the go with GitHub Mobile for iOS<https://urldefense.proofpoint.com/v2/url?u=https-3A__apps.apple.com_app_apple-2Dstore_id1477376905-3Fct-3Dnotification-2Demail-26mt-3D8-26pt-3D524675&d=DwMCaQ&c=q6k2DsTcEGCcCb_WtVSz6hhIl8hvYssy7sH8ZwfbbKU&r=RuHtnlWlvUXLnyJh7OQlBzHRAiqrOJNsNVOZ5u11DCc&m=VmKnch8cqMWxa3V1oBl8MHA1NgKAtBrEBziOo29Vy0A&s=edOfA5Z2XwGWW6Nodc7vJsclZ463XvnAP4dsRmsJ59I&e=> or Android<https://urldefense.proofpoint.com/v2/url?u=https-3A__play.google.com_store_apps_details-3Fid-3Dcom.github.android-26referrer-3Dutm-5Fcampaign-253Dnotification-2Demail-2526utm-5Fmedium-253Demail-2526utm-5Fsource-253Dgithub&d=DwMCaQ&c=q6k2DsTcEGCcCb_WtVSz6hhIl8hvYssy7sH8ZwfbbKU&r=RuHtnlWlvUXLnyJh7OQlBzHRAiqrOJNsNVOZ5u11DCc&m=VmKnch8cqMWxa3V1oBl8MHA1NgKAtBrEBziOo29Vy0A&s=YKKP8tm7vTHKqVnEf0mgMlzkUp88nEUNsdBxgPUlbAA&e=>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
Jaap1957
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello forum,
I try to use tutor7pp to find deposited energy. Here 3 maybe related questions about the exact meaning of edep.
In tutor7pp.cpp i meet Energy Deposited several times.
line 456: EGS_Float aux = the_epcont->edep*the_stack->wt[np];
This looks very well as edep times weight. wt seems mostly 1.
question 1: why is wt needed here?
468: aux = the_stack->wt[np]/the_stack->w[np]; 469: if (aux > 0) {
Before the binning, aux is redefined as weight / (z flight component)
question 2 : is this a bug? should not this be like:
468: float aux2 = the_stack->wt[np]/the_stack->w[np]; 469: if (aux2 > 0) {
further on i see
718: EGS_Float edep = score->currentScore(ireg+1);
Question 3: What is the relation of this 'score' edep to the " the_epcont->edep " ?
Thanks for reading !
Beta Was this translation helpful? Give feedback.
All reactions