Event Generation Process

The event generation process is a critical first step in our simulation pipeline. It involves creating simulated particle interactions that mimic real-world physics events. This process is typically carried out using specialized scripts, such as gen_zee.py, which are designed to generate events based on specific parameters and configurations.

During event generation, we define various parameters, including the number of events to generate, the output file format, and the characteristics of the particles involved. The script utilizes a random number generator to simulate the inherent uncertainties in particle interactions, ensuring that the generated events are representative of actual experimental conditions.

The generated events can then be used for further analysis, including shower propagation, digitalization, and event reconstruction. This allows researchers to study the properties of particles and their interactions in a controlled environment, facilitating a deeper understanding of high-energy physics phenomena.

Table of Contents:

  • How to create :math:`Zrightarrow ee events? <#zee>`__

  • How to create minumum bias events?

  • How to create Jets?

  • How to create single electrons?

  • How to use the job configuration?

  • Let’s run!

## How to create \(Z\rightarrow ee\) events?

Let’s create a Z boson decay into an electron-positron pair using the gen_zee.py command. 🎉 This process is crucial for simulating the interactions that occur in high-energy physics experiments. By generating these events, we can study the properties of the Z boson and its decay channels in detail.

To initiate the event generation, we specify parameters such as the average pileup, event number, and output file name. This allows us to customize the simulation according to our experimental needs.

[2]:
!gen_zee.py
Module libc not found.
Usage: gen_zee.py [--run-number RUN_NUMBER] [--output-level OUTPUT_LEVEL]
                  [--eta-max ETA_MAX] [--force-forward-electron]
                  [--zero-vertex-particles] [--zee-file ZEE_FILE]
                  [-e EVENT_NUMBERS] -o OUTPUT_FILE [-s SEED]
                  [--nov NUMBER_OF_EVENTS] [--events-per-job EVENTS_PER_JOB]
                  [-nt NUMBER_OF_THREADS] [-m] [--overwrite] [--dry-run]
                  [--job-file JOB_FILE]

Options:
  --run-number RUN_NUMBER
                        The run number.
  --output-level OUTPUT_LEVEL
                        The output level messenger.
  --eta-max ETA_MAX     The eta max used in generator.
  --force-forward-electron
                        Force at least one electron into forward region.
  --zero-vertex-particles
                        Fix the z vertex position in simulation to zero for
                        all selected particles. It is applied only at G4 step,
                        not in generation.
  --zee-file ZEE_FILE   The pythia zee file configuration.
  -e, --event-numbers EVENT_NUMBERS
                        The event number list separated by ','. e.g.
                        --event-numbers '0,1,2,3'
  -o, --output-file OUTPUT_FILE
                        The output file.
  -s, --seed SEED       The pythia seed (zero is the clock system)
  --nov, --number-of-events NUMBER_OF_EVENTS
                        The total number of events to run.
  --events-per-job EVENTS_PER_JOB
                        The number of events per job
  -nt, --number-of-threads NUMBER_OF_THREADS
                        The number of threads
  -m, --merge           Merge all files.
  --overwrite           Rerun all jobs.
  --dry-run             Perform a dry run without executing jobs.
  --job-file JOB_FILE   The JSON file used to configure this job automatically
                        by overwritting some arguments.

This command will create 20 events, 5 event per job using 2 threads. The dry_run command is used here just to avoid the execution. This is a test.

[3]:
!gen_zee.py -o Zee.EVT.root --nov 20 --events-per-job 5 -nt 2 --dry-run
Module libc not found.
{'Zee.EVT.0.root': {'evt': [0, 1, 2, 3, 4], 'seed': 413654000},
 'Zee.EVT.1.root': {'evt': [5, 6, 7, 8, 9], 'seed': 813847340},
 'Zee.EVT.2.root': {'evt': [10, 11, 12, 13, 14], 'seed': 451585302},
 'Zee.EVT.3.root': {'evt': [15, 16, 17, 18, 19], 'seed': 43469774}}
{'eta_max': 3.2,
 'force_forward_electron': False,
 'logging_level': 'INFO',
 'run_number': 0,
 'zee_file': '/home/joao.pinto/git_repos/lorenzetti/build/data/evtgen/zee_config.cmnd',
 'zero_vertex_particles': False}

NOTE: To run the generation, just remove the dry-run argument.

## How to create minimum bias events?

[4]:
!gen_minbias.py
Module libc not found.
Usage: gen_minbias.py [--run-number RUN_NUMBER] [--output-level OUTPUT_LEVEL]
                      [--eta-max ETA_MAX]
                      [--pileup-per-bunch-crossing PILEUP_PER_BUNCH_CROSSING]
                      [--bc-id-start BC_ID_START] [--bc-id-end BC_ID_END]
                      [--bc-duration BC_DURATION] [--pileup-file PILEUP_FILE]
                      [-e EVENT_NUMBERS] -o OUTPUT_FILE [-s SEED]
                      [--nov NUMBER_OF_EVENTS]
                      [--events-per-job EVENTS_PER_JOB]
                      [-nt NUMBER_OF_THREADS] [-m] [--overwrite] [--dry-run]
                      [--job-file JOB_FILE]

Options:
  --run-number RUN_NUMBER
                        The run number.
  --output-level OUTPUT_LEVEL
                        The output level messenger.
  --eta-max ETA_MAX     Maximum Eta.
  --pileup-per-bunch-crossing PILEUP_PER_BUNCH_CROSSING
                        The fixed number of pileup for each bunch crossing.
  --bc-id-start BC_ID_START
                        The bunch crossing id start.
  --bc-id-end BC_ID_END
                        The bunch crossing id end.
  --bc-duration BC_DURATION
                        The bunch crossing duration (in nanoseconds).
  --pileup-file PILEUP_FILE
                        The pythia pileup file configuration.
  -e, --event-numbers EVENT_NUMBERS
                        The event number list separated by ','. e.g.
                        --event-numbers '0,1,2,3'
  -o, --output-file OUTPUT_FILE
                        The output file.
  -s, --seed SEED       The pythia seed (zero is the clock system)
  --nov, --number-of-events NUMBER_OF_EVENTS
                        The total number of events to run.
  --events-per-job EVENTS_PER_JOB
                        The number of events per job
  -nt, --number-of-threads NUMBER_OF_THREADS
                        The number of threads
  -m, --merge           Merge all files.
  --overwrite           Rerun all jobs.
  --dry-run             Perform a dry run without executing jobs.
  --job-file JOB_FILE   The JSON file used to configure this job automatically
                        by overwritting some arguments.

This command creates minimum bias files using the initial seed provided by the user. Each bunch crossing will be filled with pileup equal to the number specified by the --pileup-per-bunch-crossing parameter, ensuring that --eta-max (\(\eta_{max}\leq2.5\)). In total, 100 events will be generated, with 10 events per job, utilizing only one thread.

[5]:
!gen_minbias.py -o MB.EVT.root --seed 512 -nt 1 --pileup-per-bunch-crossing 1 --eta-max 2.5 --events-per-job 10 --nov 100 --dry-run
Module libc not found.
{'MB.EVT.0.root': {'evt': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 'seed': 20387086},
 'MB.EVT.1.root': {'evt': [10, 11, 12, 13, 14, 15, 16, 17, 18, 19],
                   'seed': 874807135},
 'MB.EVT.2.root': {'evt': [20, 21, 22, 23, 24, 25, 26, 27, 28, 29],
                   'seed': 471648295},
 'MB.EVT.3.root': {'evt': [30, 31, 32, 33, 34, 35, 36, 37, 38, 39],
                   'seed': 152360332},
 'MB.EVT.4.root': {'evt': [40, 41, 42, 43, 44, 45, 46, 47, 48, 49],
                   'seed': 354838602},
 'MB.EVT.5.root': {'evt': [50, 51, 52, 53, 54, 55, 56, 57, 58, 59],
                   'seed': 442384353},
 'MB.EVT.6.root': {'evt': [60, 61, 62, 63, 64, 65, 66, 67, 68, 69],
                   'seed': 388525902},
 'MB.EVT.7.root': {'evt': [70, 71, 72, 73, 74, 75, 76, 77, 78, 79],
                   'seed': 669594479},
 'MB.EVT.8.root': {'evt': [80, 81, 82, 83, 84, 85, 86, 87, 88, 89],
                   'seed': 435449645},
 'MB.EVT.9.root': {'evt': [90, 91, 92, 93, 94, 95, 96, 97, 98, 99],
                   'seed': 840205357}}
{'bc_id_end': 4,
 'bc_id_start': -21,
 'eta_max': 2.5,
 'logging_level': 'INFO',
 'mb_file': '/home/joao.pinto/git_repos/lorenzetti/build/data/evtgen/minbias_config.cmnd',
 'pileup_per_bunch_crossing': 1.0,
 'run_number': 0}

NOTE: To run the generation, just remove the dry-run argument.

## How to create Jets?

[6]:
!gen_jets.py
Module libc not found.
Usage: gen_jets.py [--run-number RUN_NUMBER] [--output-level OUTPUT_LEVEL]
                   [--eta-min ETA_MIN] [--eta-max ETA_MAX]
                   [--energy-min ENERGY_MIN] [--energy-max ENERGY_MAX]
                   [--jf17-file JF17_FILE] [-e EVENT_NUMBERS] -o OUTPUT_FILE
                   [-s SEED] [--nov NUMBER_OF_EVENTS]
                   [--events-per-job EVENTS_PER_JOB] [-nt NUMBER_OF_THREADS]
                   [-m] [--overwrite] [--dry-run] [--job-file JOB_FILE]

Options:
  --run-number RUN_NUMBER
                        The run number.
  --output-level OUTPUT_LEVEL
                        The output level messenger.
  --eta-min ETA_MIN     The eta min used in generator.
  --eta-max ETA_MAX     The eta max used in generator.
  --energy-min ENERGY_MIN
                        Minimum energy
  --energy-max ENERGY_MAX
                        Maximum energy
  --jf17-file JF17_FILE
                        The pythia JF17 file configuration.
  -e, --event-numbers EVENT_NUMBERS
                        The event number list separated by ','. e.g.
                        --event-numbers '0,1,2,3'
  -o, --output-file OUTPUT_FILE
                        The output file.
  -s, --seed SEED       The pythia seed (zero is the clock system)
  --nov, --number-of-events NUMBER_OF_EVENTS
                        The total number of events to run.
  --events-per-job EVENTS_PER_JOB
                        The number of events per job
  -nt, --number-of-threads NUMBER_OF_THREADS
                        The number of threads
  -m, --merge           Merge all files.
  --overwrite           Rerun all jobs.
  --dry-run             Perform a dry run without executing jobs.
  --job-file JOB_FILE   The JSON file used to configure this job automatically
                        by overwritting some arguments.

This command will generate jet files, producing a total of 100 events, with 10 events per job, utilizing 10 threads. The initial seed is set to 512, and the run number corresponds to the current date provided by the user.

[7]:
!gen_jets.py -o Jets.EVT.root --nov 100 --events-per-job 10 -nt 10 -m -s 512 --run-number 20251115 --dry-run
Module libc not found.
{'Jets.EVT.0.root': {'evt': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 'seed': 20387086},
 'Jets.EVT.1.root': {'evt': [10, 11, 12, 13, 14, 15, 16, 17, 18, 19],
                     'seed': 874807135},
 'Jets.EVT.2.root': {'evt': [20, 21, 22, 23, 24, 25, 26, 27, 28, 29],
                     'seed': 471648295},
 'Jets.EVT.3.root': {'evt': [30, 31, 32, 33, 34, 35, 36, 37, 38, 39],
                     'seed': 152360332},
 'Jets.EVT.4.root': {'evt': [40, 41, 42, 43, 44, 45, 46, 47, 48, 49],
                     'seed': 354838602},
 'Jets.EVT.5.root': {'evt': [50, 51, 52, 53, 54, 55, 56, 57, 58, 59],
                     'seed': 442384353},
 'Jets.EVT.6.root': {'evt': [60, 61, 62, 63, 64, 65, 66, 67, 68, 69],
                     'seed': 388525902},
 'Jets.EVT.7.root': {'evt': [70, 71, 72, 73, 74, 75, 76, 77, 78, 79],
                     'seed': 669594479},
 'Jets.EVT.8.root': {'evt': [80, 81, 82, 83, 84, 85, 86, 87, 88, 89],
                     'seed': 435449645},
 'Jets.EVT.9.root': {'evt': [90, 91, 92, 93, 94, 95, 96, 97, 98, 99],
                     'seed': 840205357}}
{'energy_max': 6500,
 'energy_min': 17,
 'eta_max': 3.2,
 'eta_min': 0.0,
 'jf17_file': '/home/joao.pinto/git_repos/lorenzetti/build/data/evtgen/jet_config.cmnd',
 'logging_level': 'INFO',
 'run_number': 20251115}

## How to create single electrons?

[8]:
!gen_single.py
Module libc not found.
Usage: gen_single.py [--run-number RUN_NUMBER] [--output-level OUTPUT_LEVEL]
                     -p PARTICLE [--energy-min ENERGY_MIN]
                     [--energy-max ENERGY_MAX] [--energy ENERGY] [--eta ETA]
                     [--phi PHI] [--do-eta-ranged DO_ETA_RANGED]
                     [--eta-min ETA_MIN] [--eta-max ETA_MAX]
                     [--do-phi-ranged DO_PHI_RANGED] [--phi-min PHI_MIN]
                     [--phi-max PHI_MAX] [-e EVENT_NUMBERS] -o OUTPUT_FILE
                     [-s SEED] [--nov NUMBER_OF_EVENTS]
                     [--events-per-job EVENTS_PER_JOB] [-nt NUMBER_OF_THREADS]
                     [-m] [--overwrite] [--dry-run] [--job-file JOB_FILE]

Options:
  --run-number RUN_NUMBER
                        The run number.
  --output-level OUTPUT_LEVEL
                        The output level messenger.
  -p, --particle PARTICLE
                        The single particle type: ['Electron', 'Neutrino',
                        'Photon', 'PiZero', 'PiPlus']
  --energy-min ENERGY_MIN
                        Energy min in GeV.
  --energy-max ENERGY_MAX
                        Energy max in GeV.
  --energy ENERGY       Energy in GeV.
  --eta ETA             Eta position.
  --phi PHI             Phi position.
  --do-eta-ranged DO_ETA_RANGED
                        Enable eta range.
  --eta-min ETA_MIN     Minimum Eta.
  --eta-max ETA_MAX     Maximum Eta.
  --do-phi-ranged DO_PHI_RANGED
                        Enable phi range.
  --phi-min PHI_MIN     Minimum Phi.
  --phi-max PHI_MAX     Maximum Phi.
  -e, --event-numbers EVENT_NUMBERS
                        The event number list separated by ','. e.g.
                        --event-numbers '0,1,2,3'
  -o, --output-file OUTPUT_FILE
                        The output file.
  -s, --seed SEED       The pythia seed (zero is the clock system)
  --nov, --number-of-events NUMBER_OF_EVENTS
                        The total number of events to run.
  --events-per-job EVENTS_PER_JOB
                        The number of events per job
  -nt, --number-of-threads NUMBER_OF_THREADS
                        The number of threads
  -m, --merge           Merge all files.
  --overwrite           Rerun all jobs.
  --dry-run             Perform a dry run without executing jobs.
  --job-file JOB_FILE   The JSON file used to configure this job automatically
                        by overwritting some arguments.

Let’s create single electron particles between an specific \(\eta\) region in the detector.

[9]:
!gen_single.py -p Electron --eta-min 0 --eta-max 1.8 -nt 1 --events-per-job 1 --nov 10 -o Electron.EVT.root -m --dry-run
Module libc not found.
{'Electron.EVT.0.root': {'evt': [0], 'seed': 413654000},
 'Electron.EVT.1.root': {'evt': [1], 'seed': 813847340},
 'Electron.EVT.2.root': {'evt': [2], 'seed': 451585302},
 'Electron.EVT.3.root': {'evt': [3], 'seed': 43469774},
 'Electron.EVT.4.root': {'evt': [4], 'seed': 278009743},
 'Electron.EVT.5.root': {'evt': [5], 'seed': 548977049},
 'Electron.EVT.6.root': {'evt': [6], 'seed': 521760890},
 'Electron.EVT.7.root': {'evt': [7], 'seed': 434794719},
 'Electron.EVT.8.root': {'evt': [8], 'seed': 841597327},
 'Electron.EVT.9.root': {'evt': [9], 'seed': 891047769}}
{'do_eta_ranged': False,
 'do_phi_ranged': False,
 'energy': -1,
 'energy_max': -1,
 'energy_min': -1,
 'eta': 0.0,
 'eta_max': 1.8,
 'eta_min': 0.0,
 'logging_level': 'INFO',
 'particle': 'Electron',
 'phi': 1.52,
 'phi_max': 3.14,
 'phi_min': -3.14,
 'run_number': 0}

## How to use the job configuration?

The job configuration can be specified using the --job-file parameter, allowing the user to provide a JSON file that overrides the default parameters for the job execution.

[10]:
import json

with open('config.json', 'w') as f:
    d = {
        'run_number': 20251116,
        'eta_min'   : 0,
        'eta_max'   : 2.5,
        'seed'      : 512,
        'particle'  : 'Electron',
        'energy_min': 50, # GeV
        'energy_max': 150, # GeV,
    }
    json.dump(d,f)
[11]:
!gen_single.py --job-file config.json --nov 100 --events-per-job 10 -nt 10 --dry-run -o Electron.EVT.root -p Electron
Module libc not found.
overwritting run_number with value 0 to new value 20251116
overwritting particle with value Electron to new value Electron
overwritting energy_min with value -1 to new value 50
overwritting energy_max with value -1 to new value 150
overwritting eta_min with value -2.5 to new value 0
overwritting eta_max with value 2.5 to new value 2.5
overwritting seed with value 0 to new value 512
{'Electron.EVT.0.root': {'evt': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
                         'seed': 20387086},
 'Electron.EVT.1.root': {'evt': [10, 11, 12, 13, 14, 15, 16, 17, 18, 19],
                         'seed': 874807135},
 'Electron.EVT.2.root': {'evt': [20, 21, 22, 23, 24, 25, 26, 27, 28, 29],
                         'seed': 471648295},
 'Electron.EVT.3.root': {'evt': [30, 31, 32, 33, 34, 35, 36, 37, 38, 39],
                         'seed': 152360332},
 'Electron.EVT.4.root': {'evt': [40, 41, 42, 43, 44, 45, 46, 47, 48, 49],
                         'seed': 354838602},
 'Electron.EVT.5.root': {'evt': [50, 51, 52, 53, 54, 55, 56, 57, 58, 59],
                         'seed': 442384353},
 'Electron.EVT.6.root': {'evt': [60, 61, 62, 63, 64, 65, 66, 67, 68, 69],
                         'seed': 388525902},
 'Electron.EVT.7.root': {'evt': [70, 71, 72, 73, 74, 75, 76, 77, 78, 79],
                         'seed': 669594479},
 'Electron.EVT.8.root': {'evt': [80, 81, 82, 83, 84, 85, 86, 87, 88, 89],
                         'seed': 435449645},
 'Electron.EVT.9.root': {'evt': [90, 91, 92, 93, 94, 95, 96, 97, 98, 99],
                         'seed': 840205357}}
{'do_eta_ranged': False,
 'do_phi_ranged': False,
 'energy': -1,
 'energy_max': 150,
 'energy_min': 50,
 'eta': 0.0,
 'eta_max': 2.5,
 'eta_min': 0,
 'logging_level': 'INFO',
 'particle': 'Electron',
 'phi': 1.52,
 'phi_max': 3.14,
 'phi_min': -3.14,
 'run_number': 20251116}

## Let’s run!

[12]:
!gen_single.py --job-file config.json --nov 10 -nt 1 -o Electron.EVT.root -p Electron
Module libc not found.
overwritting run_number with value 0 to new value 20251116
overwritting particle with value Electron to new value Electron
overwritting energy_min with value -1 to new value 50
overwritting energy_max with value -1 to new value 150
overwritting eta_min with value -2.5 to new value 0
overwritting eta_max with value 2.5 to new value 2.5
overwritting seed with value 0 to new value 512
{'Electron.EVT.0.root': {'evt': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
                         'seed': 20387086}}
{'do_eta_ranged': False,
 'do_phi_ranged': False,
 'energy': -1,
 'energy_max': 150,
 'energy_min': 50,
 'eta': 0.0,
 'eta_max': 2.5,
 'eta_min': 0,
 'logging_level': 'INFO',
 'particle': 'Electron',
 'phi': 1.52,
 'phi_max': 3.14,
 'phi_min': -3.14,
 'run_number': 20251116}

 *------------------------------------------------------------------------------------*
 |                                                                                    |
 |  *------------------------------------------------------------------------------*  |
 |  |                                                                              |  |
 |  |                                                                              |  |
 |  |   PPP   Y   Y  TTTTT  H   H  III    A      Welcome to the Lund Monte Carlo!  |  |
 |  |   P  P   Y Y     T    H   H   I    A A     This is PYTHIA version 8.313      |  |
 |  |   PPP     Y      T    HHHHH   I   AAAAA    Last date of change: 10 Jan 2025  |  |
 |  |   P       Y      T    H   H   I   A   A                                      |  |
 |  |   P       Y      T    H   H  III  A   A    Now is 04 Dec 2025 at 17:15:11    |  |
 |  |                                                                              |  |
 |  |   Program documentation and an archive of historic versions is found on:     |  |
 |  |                                                                              |  |
 |  |                               https://pythia.org/                            |  |
 |  |                                                                              |  |
 |  |   PYTHIA is authored by a collaboration consisting of:                       |  |
 |  |                                                                              |  |
 |  |   Javira Altmann, Christian Bierlich, Naomi Cooke, Nishita Desai,            |  |
 |  |   Ilkka Helenius, Philip Ilten, Leif Lonnblad, Stephen Mrenna,               |  |
 |  |   Christian Preuss, Torbjorn Sjostrand, and Peter Skands.                    |  |
 |  |                                                                              |  |
 |  |   The complete list of authors, including contact information and            |  |
 |  |   affiliations, can be found on https://pythia.org/.                         |  |
 |  |   Problems or bugs should be reported on email at authors@pythia.org.        |  |
 |  |                                                                              |  |
 |  |   The main program reference is C. Bierlich et al,                           |  |
 |  |   'A comprehensive guide to the physics and usage of Pythia 8.3',            |  |
 |  |   SciPost Phys. Codebases 8-r8.3 (2022) [arXiv:2203.11601 [hep-ph]]          |  |
 |  |                                                                              |  |
 |  |   PYTHIA is released under the GNU General Public Licence version 2          |  |
 |  |   or later. Please respect the MCnet Guidelines for Generator Authors        |  |
 |  |   and Users.                                                                 |  |
 |  |                                                                              |  |
 |  |   Disclaimer: this program comes without any guarantees.                     |  |
 |  |   Beware of errors and use common sense when interpreting results.           |  |
 |  |                                                                              |  |
 |  |   Copyright (C) 2025 Torbjorn Sjostrand                                      |  |
 |  |                                                                              |  |
 |  |                                                                              |  |
 |  *------------------------------------------------------------------------------*  |
 |                                                                                    |
 *------------------------------------------------------------------------------------*

Cxx.EventTape                            INFO Initialize generator...
Cxx.Electron                             INFO Initializing the SingleParticle...
Cxx.Pythia8                              INFO Initialize Pythia8 generator with seed 20387086...

 *-------  PYTHIA Flag + Mode + Parm + Word + FVec + MVec + PVec + WVec Settings (changes only)  ------------------*
 |                                                                                                                 |
 | Name                                          |                      Now |      Default         Min         Max |
 |                                               |                          |                                      |
 | ProcessLevel:all                              |                      off |           on                         |
 | Random:seed                                   |                 20387086 |           -1               900000000 |
 | Random:setSeed                                |                       on |          off                         |
 |                                                                                                                 |
 *-------  End PYTHIA Flag + Mode + Parm + Word + FVec + MVec + PVec + WVec Settings  -----------------------------*

 --------  PYTHIA Particle Data Table (changed only)  ------------------------------------------------------------------------------

      id   name            antiName         spn chg col      m0        mWidth      mMin       mMax       tau0    res dec ext vis wid
             no onMode   bRatio   meMode     products

 no particle data has been changed from its default value

 --------  End PYTHIA Particle Data Table  -----------------------------------------------------------------------------------------

Cxx.EventTape                            INFO Running event 0 with eventNumber 0
Cxx.Electron                             INFO Start particle gun...
Cxx.Electron                             INFO Fill particle: eta = 0 phi = 1.52 energy = 63012.1
Cxx.Electron                             INFO Fill particle with ID 11
Cxx.Electron                             INFO Storing particle into the event record...
Cxx.Electron                             INFO id = 11 energy = 63.0121 mass = 0.000511 pp = 63.0121 eta = 0 phi = 1.52 at rest = 0 has lifetime = 0
Cxx.Electron                             INFO px = 3.19941 py = 62.9308 pz = 3.85838e-15
Cxx.Electron                             INFO Particle stored with i = 1

 --------  PYTHIA Event Listing  (complete event)  ---------------------------------------------------------------------------------

    no         id  name            status     mothers   daughters     colours      p_x        p_y        p_z         e          m
     0         90  (system)           -11     0     0     0     0     0     0      3.199     62.931      0.000     63.012      0.001
     1         11  e-                   1     0     0     0     0     0     0      3.199     62.931      0.000     63.012      0.001
                                   Charge sum: -1.000           Momentum sum:      3.199     62.931      0.000     63.012      0.001

 --------  End PYTHIA Event Listing  -----------------------------------------------------------------------------------------------

 --------  PYTHIA Event Listing  (complete event)  ---------------------------------------------------------------------------------

    no         id  name            status     mothers   daughters     colours      p_x        p_y        p_z         e          m
     0         90  (system)           -11     0     0     0     0     0     0      3.199     62.931      0.000     63.012      0.001
     1         11  e-                   1     0     0     0     0     0     0      3.199     62.931      0.000     63.012      0.001
                                   Charge sum: -1.000           Momentum sum:      3.199     62.931      0.000     63.012      0.001

 --------  End PYTHIA Event Listing  -----------------------------------------------------------------------------------------------
Cxx.Electron                             INFO Adding particle: id = 11 eta = 2.22045e-16 phi = 1.52 Et = 63.0121
Cxx.EventTape                            INFO Running event 1 with eventNumber 1
Cxx.Electron                             INFO Start particle gun...
Cxx.Electron                             INFO Fill particle: eta = 0 phi = 1.52 energy = 103247
Cxx.Electron                             INFO Fill particle with ID 11
Cxx.Electron                             INFO Storing particle into the event record...
Cxx.Electron                             INFO id = 11 energy = 103.247 mass = 0.000511 pp = 103.247 eta = 0 phi = 1.52 at rest = 0 has lifetime = 0
Cxx.Electron                             INFO px = 5.24233 py = 103.114 pz = 6.32207e-15
Cxx.Electron                             INFO Particle stored with i = 1
Cxx.Electron                             INFO Adding particle: id = 11 eta = 0 phi = 1.52 Et = 103.247
Cxx.EventTape                            INFO Running event 2 with eventNumber 2
Cxx.Electron                             INFO Start particle gun...
Cxx.Electron                             INFO Fill particle: eta = 0 phi = 1.52 energy = 148115
Cxx.Electron                             INFO Fill particle with ID 11
Cxx.Electron                             INFO Storing particle into the event record...
Cxx.Electron                             INFO id = 11 energy = 148.115 mass = 0.000511 pp = 148.115 eta = 0 phi = 1.52 at rest = 0 has lifetime = 0
Cxx.Electron                             INFO px = 7.52048 py = 147.924 pz = 9.06944e-15
Cxx.Electron                             INFO Particle stored with i = 1
Cxx.Electron                             INFO Adding particle: id = 11 eta = 0 phi = 1.52 Et = 148.115
Cxx.EventTape                            INFO Running event 3 with eventNumber 3
Cxx.Electron                             INFO Start particle gun...
Cxx.Electron                             INFO Fill particle: eta = 0 phi = 1.52 energy = 61243.8
Cxx.Electron                             INFO Fill particle with ID 11
Cxx.Electron                             INFO Storing particle into the event record...
Cxx.Electron                             INFO id = 11 energy = 61.2438 mass = 0.000511 pp = 61.2438 eta = 0 phi = 1.52 at rest = 0 has lifetime = 0
Cxx.Electron                             INFO px = 3.10962 py = 61.1648 pz = 3.7501e-15
Cxx.Electron                             INFO Particle stored with i = 1
Cxx.Electron                             INFO Adding particle: id = 11 eta = 2.22045e-16 phi = 1.52 Et = 61.2438
Cxx.EventTape                            INFO Running event 4 with eventNumber 4
Cxx.Electron                             INFO Start particle gun...
Cxx.Electron                             INFO Fill particle: eta = 0 phi = 1.52 energy = 88009.9
Cxx.Electron                             INFO Fill particle with ID 11
Cxx.Electron                             INFO Storing particle into the event record...
Cxx.Electron                             INFO id = 11 energy = 88.0099 mass = 0.000511 pp = 88.0099 eta = 0 phi = 1.52 at rest = 0 has lifetime = 0
Cxx.Electron                             INFO px = 4.46866 py = 87.8964 pz = 5.38905e-15
Cxx.Electron                             INFO Particle stored with i = 1
Cxx.Electron                             INFO Adding particle: id = 11 eta = 0 phi = 1.52 Et = 88.0099
Cxx.EventTape                            INFO Running event 5 with eventNumber 5
Cxx.Electron                             INFO Start particle gun...
Cxx.Electron                             INFO Fill particle: eta = 0 phi = 1.52 energy = 95549.3
Cxx.Electron                             INFO Fill particle with ID 11
Cxx.Electron                             INFO Storing particle into the event record...
Cxx.Electron                             INFO id = 11 energy = 95.5493 mass = 0.000511 pp = 95.5493 eta = 0 phi = 1.52 at rest = 0 has lifetime = 0
Cxx.Electron                             INFO px = 4.85147 py = 95.4261 pz = 5.85071e-15
Cxx.Electron                             INFO Particle stored with i = 1
Cxx.Electron                             INFO Adding particle: id = 11 eta = 0 phi = 1.52 Et = 95.5493
Cxx.EventTape                            INFO Running event 6 with eventNumber 6
Cxx.Electron                             INFO Start particle gun...
Cxx.Electron                             INFO Fill particle: eta = 0 phi = 1.52 energy = 114742
Cxx.Electron                             INFO Fill particle with ID 11
Cxx.Electron                             INFO Storing particle into the event record...
Cxx.Electron                             INFO id = 11 energy = 114.742 mass = 0.000511 pp = 114.742 eta = 0 phi = 1.52 at rest = 0 has lifetime = 0
Cxx.Electron                             INFO px = 5.82597 py = 114.594 pz = 7.02593e-15
Cxx.Electron                             INFO Particle stored with i = 1
Cxx.Electron                             INFO Adding particle: id = 11 eta = 0 phi = 1.52 Et = 114.742
Cxx.EventTape                            INFO Running event 7 with eventNumber 7
Cxx.Electron                             INFO Start particle gun...
Cxx.Electron                             INFO Fill particle: eta = 0 phi = 1.52 energy = 51921.6
Cxx.Electron                             INFO Fill particle with ID 11
Cxx.Electron                             INFO Storing particle into the event record...
Cxx.Electron                             INFO id = 11 energy = 51.9216 mass = 0.000511 pp = 51.9216 eta = 0 phi = 1.52 at rest = 0 has lifetime = 0
Cxx.Electron                             INFO px = 2.63629 py = 51.8546 pz = 3.17928e-15
Cxx.Electron                             INFO Particle stored with i = 1
Cxx.Electron                             INFO Adding particle: id = 11 eta = 0 phi = 1.52 Et = 51.9216
Cxx.EventTape                            INFO Running event 8 with eventNumber 8
Cxx.Electron                             INFO Start particle gun...
Cxx.Electron                             INFO Fill particle: eta = 0 phi = 1.52 energy = 98189.7
Cxx.Electron                             INFO Fill particle with ID 11
Cxx.Electron                             INFO Storing particle into the event record...
Cxx.Electron                             INFO id = 11 energy = 98.1897 mass = 0.000511 pp = 98.1897 eta = 0 phi = 1.52 at rest = 0 has lifetime = 0
Cxx.Electron                             INFO px = 4.98553 py = 98.0631 pz = 6.01239e-15
Cxx.Electron                             INFO Particle stored with i = 1
Cxx.Electron                             INFO Adding particle: id = 11 eta = 0 phi = 1.52 Et = 98.1897
Cxx.EventTape                            INFO Running event 9 with eventNumber 9
Cxx.Electron                             INFO Start particle gun...
Cxx.Electron                             INFO Fill particle: eta = 0 phi = 1.52 energy = 84175.3
Cxx.Electron                             INFO Fill particle with ID 11
Cxx.Electron                             INFO Storing particle into the event record...
Cxx.Electron                             INFO id = 11 energy = 84.1753 mass = 0.000511 pp = 84.1753 eta = 0 phi = 1.52 at rest = 0 has lifetime = 0
Cxx.Electron                             INFO px = 4.27396 py = 84.0668 pz = 5.15425e-15
Cxx.Electron                             INFO Particle stored with i = 1
Cxx.Electron                             INFO Adding particle: id = 11 eta = 0 phi = 1.52 Et = 84.1753
Cxx.EventTape                            INFO Finalize the Event generator.
Cxx.Electron                             INFO Finalize the SingleParticle Event.
Cxx.Pythia8                              INFO Finalize the Pythia8 Event.

 *-------  PYTHIA Error and Warning Messages Statistics  ----------------------------------------------------------*
 |                                                                                                                 |
 |  times   message                                                                                                |
 |                                                                                                                 |
 |      0   no errors or warnings to report                                                                        |
 |                                                                                                                 |
 *-------  End PYTHIA Error and Warning Messages Statistics  ------------------------------------------------------*
Cxx.StoreGate                            INFO Saving StoreGate...
Cxx.StoreGate                            INFO Writing all root objects into the file and delete all decorators
Cxx.StoreGate                            INFO Decorators will no be saved into the root file.
hadd -f Electron.EVT.root Electron.EVT.0.root
Module libc not found.
hadd Target file: Electron.EVT.root
hadd compression setting for all output: 101
hadd Source file 1: Electron.EVT.0.root
hadd Target path: Electron.EVT.root:/
Warning in <StatusCode>:
Warning in <StatusCode>: Unchecked status codes encountered during the job
Warning in <StatusCode>: Number of unchecked successes: 3
Warning in <StatusCode>: To fail on an unchecked code, call StatusCode::enableFailure() at the job's start
Warning in <StatusCode>: