EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pythiadecayer.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file pythiadecayer.h
1 #ifndef PYTHIADECAYER_H
2 #define PYTHIADECAYER_H
3 
4 #include "Pythia8/Pythia.h"
5 #include "starlightparticle.h"
6 #include "eXevent.h"
7 
9 {
10 
11 public:
12 
13  // Default constructor
14  pythiaDecayer();
15 
16 
17  // Destructor
18  virtual ~pythiaDecayer();
19 
20 
21  // Initialise
22  void init();
23 
24  // Add particle to current event
25  void addParticle(const starlightParticle &p);
26 
27  // Execute event and return starlight type event
28  eXEvent execute();
29 
30 
31 private:
32 
33  Pythia8::Pythia _pythia;
34 
35  // Prohibited
36  pythiaDecayer(Pythia8::Pythia pythia);
37  bool operator==(const pythiaDecayer &other) const;
38 
39 };
40 #endif // PYTHIADECAYER_H