The HEADTAIL program simulates the interaction between a single proton or positron bunch and an electron cloud which has built up inside the beam pipe. Coherent single-bunch instabilities and incoherent emittance growth can be studied. The single-bunch wake field due to the electron cloud can be computed. The code can also be used for simulations of conventional impedances and space charge.
Includes chromaticity, octupoles, and collimator wake fields. There exists a switch to run weak-strong simulations in a "repeating" electron-cloud potential.