![]() |
GamR
0.0.0
GammaROOT
|
GammaROOT was developed at the Australian National University, Department of Nuclear Physics by nuclear structure Ph.D candidates.
CERN ROOT is a very powerful library predominately geared towards particle physics. GammaROOT is intended to be used along side ROOT. It provides interactive functions to be used at the ROOT interpreter and *UNIX philosophy tools for tasks common to the nuclear physicist.
Care is taken to make sure GammaROOT is maintainable, extendable, and robust. Modern C++ is encouraged as is unit testing.
Unfortunately the default compile flags for ROOT6 are to compile with C++11 rather even though it's perfectly compatable with C++14 and is only a matter of setting a CMake option. Though, not everyone can (or are willing) to compile ROOT from source.
Open source libraries are best when more people are using them. For this reason, GammaROOT does not use C++14 (or higher) extensions. This will change immediately when the ROOT project changes their defaults.
Tested on Ubuntu 16.04 LTS. Requirements: Doxygen, ROOT v6.10+, GCC, C++ STL.
Clone the git repository and run the following to pull the external dependencies.
Now to build GammaROOT
Or, do all the above in one sweep for prefix=~/.local
To make and install the documentation and get here:
GamR is comprised of several modules, not all of which are necessary and some of which have extra dependencies. By default, a selection of the most commonly used are enabled in gamma-root/CMakeLists.txt:
These can be adjusted for your requirements in gamma-root/CMakeLists.txt.
The following example assumes you have built and installed with prefix=~/.local. If not, adjust accordingly.
Set your environment variables by putting the following in your ~/.profile, ~/.bashrc, or something similar:
[✔] You can run the script gamrdoc from anywhere to open this documentation.
In your ~/.rootrc add the following lines:
In ~/.rootlogon.cc add the following to intialize GammaROOT