Geant4 Cross Reference |
1 Note that this is a *generic* guide, allowing the use of the `FLUKA` interface in *any* G4 application. 2 If you are interested in studying the XS and final states at the interaction level, 3 or if you have never used the interface to `FLUKA` before, 4 please directly follow the `README.md` files included in 5 `ProcessLevel/CrossSection` and `ProcessLevel/FinalState`. 6 7 If you want to integrate a physics list including FLUKA hadron-nucleus inelastic models into your G4 application, 8 please follow `FlukaCern/FlukaInterface/README.md`. 9 You will find there a generic guide, allowing you to use the `FLUKA` interface in *any* G4 application. 10 It notably contains a list of dependencies, how to setup your environment, 11 and how to adapt your build system. 12 13 In order to include the `G4_HP_CernFLUKAHadronInelastic_PhysicsList` into the source of your application, 14 you can then follow what has been done in `FlukaCern/ProcessLevel/CrossSection/HadronNucleusXS.cc`. 15 Note that the integration of that `PhysicsList` is similar to the integration of any other custom PhysicsList, 16 with, in addition, the `G4_USE_FLUKA` treatment, and the necessary call to `fluka_particle_table::initialize()`.