StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
DecayList.h
1 #ifndef _DecayList_h_included_
2 #define _DecayList_h_included_
3 
24 #include <stdio.h>
25 #include <stdlib.h>
26 #include <iostream>
27 
28 #include "TauolaParticle.h"
29 
30 using namespace std;
31 
32 namespace Tauolapp
33 {
34 
35 class TauolaParticle;
36 
37 class DecayList {
38 
39  public:
42  static TauolaParticle * getParticle(int index);
43 
46  static void updateList(TauolaParticle * new_particle,
47  int index);
48 
50  static void addToEnd(TauolaParticle * new_particle);
51 
53  static void clear();
54 
58  static int getAbsoluteIndex(int index);
59 
63  static int getAbsoluteIndex(int index,
64  int neg_index_relative_to);
65 
67  static int getAbsoluteIndex(TauolaParticle * particle);
68 
70  static void print();
71 
72  private:
74  static vector<TauolaParticle*> m_particle_list;
75 
76 };
77 
78 } // namespace Tauolapp
79 #endif
Abstract base class for particle in the event. This class also handles boosting.
Storage class for keeping track of TauolaParticles and their index (as passed to Tauola).