Medusa is a C++14 compliant application, highly based on HYDRA v.3, to perform physics data analysis of generic 4-body decays in massively parallel platforms on Linux systems.
Medusa depends on HYDRA >= v.3.2.1, GCC >= v.8, ROOT >= v.6.14, libconfig >= v1.5, TCLAP >= v1.2.1. Optionally CUDA >= 10.0 is needed to use nVidia GPUs. Medusa also uses Catch2 to perform test and micro-benchmarks; this library is already included as unique header.
The first step is checkout HYDRA v.3:
mkdir <MedusaDevDir>
cd <MedusaDevDir>
git clone https://github.com/MultithreadCorner/Hydra.git HydraThen you can clone the Medusa repository:
git clone https://github.com/dbrundu/Medusa.git MedusaThen you can setup the corresponding enveironment variables:
export CC=/usr/bin/gcc-8
export CXX=/usr/bin/g++-8
export HYDRA_INCLUDE_DIR=<path-to-hydra>
...Starting from the Medusa folder, please create a build directory for convenience and run the cmake command:
cd Medusa
mkdir build
cd build
cmake -DHYDRA_INCLUDE_DIR=$HYDRA_INCLUDE_DIR ../
At this point you can run the first test (a preliminary benchmark for phis model with 1M events):
make test_phis_JpsiKK_tbb
./test_phis_JpsiKK_tbb