Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-15 07:41:25

0001 /*
0002  * PythiaEvent.h
0003  *
0004  *  Created on: 24 lis 2020
0005  *      Author: Khaless
0006  */
0007 
0008 #ifndef PythiaEvent_H
0009 #define PythiaEvent_H
0010 
0011 #include <vector>
0012 
0013 // ROOT
0014 #include "TObject.h"
0015 
0016 #include "Pythia8/Pythia.h"
0017 #include "Pythia8/Event.h"
0018 
0019 using namespace Pythia8;
0020 
0021 class PythiaEvent : public TObject {
0022 public:
0023     PythiaEvent() {}
0024   //PythiaEvent(const PythiaEvent& ev);
0025   ~PythiaEvent()    {}
0026 
0027   // event
0028   long eventId;
0029   int nParticlesFinal;
0030   float Q2; // momentum transfer
0031   float x; // momentum fraction
0032   float y; // inelasticity
0033 
0034   Particle scatteredEle;
0035 
0036   vector<Particle> particles;
0037 
0038 
0039 /*
0040   // Upsilon candidate
0041   float p;
0042   float pt;
0043   float y;
0044   float eta;
0045   float phi;
0046   float m;
0047   short charge;
0048 
0049   // electron 1
0050   float p1;
0051   float pt1;
0052   float eta1;
0053   float phi1;
0054   float nSigmaElectron1;
0055   float nSigmaPion1;
0056 
0057   // electron 2
0058   float p2;
0059   float pt2;
0060   float eta2;
0061   float phi2;
0062   float nSigmaElectron2;
0063   float nSigmaPion2;*/
0064 
0065 private:
0066   ClassDef(PythiaEvent,1);
0067 };
0068 
0069 
0070 
0071 #endif /* PythiaEvent_H */
0072 
0073