Static Public Member Functions | |
static TauolaParticle * | getParticle (int index) |
static void | updateList (TauolaParticle *new_particle, int index) |
static void | addToEnd (TauolaParticle *new_particle) |
static void | clear () |
static int | getAbsoluteIndex (int index) |
static int | getAbsoluteIndex (int index, int neg_index_relative_to) |
static int | getAbsoluteIndex (TauolaParticle *particle) |
static void | print () |
Static Private Attributes | |
static vector< TauolaParticle * > | m_particle_list |
Definition at line 37 of file DecayList.h.
void addToEnd | ( | TauolaParticle * | new_particle | ) | [static] |
Adds the new particle to the end of list
Definition at line 71 of file DecayList.cxx.
References DecayList::m_particle_list.
void clear | ( | ) | [static] |
clear all entries from the list
Definition at line 81 of file DecayList.cxx.
References DecayList::m_particle_list.
int getAbsoluteIndex | ( | TauolaParticle * | particle | ) | [static] |
Return index (absolute) of "particle"
Definition at line 34 of file DecayList.cxx.
References DecayList::m_particle_list.
int getAbsoluteIndex | ( | int | index, | |
int | neg_index_relative_to | |||
) | [static] |
Translates index (absolute and relative) to absolute index. If a relative index is given (negative integer) it is taken relative to the parameter "neg_index_relative_to"
Definition at line 15 of file DecayList.cxx.
References Log::Fatal(), and DecayList::m_particle_list.
int getAbsoluteIndex | ( | int | index | ) | [static] |
Translates index (absolute and relative) to absolute index. If a relative index is given (negative integer) it is taken relative from the end of the list
Definition at line 11 of file DecayList.cxx.
References DecayList::m_particle_list.
TauolaParticle * getParticle | ( | int | index | ) | [static] |
Return the TauolaParticle corresponding to the index (absolute) in the list of particle
Definition at line 43 of file DecayList.cxx.
References DecayList::m_particle_list.
void print | ( | ) | [static] |
Print the contents of the list
Definition at line 75 of file DecayList.cxx.
References DecayList::m_particle_list.
void updateList | ( | TauolaParticle * | new_particle, | |
int | index | |||
) | [static] |
Adds the new particle into the list and delete the previous particle at the same position if it exists
if(old_particle->production_vertex()) old_particle->production_vertex()->remove_particle(old_particle); if(old_particle->end_vertex()) old_particle->end_vertex()->remove_particle(old_particle); delete old_particle;
Definition at line 47 of file DecayList.cxx.
References DecayList::addToEnd(), DecayList::getParticle(), and DecayList::m_particle_list.
vector< TauolaParticle * > m_particle_list [static, private] |
vector used for TauolaParticle mapping
Definition at line 74 of file DecayList.h.