Bayeux  3.4.1
Core Foundation library for SuperNEMO
pairext1.h
Go to the documentation of this file.
1 #ifndef GENBB_DECAY0_PAIREXT1_H_
2 #define GENBB_DECAY0_PAIREXT1_H_ 1
3 
4 
5 namespace mygsl {
6  class rng;
7 }
8 
9 namespace genbb {
10  namespace decay0 {
11 
13  // Call : common/const/pi,emass
14  // dimension pg0(3),pe1(3),pe2(3)
15  // call pairext1(Z,pg0,pe1,pe2)
16  // Input : Z - atomic number of the substance;
17  // pg0 - momentum of initial gamma quantum (in MRS);
18  // Output: pe1 - momentum of 1 created electron (in MRS);
19  // pe2 - momentum of 2 created electron (in MRS).
20  // Which particle is e+ and which e-, should be selected randomly.
21  // VIT, 11.03.1998 from GEANT subroutines GPAIRG of G.Patrick, L.Urban
22  // and GBTETH of L.Urban.
23  void decay0_pairext1(mygsl::rng & prng, double Z,
24  const double *pg0, double *pe1, double *pe2);
25 
26  } // end of namespace decay0
27 } // end of namespace genbb
28 
29 #endif // GENBB_DECAY0_PAIREXT1_H_
30 //
31 // Local Variables: --
32 // mode: c++ --
33 // End: --
void decay0_pairext1(mygsl::rng &prng, double Z, const double *pg0, double *pe1, double *pe2)
Simulates e+e- pair production by photons in a target with atomic number Z.
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