Skip to content

jose-luis-rs/R3BRoot

 
 

Repository files navigation

R3BRoot Software license

The R3BRoot Framework

The R3BRoot software is based on the FairRoot framework and can be used to perform Monte Carlo simulations and experimental data analysis of the R3B (Reactions with Relativistic Radioactive Beams) nuclear physics experiments at the GSI-FAIR research center (Facility for Antiproton and Ion Research). The user can create simulated data and/or perform analysis with the same framework. Geant3 and Geant4 transport engines are supported, however, the implemented tasks that create simulated data do not depend on a particular Monte Carlo engine. The framework delivers base classes which enable the users to construct their detectors and/or analysis tasks in a simple way, it also delivers some general functionality like track visualization. Moreover, an interface for reading experimental and/or simulated magnetic field maps is also implemented.

Discussion Forum

For the software-related user support you can post a new topic on our forum.

License

R3BRoot is distributed under the terms of the GNU General Public Licence version 3 (GPLv3).

Release Information

Please visit releases

Download

git clone -b dev https://github.com/R3BRootGroup/R3BRoot.git
cd R3BRoot
git clone -b dev https://github.com/R3BRootGroup/macros.git

Step by Step Installation

Required Software

First, you will need to install FairSoft and FairRoot. For more details:

  1. Install FairSoft

  2. Install FairRoot

Configure and Compile

from %R3BRoot_DIRECTORY%
cd ..
mkdir build
cd build
export SIMPATH=%PATH_TO_FAIRSOFT%
export FAIRROOTPATH=%PATH_TO_FAIRROOT%
cmake ../R3BRoot
. config.sh
make -j6

To run the detector tests do:

 # To run test: make new shell, do not define SIMPATH neither FAIRROOTPATH
cd ~/R3BRoot_build_dir
make -j8 test

Simulations and Data Analysis

This is performed from the GitHub parameter and data analysis repository, which contains all the macros and parameter files needed by the user to carry out the simulations and data analysis of each experiment. There is one repository per experiment, please, visit the R3B-Wiki for more details.

Contributing

Please ask your questions, request features, and report issues by creating a github issue.

Code Formatting

The R3BRoot project uses clang-format-15 to ensure a common code formatting. The script "clang-format-all.sh" can be used for this purpose:

source util/clang-format-all.sh

About

Framework for Simulations and Data Analysis of R3B Experiment

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 67.3%
  • C++ 30.7%
  • Fortran 0.9%
  • CMake 0.9%
  • Hack 0.1%
  • Shell 0.1%