I"©

A simple use of G4CAMP as a python module can be like this:

    from g4camp.g4camp import g4camp

    # initialize and configure
    sim = g4camp(...)
    sim.setXXX(...)
    sim.configure()

    # run simulation
    for data in app.run(n_events=10):
        particles = data.particles
        tracks = data.tracks
        photons = data.photons
        # do something else...

## Initialization

Initilization is made by calling `g4camp()`. The arguments are the following:

- `physics`: â€˜Customâ€™ or any standard Geant4 physics list (â€˜QGSP_BERTâ€™, â€˜FTFP_BERTâ€™, and others, see Reference Physics Lists)

:ET