Bayeux  3.4.1
Core Foundation library for SuperNEMO
electron.h
Go to the documentation of this file.
1 #ifndef GENBB_DECAY0_ELECTRON_H_
2 #define GENBB_DECAY0_ELECTRON_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  // Input : E - kinetic energy of particle (MeV);
16  // tclev - time of creation of level from which particle will be
17  // emitted (sec);
18  // thlev - level halflife (sec).
19  // Output: tdlev - time of decay of level (sec);
20  void decay0_electron(mygsl::rng & prng, primary_event & event,
21  double E, double tclev, double thlev, double &tdlev);
22 
23  } // end of namespace decay0
24 } // end of namespace genbb
25 
26 #endif // GENBB_DECAY0_ELECTRON_H_
27 //
28 // Local Variables: --
29 // mode: c++ --
30 // End: --
31 
32 
void decay0_electron(mygsl::rng &prng, primary_event &event, double E, double tclev, double thlev, double &tdlev)
Generation of emission of electron with fixed energy isotropically in the whole space.
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