Orbit threader throws an exception when TRACKBACK = TRUE and traveling wave structure present
When tracking the bunch back in time through a traveling wave structure then an exception is thrown in the method
TravelingWave::trackOnAxisParticle which is used in the OrbitThreader.
Steps to reproduce
TRACKBACK = TRUE and add a traveling wave to the beamline.
What is the current bug behavior?
Throws an exception.
What is the expected correct behavior?
It should track the bunch back in time through a TWS.
Don't override the method of the base class RFCavity.