GICOSY is based on COSY 5.0 with additions done later in Gießen. It was written at University of Gießen, 1986–1998, by Martin Berz, Bernd Hartmann, Klaus Lindemann, Achim Magel and Helmut Weick. In former times also referred to as simply GICO.


  • Description of the ion optical system using matrices up to fifth order
  • Dipoles with inhomogenieties, quadrupoles and all kinds of multipoles both magnetic and electrostatic
  • Precise treatment of the fringing fields with fringing field integral method or direct tracing of matrix elements using differential algebra
  • use of variables, fitting with different methods, plots of the system, trajectories, envelopes, fields and of phase-space distributions

The program creates matrix files of all optical elements that can be used in the Monte-Carlo simulation program MOCADI.


PostScript, PDF, Latest Changes, Versions and Corrections



Input files
*.dat or GICOSYIN.DAT (default) and GIOSFF.DAT, GICOSYFF.DAT for the fringing fields
/u/weick/gicosy/gicosybatch *.dat
Output file
View plots

A standard set of fringing-field integrals can be found here: GIOSFF.DAT , GICOSYFF.DAT An example input file, the fragment separator at GSI: GICOSYIN.DAT

GICOSY is available at GSI or the University of Giessen. Others may ask for it. The program is available for LINUX, Apple-OS or MS-WINDOWS.

Contact Helmut Weick at GSI You may also ask Hermann Wollnik for the program WINGIOS or Martin Berz for a copy of COSY INFINITY. Conversion tool for GICOSY -> COSY INFINITY.


  1. Principles of GIOS and COSY, H.Wollnik, B.Hartmann and M.Berz, AIP Conference Proceedings; ed. C. Eminhizer, 177 (1988) 74-85 — General Information
  2. COSY 5.0 - The fifth order code for corpuscular optical systems, M.Berz, H.C. Hoffmann and H.Wollnik, NIM A258 (1987) 402 — COSY
  3. The program HAMILTON for the analytic solution of the equations of motion through fifth order, M. Berz and H. Wollnik NIM A 258 (1987) 412 — Matrices of dipoles, quadrupoles, multipoles
  4. GSI Report THD-26, Darmstadt (1984), H.Wollnik, J.Brezina and M.Berz — Proceedings of AMCO-7
  5. GIOS - BEAMTRACE, H.Wollnik, J.Brezina, M.Berz, NIM A 258 (1987) 408. — A reference to GIOS but mostly for space charge of a KV-beam
  6. Bernd Hartmann, PhD Thesis Universität Giessen — Higher order fringing fields, GIOS-type
  7. T. Sakurai, Ion trajectories and focusing properties of a solenoid represented by transfer matrices to a third-order approximation, Int. Journal of Mass Spec. and Ion Proc., 114(1992) 73-84 — Description of a solenoid with fringing fields, S L
  8. M. Yavor, H. Weick, H.Wollnik, Analytical Description of an Electrostatic Acceleration Column, NIM A 427(1999) 79-85. — Electrostatic acceleration column, A C
Topic revision: r1 - 2008-05-21, TillDettmering
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding GSI Wiki? Send feedback
Imprint (in German)
Privacy Policy (in German)