Class RfGapTTF#

Inheritance Relationships#

Base Type#

Class Documentation#

class RfGapTTF : public OrbitUtils::CppPyWrapper#

This class represents a RF gap as a Parmila type gap.

Public Functions

RfGapTTF()#

Constructor for Parmila’s type RF gap with TTF

virtual ~RfGapTTF()#

Destructor

Public Static Functions

static void trackBunch(Bunch *bunch, double frequency, double E0L, double phase, OrbitUtils::Polynomial *Tttf, OrbitUtils::Polynomial *Sttf, OrbitUtils::Polynomial *Tpttf, OrbitUtils::Polynomial *Spttf)#

Tracks the Bunch through the RF gap.

Tracks the Bunch trough the RF gap as whole using the TTF T and S. There are a lot of possibilities to modify this algorithm, but for now we believe that all changes will give a small difference in results if the energy spread in the bunch and the energy gain in the gap are small relative to the initial energy. A curious user could try to redefine how we calculate the energy gain, do we use the same TTF for all particles, recursive procedures etc. If you find something interesting, please let us know.