Dears, Would you please give me a hint, how i can put the iodine source within a cylindrical geometry as a seed?
I put the iodine source at the center of the cylindrical geometry of length 10cm , r-min = 0cm and r_max=4cm.
Now, I need to distribute the source as a seed at 20mm gap from the center of the cylinder to the negative and positive direction of its axes but I couldn’t would anyone give me a clue?
Either use the G4GeneralParticleSource
with /gps/...
commands in your application code (instead of G4ParticleGun
), or write your own PrimaryGeneratorAction
to take care of the source position selection any way you want to via code.