How can I learn and navigate the egs++ class library? #793
-
I'm trying to experiment with making some new geometries and manipulating some of the example simulations in the EGS manual and the C++ class library but the library can be pretty hard to navigate. Is there any easy way to navigate these barriers or is it just sheer will and determination in learning each class? Is there an alphabetical list of all the libraries, classes, or commands? Any help would be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 15 replies
-
Here is a list of geometries, not sure why is isn't alphabetical: Here is a list of all the egs++ classes, which is alphabetical: Essentially you have to combine the "common" input syntax (https://nrc-cnrc.github.io/EGSnrc/doc/pirs898/common.html) with the syntax you find for each of the sources, geometries, and ausgab objects on their respective pages. Of course, let me know if you have any specific questions! |
Beta Was this translation helpful? Give feedback.
-
@rtownson I know that egs_view uses levels of transparency to simulate energy of particles but is there a way to track the energy of a particle using a multitude of colors? Say for instance: 6 different colors for photons of energy 0-1 MeV, 1-2 MeV, 2-3 MeV, 3-4 MeV, 4-5 MeV, 5-6 MeV |
Beta Was this translation helpful? Give feedback.
-
@rtownson I'm trying to create a gaussian beam that strikes a tungsten target but I'm having some trouble. I can simulate the tungsten target easily but the beam is more complicated. I know that the library used is egs_gaussian_shape but beyond that I'm unsure of the syntax. I've looked for examples but can't find any. Any help would be appreciated. |
Beta Was this translation helpful? Give feedback.
Here is a list of geometries, not sure why is isn't alphabetical:
https://nrc-cnrc.github.io/EGSnrc/doc/pirs898/group__Geometry.html
Here is a list of all the egs++ classes, which is alphabetical:
https://nrc-cnrc.github.io/EGSnrc/doc/pirs898/annotated.html
Essentially you have to combine the "common" input syntax (https://nrc-cnrc.github.io/EGSnrc/doc/pirs898/common.html) with the syntax you find for each of the sources, geometries, and ausgab objects on their respective pages.
Of course, let me know if you have any specific questions!