EUROPEAN ORGANIZATION FOR NUCLEAR RESEARCH

PTC_MOMENTS

USER MANUAL

SYNOPSIS


PTC_MOMENTS, 
no = [i, 1], 
xdistr   = [s, gauss, gauss], 
ydistr   = [s, gauss, gauss], 
zdistr   = [s, gauss, gauss], 


Description

Calculates moments previously selected with the ptc_select_moment command. It uses maps saved by the ptc_twiss command, hence, the savemaps switch of ptc_twiss must be set to true (default) to be able to calculate moments.

Examples

ATF2

Command parameters and switches

no
integer

order of the calculation, maximally twise the order of the last twiss

xdistr, ydistr, zdistr
string defining type of distribution for x, y, z dimension, respectively,
  1. gauss - Gaussian
  2. flat5 - flat distribution in the first of variables (dp over p) of a given dimension and Delta Dirac in the second one (T)
  3. flat56 - flat rectangular distribution