Class EnergyAperture#

Inheritance Relationships#

Base Type#

Class Documentation#

class EnergyAperture : public OrbitUtils::CppPyWrapper#

Public Functions

EnergyAperture()#

The EnergyAperture class constructor.

void setEnergyLimits(double minEnergy, double maxEnergy)#

The method sets the energy limits in GeV for particles in the bunch.

double getMinEnergy()#

Returns the min limit of the particles’ energy.

double getMaxEnergy()#

Returns the max limit of the particles’ energy.

void setPosition(double position)#

Sets the position of the Energy Aperture node.

double getPosition()#

Returns the position of the Energy Aperture node.

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

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

Protected Attributes

double minEnergy_#
double maxEnergy_#
double pos_#