Bayeux  3.4.1
Core Foundation library for SuperNEMO
beta2.h
Go to the documentation of this file.
1 #ifndef GENBB_DECAY0_BETA2_H_
2 #define GENBB_DECAY0_BETA2_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 one of a form,
17  // typical for unique k-forbidden spectra:
18  // k=1: cf(e)=pel**2+c1* pnu**2,
19  // k=2: cf(e)=pel**4+c1*pel**2*pnu**2+c2* pnu**4,
20  // k=3: cf(e)=pel**6+c1*pel**4*pnu**2+c2*pel**2*pnu**4+c3* pnu**6,
21  // k=4: cf(e)=pel**8+c1*pel**6*pnu**2+c2*pel**4*pnu**4+c3*pel**2*pnu**6+c4*pnu**8,
22  // where pel and pnu are impulses of electron and neutrino:
23  // pel=sqrt(w**2-1), pnu=(Qbeta-e)/emass , w=e/emass+1.
24  // Input : Qbeta - beta energy endpoint (MeV; Qbeta>50 eV);
25  // Zdtr - atomic number of daughter nucleus (Zdtr>0 for e- and
26  // Zdtr<0 for e+ particles);
27  // tcnuc - time of creation of nucleus (sec);
28  // thnuc - nucleus halflife (sec);
29  // kf - degree of forbiddeness for unique spectra;
30  // c1,c2,c3,c4 - coefficients in correction factor to the allowed spectrum
31  // shape - see above.
32  // Output: tdnuc - time of decay of nucleus (sec);
33  // VIT, 30.07.1992; 15.10.1995; 31.03.2006.
34  void decay0_beta2(mygsl::rng & prng_, primary_event & event_,
35  double Qbeta_, double Zdtr_,
36  double tcnuc_, double thnuc_, double & tdnuc_,
37  int kf_,
38  double c1_, double c2_, double c3_, double c4_);
39 
40  void decay0_beta2(mygsl::rng & prng, primary_event & event,
41  double tcnuc,double thnuc,
42  double & tdnuc,
43  void * params);
44 
45  } // end of namespace decay0
46 } // end of namespace genbb
47 
48 #endif // GENBB_DECAY0_BETA2_H_
49 //
50 // Local Variables: --
51 // mode: c++ --
52 // End: --
void decay0_beta2(mygsl::rng &prng_, primary_event &event_, double Qbeta_, double Zdtr_, double tcnuc_, double thnuc_, double &tdnuc_, int kf_, double c1_, double c2_, double c3_, double c4_)
Subroutine decay0_beta2 simulates the angles and energy of beta particles emitted in beta decay of nu...
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