Back to home page

EIC code displayed by LXR

 
 

    


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

0001 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0002   Rory Evans, Feb. 2018.
0003   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
0004 
0005 #ifndef MatterEffects_H
0006 #define MatterEffects_H
0007 
0008 #include "Particle.hxx"
0009 
0010 class MatterEffects{
0011 private:
0012   double eta(double aZ);
0013 
0014   double Lrad,Lrad_prime,f_Z, a, aE0, mass;
0015   double lK, lbetasq, lxi, lhbarwsq, j, Delta_p, lw;
0016   double result;
0017   Particle * Pout;
0018   double beta, mstheta, msphi, mstheta0;
0019 
0020 public:
0021   double b(double aZ);
0022   double X0(double aZ, double aA);
0023   void MultiScatter(Particle* P, double radlen);
0024   void IonLoss(Particle* P, double a, double z, double rho, double t);
0025   void BremLoss(Particle* P, double abt);
0026 };
0027 
0028 #endif