Class TurnNumberAttributes#

Inheritance Relationships#

Base Type#

Class Documentation#

class TurnNumberAttributes : public ParticleAttributes#

Public Functions

TurnNumberAttributes(Bunch *bunch)#
~TurnNumberAttributes()#
int getTurn(int particle_index)#

Returns the turn number for the particle with particle_index in the bunch

Returns the turn number for the particle with particle_index in the bunch.

void setTurn(int particle_index, int turn)#

Sets the turn number for the particle with particle_index in the bunch

Sets the turn number for the particle with particle_index in the bunch.