22.05.2014 Views

CERN Program Library Long Writeup W5013 - CERNLIB ...

CERN Program Library Long Writeup W5013 - CERNLIB ...

CERN Program Library Long Writeup W5013 - CERNLIB ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Geant 3.16 GEANT User’s Guide BASE040<br />

Origin : Submitted: 01.10.84<br />

Revision : Revised: 16.12.93<br />

Documentation : F.Bruyant, M.Maire<br />

1 Introduction<br />

Summary of Data Records<br />

GEANT uses the FFREAD [7] package to read free format data records in the routine GFFGO. The keywords<br />

accepted by GFFGO can be classified as:<br />

1. general control of the run;<br />

2. control of the physics processes;<br />

3. debug and I/O operations;<br />

4. user applications;<br />

5. Lund event generation.<br />

The data records are listed below by category with the following information:<br />

KEY<br />

N<br />

T<br />

keyword, any number of characters truncated to the first 4 unless otherwise specified by the user;<br />

maximum expected number of variables (NVAR);<br />

type of these variables (I=INTEGER, R=REAL or M=MIXED) and for each variable in turn:<br />

•variable FORTRAN name;<br />

•short description (more detail in [ZZZZ010]);<br />

•labelled common where it is stored;<br />

•default value, usually from GINIT.<br />

When a record is decoded, the values entered by the user in free format are assigned to the variables in order.<br />

The number of values can be less than NVAR. In case of a MIXED type the values entered have agree with the<br />

type of the corresponding variable.<br />

For example the data record:<br />

RUNG 5 201<br />

presets the run and event number to 5 and 201 respectively. None of the records mentioned below is mandatory.<br />

2 User defined data records<br />

Before calling GFFGO the user may define private data records through calls to FFKEY as follows:<br />

CALL FFKEY(’key’,VAR(1),NVAR,’type’)<br />

They will be interpreted by GFFGO in the same way as the GEANT pre-defined records.<br />

20 BASE040 – 1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!