Class EllipseApertureShape#

Inheritance Relationships#

Base Type#

Class Documentation#

class EllipseApertureShape : public BaseApertureShape#

EllipseApertureShape is an implementation of BaseApertureShape class.

Public Functions

EllipseApertureShape()#

EllipseApertureShape constructor

virtual ~EllipseApertureShape()#

EllipseApertureShape decstructor

virtual int inside(Bunch *bunch, int count)#

Return 1 if the particular macro-particle is inside this shape

void setHalfAxisX(double x_half_axis)#

Sets the half axis of ellipse in X-direction in [m]

double getHalfAxisX()#

Returns the half axis of ellipse in X-direction in [m]

void setHalfAxisY(double y_half_axis)#

Sets the half axis of ellipse in Y-direction in [m]

double getHalfAxisY()#

Returns the half axis of ellipse in Y-direction in [m]

Protected Attributes

double x_half_axis#
double y_half_axis#