Radioactive Source Modeling

Hello everyone,
I have source energies and it’s probability of radioactive source. Can I model radioactive source using energies and it’s probability ? Any example related for this problem? Thank you.

you can use GeneralParticleSource with user defined energy histogram like in this example Geant4 GPS Examples.


I couldn’t find that example. Please give me name of example in basic, advance or extended folder. Thank you very much for the reply.

It’s not in the Geant4 distribution. Did you folow the link?

1 Like

Yes, I have followed. I understood. Thank you very much.

Hello sir,
I don’t know the meaning of
1.0 0.
2.0 5.
7.0 1.
10. 1.
In the last 4 lines. Please help me.

/gps/hist/point 1.0 0.
/gps/hist/point 2.0 5.
/gps/hist/point 7.0 1.
/gps/hist/point 10. 1.

Thank you!

The documentation includes a section describing all of the macro commands. If there’s missing information, please let us know.

1 Like

Thank you very much mkelsey.

The first value is the energy and the second value is its weight, right?

/gps/hist/point energy weight

1 Like

Dear @kitu.utkarsh ,

please follow the documentation as suggested by @mkelsey. You can find the answer there. The documents should contain all the info you may need. If not… really let us know and we’ll try to improve it.

1 Like

Sure, thanks a lot. I will try to again go through the doc. and will reach out for any clarifications if any.

Yes. It is weight of energy.