Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:15:01

0001 #ifndef DEMPEvent_H
0002 #define DEMPEvent_H
0003 
0004 #include "TLorentzVector.h"
0005 
0006 #include "Particle.hxx"
0007 #include "TVector3.h"
0008 
0009 class DEMPEvent
0010 {
0011 public:
0012 
0013   DEMPEvent();
0014   DEMPEvent(const char* prefix);
0015 
0016   void Boost(TVector3 boostvect);
0017   void Rotate(double rottheta, double rotphi);
0018   TVector3 CoM();
0019 
0020   Particle * BeamElec;
0021   Particle * TargNeut;
0022   Particle * ScatElec;
0023   Particle * ProdProt;
0024   Particle * ProdPion;
0025 
0026   Particle * VirtPhot;
0027 
0028   TLorentzVector* TargPol;
0029 
0030   double* qsq_GeV;
0031   double* t_GeV;
0032   double* w_GeV;
0033 
0034   double* t_para_GeV;
0035   double* t_prime_GeV;
0036   double* negt;
0037   double* x_B;
0038 
0039   double* Phi;
0040   double* Phi_s;
0041   double* Theta;
0042 
0043   double* Phi_deg;
0044   double* Phi_s_deg;
0045   double* Theta_deg;
0046 
0047   double* P_T;
0048 
0049   double* Vertex_x;
0050   double* Vertex_y;
0051   double* Vertex_z;
0052 
0053   double STphi; //Angle of the target transverse polarization
0054 
0055   void Update();
0056 
0057   DEMPEvent operator = (const DEMPEvent& q);
0058 
0059 };
0060 
0061 #endif