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 85fcb59 commit 829889d
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions docs/digitizer_and_detector_modeling.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1182,6 +1182,43 @@ The size of the crystal should be defined at the Submodule level using Air as th
The crystal and layer0 levels should both reflect the crystal size and use the crystal's material.
This setup allows new virtual IDs for the XYZ axes to be assigned at the Layer, Crystal, and Submodule levels, respectively.

Example::

# C R Y S T A L
/gate/rsector/daughters/name crystal
/gate/rsector/daughters/insert box
/gate/crystal/geometry/setXLength 10. mm
/gate/crystal/geometry/setYLength 59. mm
/gate/crystal/geometry/setZLength 59. mm
/gate/crystal/setMaterial Air

# COLUMN

/gate/crystal/daughters/name column
/gate/crystal/daughters/insert box
/gate/column/geometry/setXLength 10. mm
/gate/column/geometry/setYLength 59. mm
/gate/column/geometry/setZLength 59. mm
/gate/column/setMaterial Air


#ROW
/gate/column/daughters/name row
/gate/column/daughters/insert box
/gate/row/geometry/setXLength 10. mm
/gate/row/geometry/setYLength 59. mm
/gate/row/geometry/setZLength 59. mm
/gate/row/setMaterial Air

#Pseudo-Crystal
/gate/row/daughters/name pseudo-crystal
/gate/row/daughters/insert box
/gate/pseudo-crystal/geometry/setXLength 10. mm
/gate/pseudo-crystal/geometry/setYLength 59. mm
/gate/pseudo-crystal/geometry/setZLength 59. mm
/gate/pseudo-crystal/setMaterial PWO


**Commands**

*"nameAxis"* Enable users to specify which axes require discretization. The axis selected can be any combination of "XYZ", "XY", "XZ" or "YZ", "X", "Y" or "Z".
Expand Down

0 comments on commit 829889d

Please sign in to comment.