Class BaseApertureShape#
Defined in File BaseApertureShape.hh
Inheritance Relationships#
Base Type#
public OrbitUtils::CppPyWrapper(Class CppPyWrapper)
Derived Types#
public CircleApertureShape(Class CircleApertureShape)public CompositeApertureShape(Class CompositeApertureShape)public ConvexApertureShape(Class ConvexApertureShape)public EllipseApertureShape(Class EllipseApertureShape)public PyBaseApertureShape(Class PyBaseApertureShape)public RectangularApertureShape(Class RectangularApertureShape)
Class Documentation#
-
class BaseApertureShape : public OrbitUtils::CppPyWrapper#
The base class for BaseApertureShapes. It defines the interface for BaseApertureShape subclasses.
Subclassed by CircleApertureShape, CompositeApertureShape, ConvexApertureShape, EllipseApertureShape, PyBaseApertureShape, RectangularApertureShape
Public Functions
-
BaseApertureShape()#
BaseApertureShape constructor
-
virtual ~BaseApertureShape()#
BaseApertureShape decstructor
-
virtual int inside(Bunch *bunch, int count)#
Return 1 if the particular macro-particle is inside this shape
-
void setCenterX(double x_center)#
Sets the center of shape in X direction
-
double getCenterX()#
Returns the center of shape in X direction
-
void setCenterY(double y_center)#
Sets the center of shape in Y direction
-
double getCenterY()#
Returns the center of shape in Y direction
-
string getName()#
Returns the shape name
-
void setName(string shapeName)#
Sets the shape name
-
string getTypeName()#
Returns the shape type name
-
BaseApertureShape()#