Back to home page

EIC code displayed by LXR

 
 

    


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

0001 /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0002    Class to generate primary scattered particle
0003    (electron) within set paramters.
0004 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
0005 
0006 #include "Particle.hxx"
0007 #include "CustomRand.hxx"
0008 
0009 class ScatteredParticleGen{
0010   CustomRand * Rand;
0011   double mass;
0012   Particle * ScatteredParticle;
0013 
0014 public:
0015   Particle* GetParticle();
0016 
0017   ScatteredParticleGen(double mass,
0018                        double ERange[2],
0019                        double ThetaRange[2],
0020                        double PhiRange[2]);
0021 };