Class PhaseAperture#

Inheritance Relationships#

Base Type#

Class Documentation#

class PhaseAperture : public OrbitUtils::CppPyWrapper#

Public Functions

PhaseAperture(double frequency)#

The PhaseAperture class constructor. It needs the RF frequency in Hz to translate from z coordinate in meters to phase in degrees.

void setPhaseLimits(double minPhase, double maxPhase)#

The method sets the phase limits particles in the bunch. Phase limits are in degrees.

double getMinPhase()#

Returns the min limit of the particles’ phases. Phase is in degrees.

double getMaxPhase()#

Returns the max limit of the particles’ phases. Phase is in degrees.

void setPosition(double position)#

Sets the position of the Phase Aperture node.

double getPosition()#

Returns the position of the Phase Aperture node.

void setRfFrequency(double frequency)#

Sets the RF frequency of the Phase Aperture node in Hz.

double getRfFrequency()#

Returns the RF frequency of the Phase Aperture node in Hz.

void checkBunch(Bunch *bunch, Bunch *lostbunch)#

Removes particles with phases outside the phase limits and puts them into the lost bunch is it exists.

Protected Attributes

double frequency_#
double minPhase_#
double maxPhase_#
double pos_#