CERN Accelerating science

This website is no longer maintained. Its content may be obsolete. Please visit for current CERN information.

CERN home page CERN home page The Consult page The Consult page This page The Consult page This page This page Help, Info about this page

Previous: Previous MatLab at CERN (See printing version)
Next: Next Software Documentation Layout Templates (SDLT) V1.0

Garfield version 6.27

  Rob Veenhof, NIKHEF (Amsterdam, the Netherlands)

The most significant new feature in Garfield version 6.27 is the calculation of signals on tubes, planes and finite element electrodes.

CELL section:

The format of the PLANE, TUBE and FIELD-MAP commands has been extended in line with the modifications in signal computations.


No changes.


No changes.

FIELD section:

The PLOT VECTOR command now plots 3-vectors rather than 2-vectors. For backward compatibility, 2-vectors are still accepted (a value of 0 is assumed for the z-component).

The field plotting area is no longer reset when entering the field and optimisation sections.

GAS section:

The PLOT-OPTIONS statement now gives control over the range of the vertical axis of the various graphs.

DRIFT section:

The optimisation, drift and signal sections share a common drift area which is no longer reset when entering the drift and signal sections.

Drift lines that end in a solid are now attributed a status code of the type Hit X solid n where X stands for the label of the solid that has been hit and n for its sequence number as shown in the OPTION CELL-PRINT listing.

Isochrone plotting with drift in field maps, and in 3 dimensions, has been enabled. Only isochrones for drift lines that end on a wire or on a solid are shown. The set of options that control the appearance of isochrones has been enlarged and has been moved to the INTEGRATION-PARAMETERS command. The representation of isochrones has been renamed from DRIFT-CONTOUR to ISOCHRONES - the same change in name should be applied to your .garfinit file.

The CHECK-KINKS option has been renamed REJECT-KINKS and has been moved to the INTEGRATION-PARAMETERS command. Also the CHECK-ALL-WIRES and CHECK-ATTRACTING-WIRES options have been moved to INTEGRATION-PARAMETERS.

In order to avoid confusion, the drift velocity is now written VDX, VDY, VDZ, VD in the PLOT-FIELD command instead of VX, VY, VZ, V. The same naming convention has been adopted in the signal section.

Until now, by default a fixed number of equally spaced clusters were generated on a track. Some users have accidentally computed signals with such tracks. To prevent this, there is no default clustering model anymore. Before issuing a DRIFT TRACK command, one therefore has to specify both a track location and a clustering model. The former default can be obtained with TRACK FIXED.

SIGNAL section:

Signal calculations for planes, tubes, wires and solids has been placed on the same footing. For this purpose, all elements can be assigned a label by which the electrodes can be selected via SELECT statements. All signal related commands that used to work in the past should continue to work.

Routines have been added that perform an accurate integration of the induced charge within time windows. These routines can accessed with the PLOT-FIELD command and via a set of procedures.

The signal section now accepts the same AREA statements as the drift and field sections.

The PLOT-FIELD has been replaced by a command in line with the commands by the same name in the field and drift sections. The new command can plot 3-dimensional weighting fields, and in addition show the total charge induced by particles released from a given point and moving to an electrode. Note however that the syntax is not backward compatible.


The three dimensional visualisation routines have largely been rewritten. They have become faster and less error-prone.

Several more SGML entities have been added with conversions to their PostScript equivalents for easier typing of formulae and French text.

Histograms, Matrices, Formulae and Calls:

In line with the rationalisation of the electrode selection, numerous signal related procedures, such as GET_SIGNAL, now have a read-out group number as first argument, and no longer a wire number.

The drift line computation procedures return several new status codes: all planes and the tube have each been given their own status, and particles that hit a solid receive the status Hit an X solid where X stands for the label of the solid that has been hit. Another significant change is that the various drift procedures return the same status codes as the commands. This will unfortunately make input files fail that search for a wire label in a given position in the string.

Datasets and input / output:

Global variable substitution is now performed also on input and output redirection commands, as well as on shell commands.

Character 13, which some mailer programs attach at the end of lines in attachments, has been added to the list of characters that are by default translated to a blank.

Compilation, batch:

Thanks to Andreas Wagner, a graphical user interface for batch submission has been written in Tk/tcl. This interface can be found in the same directories as the Garfield executables under the name garfield.tcl.

Jeff Templon and Florin Cotorobai have revived the compilation of Garfield on Linux, which so far has been taken care of by Alfred Zentek.


The help pages and the description of the command line format have been rearranged and reformatted for better legibility. Cross references and figures as well as some background information have been added.

For matters related to this article please contact the author.

Last Updated on December 14th, 1998 at 16:28:39
Copyright © CERN 1998 -- European Laboratory for Particle Physics