Re: [fluka-discuss]: Building an ideal pixelated X-ray detector

From: Santana, Mario <msantana_at_slac.stanford.edu>
Date: Sun, 17 Mar 2019 21:56:42 +0000

Hi,


If the pixel is deep (z axis), then particles hitting the near edge of a voxel and with the ‘right’ angle will also enter neighboring voxels(s), their track will be apportioned to several voxels so your ‘detector’ will have some resolution blur, so make them very thin, unless you are trying to reproduce a realistic detector. Anyway, what is the material of your detector? Is it ‘vacuum’?

You could probably implement the same scheme (without the DeltaZ uncertainty) via mgdraw.f routine, but I guess here the advantage is that you get a file that is easier to plot with standard tools, e.g. Flair.

Finally, are you sure ZZ is providing you with what you want? Not TZZ? Nor ‘cztrck' via \(TRACKR\) COMMON?

-M

On Mar 17, 2019, at 10:05 AM, Primidis, Thomas <Thomas.Primidis_at_liverpool.ac.uk<mailto:Thomas.Primidis_at_liverpool.ac.uk>> wrote:


Dear all,



I wish to simulate a pixelated detector that scores the photon energy/cm2/primary that “reaches” each of its pixels. To do so I have used a USRBIN as bellow. It is parallel to the XY plane.


USRBIN 10. PHOTON -21. 1.8 1.3 16.00051detector
USRBIN -1.8 -1.3 16. 360. 260. 1. &

along with fluscw.f as such:

      INCLUDE '(SCOHLP)'
      IF ( ISCRNG.EQ.2 ) THEN
      IF ( PLA.GE.ZERZER ) THEN
      FLUSCW = PLA*(ZZ*1D-4)
      ELSE
      FLUSCW = -PLA*(ZZ*1D-4)
      END IF
      ENDIF
      LSCZER = .FALSE.
      RETURN
*=== End of function Fluscw ===========================================*
      END


In short, when the scorer is a USRBIN it multiplies with the energy to get the energy fluence and then it multiplies with the Z-direction cosine to get rid of the 1/cosz of the fluence.



Could you please confirm this indeed simulates a perfect X-ray detector which scores the energy/cm2/primary that reaches its pixels? Does the pixel width on the Z axis effect my results in any way? I used a small width to avoid measuring twice any X-rays that could pass through two pixels in case they come almost parallel to the detector.



P.S.
I am using fluka2011.2x
In fluscw.f, ZZ returns the Z direction cosine multiplied by 1E4 so I have to divide to get the actual value.



Best regards,
Thomas


__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Sun Mar 17 2019 - 23:57:58 CET

This archive was generated by hypermail 2.3.0 : Sun Mar 17 2019 - 23:58:02 CET