|
gphysics
|
Minimal example showing how to define gphysics options and instantiate GPhysics. More...

Go to the source code of this file.
Functions | |
| int | main (int argc, char *argv[]) |
| Program entry point. | |
This example demonstrates the typical integration pattern:
The example is intentionally minimal and does not attach the resulting physics list to a Geant4 run manager. It is meant as a compilation and usage reference for the module API.
Usage:
Definition in file gphysics_example.cc.
| int main | ( | int | argc, |
| char * | argv[] ) |
This function:
showPhysics is enabled, orphys_list.| argc | Number of command line arguments. |
| argv | Array of command line argument strings. |
EXIT_SUCCESS on normal completion). Definition at line 43 of file gphysics_example.cc.