Class RectangularApertureShape#

Inheritance Relationships#

Base Type#

Class Documentation#

class RectangularApertureShape : public BaseApertureShape#

RectangularApertureShape is an implementation of BaseApertureShape class.

Public Functions

RectangularApertureShape()#

RectangularApertureShape constructor

virtual ~RectangularApertureShape()#

RectangularApertureShape decstructor

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

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

void setHalfX(double x_half_size)#

Sets the half size in X-direction in [m]

double getHalfX()#

Returns the half size in X-direction in [m]

void setHalfY(double y_half_size)#

Sets the half size in Y-direction in [m]

double getHalfY()#

Returns the half size in Y-direction in [m]

Protected Attributes

double x_half_size#
double y_half_size#