Bayeux  3.4.1
Core Foundation library for SuperNEMO
beta_1fu.h
Go to the documentation of this file.
1 #ifndef GENBB_DECAY0_BETA_1FU_H_
2 #define GENBB_DECAY0_BETA_1FU_H_ 1
3 
4 namespace mygsl {
5 
6  class rng;
7 
8 }
9 
10 namespace genbb {
11 
12  class primary_event;
13 
14  namespace decay0 {
15 
17  // The decay is considered as 1st-forbidden
18  // unique. Its shape is product of theoretical spectrum shape for allowed
19  // decay and two correction factors:
20  // 1. theoretical of BJ'1969
21  // cf1(e)=pnu**2+lambda2*pel**2,
22  // where lambda2 is the Coulomb function calculated in BJ'1969,
23  // and pel and pnu are impulses of electron and neutrino:
24  // pel=sqrt(w**2-1), pnu=(Qbeta-e)/emass , w=e/emass+1;
25  // 2. empirical correction
26  // cf2(e)=(1+c1/w+c2*w+c3*w**2+c4*w**3).
27  // Input : Qbeta - beta energy endpoint (MeV; Qbeta>50 eV);
28  // Zdtr - atomic number of daughter nucleus (Zdtr>0 for e- and
29  // Zdtr<0 for e+ particles);
30  // tcnuc - time of creation of nucleus (sec);
31  // thnuc - nucleus halflife (sec);
32  // c1,c2,c3,c4 - coefficients in correction factor to the spectrum
33  // shape cf2(e)=(1+c1/w+c2*w+c3*w**2+c4*w**3),
34  // where w=e/emass+1, e - kinetic energy of electron.
35  // Output: tdnuc - time of decay of nucleus (sec);
36  // VIT, 24.10.2006.
37  void decay0_beta_1fu(mygsl::rng & prng_, primary_event & event_,
38  double Qbeta_, double Zdtr_,
39  double tcnuc_, double thnuc_, double & tdnuc_,
40  double c1_, double c2_, double c3_, double c4_);
41 
42  void decay0_beta_1fu(mygsl::rng & prng_, primary_event& event_,
43  double tcnuc_,double thnuc_, double & tdnuc_,
44  void * params_);
45 
46  } // end of namespace decay0
47 } // end of namespace genbb
48 
49 #endif // GENBB_DECAY0_BETA_1FU_H_
50 //
51 // Local Variables: --
52 // mode: c++ --
53 // End: --
void decay0_beta_1fu(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 beta_1fu simulates the angles and energy of beta particles emitted in beta decay of nucleu...
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