Class SynchPartRedefinitionZdE#

Inheritance Relationships#

Base Type#

Class Documentation#

class SynchPartRedefinitionZdE : public OrbitUtils::CppPyWrapper#

The SynchPartRedefinitionZdE class calculates the average of z and dE coordinates redefines the syncronous particle’s energy to move the synch. particle to the center of the bunch’s phase space.

Public Functions

SynchPartRedefinitionZdE()#

Constructor

virtual ~SynchPartRedefinitionZdE()#

Destructor

void analyzeBunch(Bunch *bunch)#

Performs the calculation of the z and dE averages of the bunch

void centerE(Bunch *bunch)#

Move the synch particle energy to the average energy

void shiftE(Bunch *bunch, double delta_dE)#

Shift the synch particle energy

void centerZ(Bunch *bunch)#

Move the synch particle’s z position to the center of the bunch

void shiftZ(Bunch *bunch, double delta_z)#

Shift the synch particle’s z position

double getAvg_Z()#

Returns the average z postion

double getAvg_dE()#

Returns the average dE value