Class PyBaseApertureShape#

Inheritance Relationships#

Base Type#

Class Documentation#

class PyBaseApertureShape : public BaseApertureShape#

PyBaseApertureShape is an implementation of BaseApertureShape class which will be exposed to Python level. It uses the Python methods to calculate the result of int PyBaseApertureShape::inside(…) method, so it is very slow and should be used only for testing, developing prototypes etc.tc.

Public Functions

PyBaseApertureShape()#

PyBaseApertureShape constructor

virtual ~PyBaseApertureShape()#

PyBaseApertureShape decstructor

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

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