Class Collimator#

Inheritance Relationships#

Base Type#

Class Documentation#

class Collimator : public OrbitUtils::CppPyWrapper#

The collimator class is used to define how a bunch propogates through a collimator

Public Functions

Collimator(double length, int ma, double density_fac, int shape, double a, double b, double c, double d, double angle, double pos)#

Constructor

void collimateBunch(Bunch *bunch, Bunch *lostbunch)#

Routine for transfering particles through a collimator

void setPosition(double position)#

Routine for setting the start position in the lattice

Protected Attributes

int nHits#
int nLost#
double length_#
double density_fac_#
double a_#
double b_#
double c_#
double d_#
double angle_#
double pos_#
int ma_#
int shape_#