Objects differentiation

Respected Jerzy,

I am working on scoring the backscatter photons across the entire geometry, specifically targeting Compton-scattered photons influenced by material density. We had discussion in the following post ( Photon backscattering depth measurement and modifying angular distribution graph).
The goal is to clearly differentiate between the materials and object shapes, as I have successfully done in this case.

image
Here I had two objects same as asked in question one was carbon where as one was Copper but were not enclosed inside a box.

However, the objects should still be distinguishable based on their shapes and materials. In another example, I used concrete with rebar reinforcement inside it, but I was unable to reconstruct the entire geometry from the backscatter photons. Additionally, the steel rebars were not detected in the backscatter photons.


for this geometry was like this
Screenshot from 2024-08-22 16-49-53

In another example, I had a wall composed of different layers such as concrete, soil, and paint. I set the conditions like this: (IF(NRGNAM .EQ. "AIR" .AND. MRGNAM.EQ."TARGET" .OR. MRGNAM.EQ."soil" .OR. MRGNAM.EQ."paint" )). The results I obtained seemed reasonable, but I’m uncertain if the condition was correctly set. I also modified the MRGNAM in both USDRAW and stupre.f.

The three layers were clearly distinguishable: the first from -2 to -1, the second from 0 to 1, and the final one from 0 to 2, based on both density and geometry, as shown.

Screenshot from 2024-08-22 16-46-55

I am attaching my input files and routines with this email for the original question I asked.

wk1025-mgdraww.flair (7.8 KB)
mgdraw_bdx_C2.f (7.2 KB)
stupre.f (4.1 KB)

Thank you for your help, but I’ve set this up.