Class BunchExtremaCalculator#

Inheritance Relationships#

Base Type#

Class Documentation#

class BunchExtremaCalculator : public OrbitUtils::CppPyWrapper#

A class calculates the extrema and averages of the particles coordinates in the bunch.

Public Functions

BunchExtremaCalculator()#

Constructor.

~BunchExtremaCalculator()#

Destructor

void getExtremaXYZ(Bunch *bunch, double &xMin, double &xMax, double &yMin, double &yMax, double &zMin, double &zMax)#

The method calculates the extrema of the particles coordinates in the bunch.

void getExtremaXpYpdE(Bunch *bunch, double &xpMin, double &xpMax, double &ypMin, double &ypMax, double &dE_Min, double &dE_Max)#

The method calculates the extrema of the particles coordinates xp, yp, dE in the bunch.

void getExtremaZ(Bunch *bunch, double &zMin, double &zMax)#

The method calculates the z extrema of the particles coordinates in the bunch.

void getExtremaR(Bunch *bunch, double &rMax)#

The method calculates the sqrt(x**2+y**2) extrema of the particles coordinates in the bunch.