Skip to content

ASamarkRoth/RandomChains

Repository files navigation

Program RandomChains

The program RandomChains handles data and computes the number of expected random chains due to random fluctuations in the background for specific decay chains for experimental data. For the description of the method, see U. Forsberg et. al. Nuclear Physics A 953 (2016) 117-138. The main purposes of the program are:

  • Provide free access to the code the Lund Nuclear Structure group has used

  • Reproduce the numbers presented in the paper given above

  • Try the method on user provided chains and experimental data

The complete program is located in the downloaded git repository. The program consists of the following three steps:

  1. Read experimental data. Achieved with the constructor: RandomChains::RandomChains(int pixels, int bins, string folder)

  2. Read decay chain/chains characteristics data. Achieved with the method: RandomChains::SetDecayChains(string input_chains)

  3. Compute the number of expected random chains for the given decay chain/chains with the experimental data. Achieved with the method: RandomChains::Run()

How to run RandomChains?

The program is preferably controlled from the file run_file.cc.

When located in the directory of RandomChains type the following in the terminal to run the program:

  1. make

  2. ./run_file

System requirements

The program has been successfully run on the following systems: - Linux Ubuntu 14.04 with g++ version 4.8.4 and std=c++11.

Documentation

A rather detailed documentation of the program can be generated with Doxygen, by typing doxygen in the program folder, and then be found in the created folder documentation/. An .html file is found at documentation/html/index.html and the .pdf is generated with make in the same folder as the following file is created documentation/latex/runman.pdf.

OBS: A pregenerated documentation can be found in runman.pdf.

About

Program in which

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published