next up previous contents
Next: The simulation program Up: The Code Previous: Installation of Brahms   Contents

Structure of the program

The program is written in the context of GEANT3. The routines specific to the Linear Collider Detector are implemented via the GEANT user routines GUxxxx. They are explained in more detail in the following sections.

The code is split into two main parts: the simulation and the reconstruction part. If you want to can build programs for only the reconstruction or only the simulation.

To ease the interface of user analysis code with Brahms a structure of user routines is provided, which closely models the GEANT routines, and which are called at the end of the relevant GEANT routines. These routines are

UBINIT initialisation, before FFREAD
UBSETR initialisation, after FFREAD
UBKINE after generator input
UBTRAK called after GUTRAK for each GEANT track individually
UBTREV called after GUTREV, once per event
UBSTEP called after GUSTEP
UBOUT(i) called at the end of each event
  i=1 after the end of the simulation
  i=2 after the end of the reconstruction



Subsections
next up previous contents
Next: The simulation program Up: The Code Previous: Installation of Brahms   Contents
Harald Vogt 2004-02-04