KaliVeda
Toolkit for HIC analysis
Getting started

Here are a few important informations to help you get started with KaliVeda.

Interactive sessions

Type kaliveda in a terminal to launch the interactive C++ interpreter for the toolkit:

$ kaliveda
/----------------------------------------------------------------------\
| Welcome to KaliVeda v1.15/0 gitlab.in2p3.fr/kaliveda-dev/kaliveda |
| (c) 2002-2024, The KaliVeda development team |
| |
| Built with ROOT 6.28.99 on 2025-06-07, 10:09:06 |
| From heads/preprod@1.14.3-493-g1e4315d1 |
| See https://kaliveda.in2p3.fr for help |
\----------------------------------------------------------------------/
kaliveda[0]

This is basically the ROOT interpreter with the base libraries of KaliVeda linked in. If you are not familiar with the ROOT interpreter, see here. Anything you can do in the ROOT interactive interpreter, you can also do in kaliveda - and so much more...

$KVROOT, kaliveda-config, .kvrootrc and ~/.kaliveda

$KVROOT

$KVROOT is a shell variable set by the installation scripts (see Setting up the environment) with the path to the root of your KaliVeda installation. It gets mentioned a lot in the documentation.

kaliveda-config

kaliveda-config is a command line tool (based on root-config) which can give useful information on your KaliVeda installation, such as

$ kaliveda-config --version

the version, or where the examples are installed:

$ kaliveda-config --examples

Just type kaliveda-config to see a summary of all options.

.kvrootrc

As you may or may not know, many aspects of the ROOT environment (whether in an interactive session or when running compiled code) can be modified or tuned using files called .rootrc which may be present either in the current working directory, or in the user's home directory (the former taking precedence over the latter). KaliVeda uses an equivalent system, it will look for a .kvrootrc file, first in the current working directory, then in the user's home directory.

The syntax of these files is

[name]: [value]

In the documentation, we often refer to [name] as a 'resource value' or 'configuration variable' (or even 'environment variable'). The values of all such variables can be inspected in a kaliveda interactive session by typing:

kaliveda[0] gEnv->Print()

gEnv is a global pointer to the default resource/configuration handler defined by ROOT: see TEnv for more details.

~/.kaliveda

When you use KaliVeda, it sometimes needs to generate and save files for later use. These files are saved in what is referred to as the 'working directory', which by default is in your $HOME directory, i.e. ~/.kaliveda.

Examples include:

Note
You can change the default by defining the variable
KaliVeda.WorkingDirectory: [directory]
in your .kvrootrc file (see KVBase::InitEnvironment()).