How to define hadron?

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/” 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

Sorry, what do you mean by “how to define hadron”? Particles are nominally constructed in the physics list by “builder” methods, see, e.g. examples/extended/hadronic/Hadr04/src/ · master · geant4 / geant4 · GitLab

@bmorgan , thank you, i will try!