|Message: Re: Energy deposited is larger than the energy of the primary gamma beam||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 very much for your reply.
I was able to find some more information regarding my simulation.
1. Regarding the larger energy deposition than the energy of the primary beam in a NaI scintillator, the code counted energy deposition also for opticalphotons that step from a physical volume of NaI (PreStepPoint) to photonDet (PostStepPoint). These minor increments in energy deposition caused the energy deposited to be larger than the energy of the primary beam. I hard-coded an if statement in SensitiveDetector.cc to count the energy deposition only if the physical volume for PreStepPoint and PostStepPoint of a particle comes from NaI physical volume only. In this way the code counts only energy deposition from e- particles stepping in NaI physical volume (I haven't observed any other particles causing energy deposition in my simple example of one gamma event with energy of 1MeV). Not sure it this the right way of doing things but it seems to work for my simple example. Would you have any comments to my observation?
Snap shot of the geometry is pictured in the attached png image file. The scintillator consists of a NaI volume (blue) & a photon detector (red) (made of a metallic disc positioned at the back of NaI volume). Both volumes are housed within a mother AlHousing cylinder volume (white). 1MeV gamma beam outside of the AlHousing is shown in green and the opticalphotons generated in NaI are shown also in green.
2. Regarding the necessity of refractive index definition for AlHousing, my understanding was to define this physical quantity for both materials that form a boundary interface described via G4LogicalBorderSurface.
3. Regarding the reflectivity of 94% for NaI internal walls instead of 100%: since we don't know what the reflector in a real NaI scintillator is made of, the value of 94% seems to show the best agreement with spectral measurement.
4. Regarding the number of detected opticalphotons: thank you for your explanation and guidance.
|Inline Depth:||Outline Depth:||Add message:|