Skip to content

jose-luis-rs/R3B_Neutron_Generator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neutron Decay Event Generator

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.

License

This software is distributed under the terms of the GNU Lesser General Public Licence version 3 (LGPLv3).

Decay Mode Options

The type of decay can be configured using the decay_opt parameter, which accepts the following values:

  • decay_opt = 0Basic parameters for 1n decay
  • decay_opt = 1N–N correlations for 2n (based on Lednicky’s formalism)
  • decay_opt = 2Sequential decay for a 2n decay
  • decay_opt = 3Dineutron decay for 2n

How to Use

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) |

About

Neutron decay event generator for 1n and 2n decay modes

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 89.3%
  • C 10.7%