HeadTail simulations for the impedance in the CLIC-DRs
generation and stability of intense long flat bunches