Skip to content

Commit

Permalink
Update digitizer_and_detector_modeling.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
granadogmarc authored and Marc Granado committed Sep 18, 2024
1 parent f0942d6 commit 00397f2
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions docs/digitizer_and_detector_modeling.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1190,13 +1190,29 @@ This setup allows new virtual IDs for the XYZ axes to be assigned at the Layer,

*"useMacroGenerator"* boolean flag that determines if the user wants to generate the new geometry macro with the segmentation.

Example::



Example providing spatial resolution::

/gate/digitizerMgr/<sensitive_detector>/SinglesDigitizer/Singles/insert spatialResolution
/gate/digitizerMgr/<sensitive_detector>/SinglesDigitizer/Singles/spatialResolution/fwhm 2. mm

/gate/digitizerMgr/<sensitive_detector>/SinglesDigitizer/Singles/insert virtualSegmentation
/gate/digitizerMgr/<sensitive_detector>/SinglesDigitizer/Singles/virtualSegmentation/nameAxis XYZ
/gate/digitizerMgr/<sensitive_detector>/SinglesDigitizer/Singles/virtualSegmentation/useMacroGenerator true

In this case, a value for the FWHM for the spatial resolution was provided but no pitch size was given to the virtual segmentation. The module will read the value of spatial resolution and will generate a pitch size that is, at least, half of the value of the FWHM in spatial resolution.


Example providing the pitch::

/gate/digitizerMgr/<sensitive_detector>/SinglesDigitizer/Singles/insert virtualSegmentation
/gate/digitizerMgr/<sensitive_detector>/SinglesDigitizer/Singles/virtualSegmentation/nameAxis XYZ
/gate/digitizerMgr/<sensitive_detector>/SinglesDigitizer/Singles/virtualSegmentation/pitch 5.0 mm
/gate/digitizerMgr/<sensitive_detector>/SinglesDigitizer/Singles/virtualSegmentation/pitch 1.0 mm
/gate/digitizerMgr/<sensitive_detector>/SinglesDigitizer/Singles/virtualSegmentation/useMacroGenerator true

In this case, the pitch size is provided by the user and it will be used regardless of any values of FWHM provided in the spatial resolution module.



Expand Down

0 comments on commit 00397f2

Please sign in to comment.