|Message: Re: Optical Photons not getting reflected from Auminium.||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 have a question here: Why do you plot sum of photon energies per gamma event? Shouldn't the plot be number of photons produced per gamma event?
Regarding the reflective layer, to define a reflective surface, it is sufficient to set the properties that you want (either through logicalbordersurface or logicalskinsurface) to the surface that you want. For example, suppose you want to wrap your scintillator with an aluminium wrapper. Then you do not have to define an Aluminium layer. All you have to do is set the desired surface properties (dielectric_metal, polished, etc.) to the surface between the scintillator and the experimental hall. Please refer the Geant4 Application developer's manual for syntax regarding logical border surfaces, etc.
I use ROOT along with GEANT for data analysis like histogram plotting, etc.
Regarding the Compton effect, my guess is that, the problem is not the dimensions of the detector (I may be wrong). I have a couple of suggestions:
1. For a start, I would suggest you use a pre-defined physics list that satisfies your purposes, and register optical physics processes along with it. That way, you don't have to worry about what to include and exclude from the physics list.
2. As i said earlier, the energy deposited spectrum obtained from geant4 is an ideal spectrum that does not take into account the intrinsic resolution of the detector. So, plot a graph of energy deposited in the detector per gamma event, without involving optical photons (that is, directly retrieve energy deposited without using optical photons), and see if you get a very sharp peak at the energy of the gamma particle incident. Do not sum the energy deposited by the optical photons, as optical photons are produced in Geant without energy conservation.
Most likely you will get an ideal spectrum with a very sharp peak. To make the spectrum resemble a typical experimentally obtained spectrum, you have to "smear" the spectrum using a "detector resolution".
Hope this helps,