-
|
I want to place around 100 detector on a circle around the source.but I don't kown how to accuratly set the coordinate and the angle of them.And another question,how to define a material that is not included in pegs4,such as alloy made of Zn and Cu.I well be very grateful if anyone could tell me the answer. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Create one detector geometry, then 100 egs_gtransformed geometries, each with the corresponding rotation and translation. Envelope all of these inside an air box. Or, you can use a radial repeater, but this does not let you rotate the geometry as I think you would like. https://nrc-cnrc.github.io/EGSnrc/doc/pirs898/classEGS__TransformedGeometry.html For materials, they must all either be in the .pegs4dat file, or in the input file as "pegsless" materials. I recommend the latter option, which as instructions for creating new materials here: https://github.com/nrc-cnrc/EGSnrc/wiki/Generating-density-effect-correction-files-with-ESTAR |
Beta Was this translation helpful? Give feedback.
Create one detector geometry, then 100 egs_gtransformed geometries, each with the corresponding rotation and translation. Envelope all of these inside an air box. Or, you can use a radial repeater, but this does not let you rotate the geometry as I think you would like.
https://nrc-cnrc.github.io/EGSnrc/doc/pirs898/classEGS__TransformedGeometry.html
https://nrc-cnrc.github.io/EGSnrc/doc/pirs898/classEGS__EnvelopeGeometry.html
https://nrc-cnrc.github.io/EGSnrc/doc/pirs898/classEGS__RadialRepeater.html
For materials, they must all either be in the .pegs4dat file, or in the input file as "pegsless" materials. I recommend the latter option, which as instructions for creating new materials here: