This file is used to generate input data for the R3BRoot simulation framework. It supports the generation of 1n and 2n decay events, including multiple decay mechanisms for the 2n decay mode.
This software is distributed under the terms of the GNU Lesser General Public Licence version 3 (LGPLv3).
The type of decay can be configured using the decay_opt
parameter, which accepts the following values:
decay_opt = 0
— Basic parameters for 1n decaydecay_opt = 1
— N–N correlations for 2n (based on Lednicky’s formalism)decay_opt = 2
— Sequential decay for a 2n decaydecay_opt = 3
— Dineutron decay for 2n
Clone the repository:
git clone https://github.com/jose-luis-rs/R3B_Neutron_Generator.git
cd R3B_Neutron_Generator
Run the generator using ROOT:
root -l
.L NeutronDecayGenerator.cxx++
Generate_Ndecay("fileName", nb_events, A, Z, Ekin, E_BW, W_BW, nb_n, decay_opt)
| Parameter | Description |
| ----------- | ---------------------------------------- |
| `fileName` | Output ROOT file name (string) |
| `nb_events` | Number of events to generate (int) |
| `A` | Mass number of the fragment |
| `Z` | Atomic number of the fragment |
| `Ekin` | Kinetic energy in MeV (lab frame) |
| `E_BW` | Average energy for the Breit-Wigner |
| `W_BW` | Sigma of the Breit-Wigner |
| `nb_n` | Number of decay neutrons |
| `decay_opt` | Decay mode selection (see above options) |