I am having trouble registering the G4NeutronCaptureProcess in my PhysicsList.cc file. I have followed the example listed in the V11 Book for Application Developers on page 230 of the PDF.
I am able to complete almost all the steps to register the process; however, when I get to the final step of adding the neutron capture process to a list of discrete processes, I get a segmentation fault error.
I have attached my code to this post. Please let me know if you all need anything else from me. I thank you all in advance for your help.
PhysicsList.txt (1.9 KB)