Define the Source and the macro file

Hi Dear Geant4 users.
I’m Trying to define the my gamma source for simulation.
I have a geometry with a dimension 452.8 m3 it’s confined as the gamma source (type : Volume and shape : paralepiped).
source.cc (411 Bytes)
Can someone let me know, it’s a right definition I did here ?

And the second hand, I want to define the Pb-214 source in the mac file with the energies (0.2952, 0.338 and 0.3519 MeV) and the emissions probabilities respectively (19.2, 11.3 and 37.2 %). It’s right what I did here ?
Pb214.cc (938 Bytes)

Thank for your help

1 Like

The dimension of geometry is 4x5x2.8 m3.