PicoDst - lightweight data format specifically created for the Flow analysis in MPD (NICA) experiment.

ParfenovPeter cab9b5acc3 Added '--all' option to write every event in PicoDst. By default, only events with at least 1 reco track will be written 1 month ago
bin d98dadfc88 Added exporting CPATH in setPicoDst.sh so now readPicoDst.C can be run both as a macro and compiled code via ROOT 3 months ago
converter cab9b5acc3 Added '--all' option to write every event in PicoDst. By default, only events with at least 1 reco track will be written 1 month ago
include 194d4aeaba Fixed Clear() function - it is no longer virtual since it is called in the class destructor 3 months ago
macros d98dadfc88 Added exporting CPATH in setPicoDst.sh so now readPicoDst.C can be run both as a macro and compiled code via ROOT 3 months ago
src 6c109db697 First version of PicoDst format + converter 4 months ago
CMakeLists.txt 02f49a1755 Added support for different McStack configuration (FairMCTrack or 3 months ago
README.md aa6fa313ce Added info in README 3 months ago

README.md

PicoDst

Data format fot the Flow Analysis at MPD(NICA)

Installation

  • Get the source code:

    git clone https://devel.mephi.ru/PEParfenov/PicoDst.git
    
  • Create build directory and build project:

    cd PicoDst/
    mkdir build/
    cd build/
    cmake ..
    make
    

    CMakeLists.txt file automatically checks if FairRoot is installed.

    • if FairRoot is installed both libPicoDst.so and PicoDstConverter will be compiled
    • if FairRoot is not installed only libPicoDst.so will be compiled

Usage

PicoDst data format

After installation setPicoDst.sh will be generated. This script contains most of the needed information for the system to find PicoDst library. For comfortable usage of the PicoDst package (to automatically load libPicoDst.so in every ROOT session, export usefull environment variables and aliases in the system), source setPicoDst.sh:

source setPicoDst.sh

It also contains usefull aliases for all executables.

Basic information about PicoDst package: PicoDst-config

Like root-config command, PicoDst-config contains information about version and paths to the source code and build directories. After sourcing setPicoDst.sh one can just use the following command in bash:

PicoDst-config --version --incdir --srcdir --bindir
Convert MpdDst data to PicoDst:

If FairRoot (and MpdRoot) is installed PicoDstConverter is compiled. After sourcing setPicoDst.sh one can use command:

PicoDstConverter -i input_mpddst.root -o output_picodst.root