The hadron process is needed in one projection, so according the code:
G4HadronInelasticProcess* process2 = new G4HadronInelasticProcess("neutronInelastic", G4Neutron::Definition());
in file “examples/extended/hadronic/Hadr04/src/NeutronHPphysics.cc” to construct hadron Inelastic process.
but How to define hadron?
_Geant4 Version:_11.2.0
_Operating System:_Ubuntu 20.04
_Compiler/Version:_GCC 9.4.0
_CMake Version:_3.16.3