Bayeux  3.4.1
Core Foundation library for SuperNEMO
positron.h
Go to the documentation of this file.
1 #ifndef GENBB_DECAY0_POSITRON_H_
2 #define GENBB_DECAY0_POSITRON_H_ 1
3 
4 namespace mygsl{
5  class rng;
6 }
7 
8 namespace genbb {
9 
10  class primary_event;
11 
12  namespace decay0 {
13 
14  // Generation of emission of positron with fixed energy
15  // isotropically in the whole space.
16  // call positron(E,tclev,thlev,tdlev)
17  // Input : E - kinetic energy of particle (MeV);
18  // tclev - time of creation of level from which particle will be
19  // emitted (sec);
20  // thlev - level halflife (sec).
21  // Output: tdlev - time of decay of level (sec);
22  void decay0_positron(mygsl::rng & prng, primary_event & event,
23  double E, double tclev, double thlev, double &tdlev);
24 
25  } // end of namespace decay0
26 } // end of namespace genbb
27 
28 #endif // GENBB_DECAY0_POSITRON_H_
29 //
30 // Local Variables: --
31 // mode: c++ --
32 // End: --
33 
34 
Top-level namespace of the Bayeux/genbb_help module library.
Definition: alpha_decay.h:51
void decay0_positron(mygsl::rng &prng, primary_event &event, double E, double tclev, double thlev, double &tdlev)
Top-level namespace of the Bayeux/mygsl module library.
Definition: base_decay_driver.h:47
Pseudo random number generator.
Definition: rng.h:53