Spherical Phase Space file #984
-
Hi, I used Method 2 to define a scorer to generate a phsp file containing all particles exiting the smaller sphere and entering the larger one, but it seems the scorer took into account all particles inside the smaller sphere! Any comments? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
The egs++ phase-space scoring code is fairly new, so this could be a bug. If your inner sphere is region 1, and the outer sphere is region 2, then this should work (but I haven't tried) to score the particles on the surface between the two spheres. How are you testing the phase-space to confirm?
Duplicate post: |
Beta Was this translation helpful? Give feedback.
-
Hi @rtownson, As you recommended, I generated a couple of phase space files in the IAEA format. I analyzed them by BEAMdp and it seems the particles' data were scored well in the files. In EGS_Application::initSimulation() It seems there is an issue with the reading of the IAEAphsp files since I tried for EGSnrc format and everything worked fine... Any comment? |
Beta Was this translation helpful? Give feedback.
Yes, BEAMDP can read IAEA phase-space files. It just doesn't print the z position. Here are some changes to beamdp to fix that. Make these changes and recompile beamdp.