Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2024-06-26 07:06:20

0001 #ifndef PYTHIADECAYER_H
0002 #define PYTHIADECAYER_H
0003 
0004 #include "Pythia8/Pythia.h"
0005 #include "starlightparticle.h"
0006 #include "eXevent.h"
0007 
0008 class pythiaDecayer
0009 {
0010 
0011 public:
0012 
0013     // Default constructor
0014     pythiaDecayer();
0015 
0016 
0017     // Destructor
0018     virtual ~pythiaDecayer();
0019 
0020 
0021     // Initialise
0022     void init();
0023     
0024     // Add particle to current event
0025     void addParticle(const starlightParticle &p);
0026     
0027     // Execute event and return starlight type event
0028     eXEvent execute();
0029 
0030 
0031 private:
0032 
0033     Pythia8::Pythia _pythia;
0034     
0035     // Prohibited
0036     pythiaDecayer(Pythia8::Pythia pythia);
0037     bool operator==(const pythiaDecayer &other) const;
0038 
0039 };
0040 #endif // PYTHIADECAYER_H