KaliVeda  1.11/01
Heavy-Ion Analysis Toolkit
KaliVeda Data Analysis Toolkit

KaliVeda is an object-oriented toolkit based on ROOT for the analysis of heavy-ion collisions in the Fermi energy domain.

Build & Install

See INSTALL file for details. We recommend a recent version of ROOT, either v6.14 or later or the latest release of v5.34. Some problems may be encountered with ROOT6 depending on the version, see https://github.com/kaliveda-dev/kaliveda/wiki/ROOT-compatibility-status CMake (v2.8.11 or greater) is required.

Use in ROOT interactive session

The 'kaliveda' command launches a ROOT session with dynamic shared library paths set up so that all classes will be loaded as & when needed by the ROOT interpreter (either Cint or Cling). Example of use:

$ kaliveda

***********************************************************
*                    HI COQUINE !!!                       *
*                                                         *
*         W E L C O M E     to     K A L I V E D A        *
*                                                         *
* Version: 1.11/00                      Built: 2019-02-14 *
* git: heads/master@release-1.10.15-379-g3f87b236         *
*                                                         *
*               For help, see the website :               *
*             http://indra.in2p3.fr/kaliveda              *
*                                                         *
*                          ENJOY !!!                      *
***********************************************************

kaliveda [0] 

Compiling & linking with KaliVeda & ROOT libraries

$ g++ `kaliveda-config --cflags` -c MyCode.cxx
$ g++ MyCode.o `kaliveda-config --linklibs` 

Use in CMake-based project

Given a C++ file using KaliVeda classes such as toto.cpp:

#include "KVBase.h"
int main()
{
   KVBase::InitEnvironment();
   return 0;
}

You can compile and link this executable with the following CMakeLists.txt file:

cmake_minimum_required(VERSION 2.8.11)
project(toto)
find_package(KaliVeda REQUIRED)
include(${KALIVEDA_USE_FILE})
find_package(ROOT REQUIRED)
include(SetUpROOTBuild)
add_executable(toto toto.cpp)
target_link_libraries(toto ${KALIVEDA_LIBRARIES})

Build the executable 'toto' by doing:

$ mkdir build && cd build
$ cmake ..
$ make

See the wiki page https://github.com/kaliveda-dev/kaliveda/wiki/Using-KaliVeda-in-a-CMake-based-project for more detailed information.

More information

See the website http://indra.in2p3.fr/kaliveda