Bayeux  3.4.1
Core Foundation library for SuperNEMO
beta1.h
Go to the documentation of this file.
1 #ifndef GENBB_DECAY0_BETA1_H_
2 #define GENBB_DECAY0_BETA1_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  // The decay is considered as forbidden;
16  // correction factor to the allowed spectrum shape has a form
17  // typical for empirical corrections:
18  // cf(e)=(1+c1/w+c2*w+c3*w**2+c4*w**3), w=e/emass+1.
19  // Input : Qbeta - beta energy endpoint (MeV; Qbeta>50 eV);
20  // Zdtr - atomic number of daughter nucleus (Zdtr>0 for e- and
21  // Zdtr<0 for e+ particles);
22  // tcnuc - time of creation of nucleus (sec);
23  // thnuc - nucleus halflife (sec);
24  // c1,c2,c3,c4 - coefficients in correction factor to the allowed spectrum
25  // shape cf(e)=(1+c1/w+c2*w+c3*w**2+c4*w**3),
26  // where w=e/emass+1, e - kinetic energy of electron. .
27  // Output: tdnuc - time of decay of nucleus (sec);
28  // VIT, 30.07.1992; 15.10.1995; 31.03.2006.
29  void decay0_beta1(mygsl::rng & prng_, primary_event & event_,
30  double Qbeta_, double Zdtr_,
31  double tcnuc_, double thnuc_, double & tdnuc_,
32  double c1_, double c2_, double c3_, double c4_);
33 
34  void decay0_beta1(mygsl::rng & prng_, primary_event & event_,
35  double tcnuc_, double thnuc_,
36  double & tdnuc_,
37  void * params_);
38 
39  } // end of namespace decay0
40 } // end of namespace genbb
41 
42 #endif // GENBB_DECAY0_BETA1_H_
43 //
44 // Local Variables: --
45 // mode: c++ --
46 // End: --
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
void decay0_beta1(mygsl::rng &prng_, primary_event &event_, double Qbeta_, double Zdtr_, double tcnuc_, double thnuc_, double &tdnuc_, double c1_, double c2_, double c3_, double c4_)
Subroutine decay0_beta1 simulates the angles and energy of beta particles emitted in beta decay of nu...
Pseudo random number generator.
Definition: rng.h:53