]>
Commit | Line | Data |
---|---|---|
da32329d AM |
1 | #ifndef PYTHIADECAYER_H |
2 | #define PYTHIADECAYER_H | |
3 | ||
4 | #include "Pythia.h" | |
5 | #include "starlightparticle.h" | |
6 | #include "upcevent.h" | |
7 | ||
8 | class pythiaDecayer | |
9 | { | |
10 | ||
11 | public: | |
12 | ||
13 | // Default constructor | |
14 | pythiaDecayer(); | |
15 | ||
16 | // Copy constructor | |
17 | // pythiaDecayer(const pythiaDecayer &obj); | |
18 | ||
19 | // Destructor | |
20 | virtual ~pythiaDecayer(); | |
21 | ||
22 | // Assignment operator | |
23 | // pythiaDecayer& operator=(const pythiaDecayer& other); | |
24 | ||
25 | // Initialise | |
26 | void init(); | |
27 | ||
28 | // Add particle to current event | |
29 | void addParticle(const starlightParticle &p); | |
30 | ||
31 | // Execute event and return starlight type event | |
32 | upcEvent execute(); | |
33 | ||
34 | ||
35 | private: | |
36 | ||
37 | Pythia8::Pythia _pythia; | |
38 | ||
39 | // Prohibited | |
40 | pythiaDecayer(Pythia8::Pythia pythia); | |
41 | bool operator==(const pythiaDecayer &other) const; | |
42 | ||
43 | }; | |
44 | #endif // PYTHIADECAYER_H |