Back to home page

EIC code displayed by LXR

 
 

    


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

0001 #ifndef FSI_H
0002 #define FSI_H
0003 
0004 #include "Particle.hxx"
0005 #include "CustomRand.hxx"
0006 #include "TargetGen.hxx"
0007 
0008 #include "TVector3.h"
0009 
0010 class FSI
0011 {
0012 
0013 private:
0014   CustomRand* SpherePicker;
0015 
0016   TargetGen* ProtGen;
0017 
0018   double theta_pion, p_pion, phi_pion;
0019   double a,b,c,x;
0020   double Z0,Z1,Z2;
0021   double beta, gamma, beta_pion, g;
0022 
0023   TVector3* CoP;
0024 public:
0025 
0026   Particle* VertInPion;
0027   Particle* VertTargProt;
0028   Particle* CMInPion;
0029   Particle* CMTargProt;
0030 
0031   Particle* VertOutPion;
0032   Particle* VertOutProt;
0033   Particle* CMOutPion;
0034   Particle* CMOutProt;
0035 
0036   double* PhaseShiftWeight;
0037 
0038   double* WilliamsWeight;
0039   double* DedrickWeight;
0040   double* CatchenWeight;
0041 
0042 
0043   FSI();
0044 
0045   int Generate();
0046   int CalculateWeights();
0047   int GenerateNoRandom();
0048 
0049 };
0050 
0051 #endif