Registering Neutron Capture Process in PhysicsList

Hello everyone,

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)

Please find the updated PhysicsList in this message. I still am having the same “segmentation fault” error, however.
PhysicsList.txt (1.7 KB)

you do not have to define G4NeutronCaptureProcess here. It is already included in G4HadronPhysicsFTFP_BERT_HP

See typical PhysicsLists in examples Hadr05, 06, 07

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.