PTC_SETSWITCH, debuglevel = [i,0], maxacceleration = [l, true, true], exact_mis = [l, false, true], totalpath = [l, false, true], radiation = [l false, true], fringe = [l, false, true], time = [l, true, true];
Sets the level of debugging printout 0 none, 4 everything
Switch saying to set cavities phases so the reference orbit is always on the crest, i.e. gains max energy
Switch ensures exact misalignment treatment.
If true, the 6th variable of PTC, i.e. 5th of MAD-X is the total path. If false it is deviation from the reference particle, which is normally the closed orbit for closed layouts.
Sets the radiation switch/internal state of PTC.
Sets the fringe switch/internal state of PTC. If true the influence of the fringe fields is evaluated for all the elements.
Please note that currently fringe fields are always taken to the account for some elements (f.g. traveling wave cavities) even if this flag is set to false. The more detailed list of the elements will be provided later, when the situation in this matter will be definitely settled.
If true, Selects time of flight rather than path length. (cT to be precise) as the 6th variable of PTC, i.e. 5th of MAD-X.