Bayeux  3.4.1
Core Foundation library for SuperNEMO
compton1.h
Go to the documentation of this file.
1 #ifndef GENBB_DECAY0_COMPTON1_H_
2 #define GENBB_DECAY0_COMPTON1_H_ 1
3 
4 namespace mygsl{
5  class rng;
6 }
7 
8 namespace genbb {
9 
10  class primary_event;
11 
12  namespace decay0 {
13 
15  // Call :
16  // dimension pg0(3),pg1(3),pe1(3)
17  // call compton1(pg0,pg1,pe1)
18  // Input : pg0 - momentum of initial gamma quantum (in MRS);
19  // Output: pg1 - momentum of scattered gamma quantum (in MRS);
20  // pe1 - momentum of recoil electron (in MRS).
21  //
22  // VIT, 07.12.1995 from GEANT subroutine GCOMP by G.Patrick, L.Urban.
23  void decay0_compton1(mygsl::rng & prng,
24  const double * pg0, double *pg1, double *pe1);
25 
26  } // end of namespace decay0
27 } // end of namespace genbb
28 
29 #endif // GENBB_DECAY0_COMPTON1_H_
30 //
31 // Local Variables: --
32 // mode: c++ --
33 // End: --
34 
35 
void decay0_compton1(mygsl::rng &prng, const double *pg0, double *pg1, double *pe1)
Simulates photon-electron Compton scattering.
Top-level namespace of the Bayeux/genbb_help module library.
Definition: alpha_decay.h:51
Top-level namespace of the Bayeux/mygsl module library.
Definition: base_decay_driver.h:47
Pseudo random number generator.
Definition: rng.h:53