Нет описания

Petr Parfenov 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
KFParticle 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
bbc 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
bmd 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
clustering 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
cmake 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
config 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
cpc 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
dch 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
emc 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
etof 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
eventdisplay 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
ffd 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
fsa 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
gconfig 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
generators 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
geometry 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
input 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
kalman 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
lhetrack 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
macro 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
mcord 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
mcstack 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
mpdbase 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
mpddst 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
mpdfield 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
mpdpid 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
ndet 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
passive 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
physics 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
scripts 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
sft 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
shield_pack 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
strawECT 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
strawendcap 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
sts 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
stt 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
tgem 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
tof 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
tpc 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
zdc 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
.gitignore 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
.gitlab-ci.yml 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
.gitmodules 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
CDash_Env_MpdRoot.sh 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
CDash_ShortHelp.txt 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
CDash_Test.sh 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
CMakeLists.txt 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
CMakeListst_new.txt 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
CTestConfig.cmake 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
CTestCustom.cmake 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
Dart.sh 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
INSTALL 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
INSTALL.JINR 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
MpdRoot_test.cmake 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
MpdRoot_test1.cmake 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
README.md 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
SetEnv.sh 5c769ad61e Latest version of P. Batyuk's code лет назад: 2

README.md

The MpdRoot Framework

The main framework for the MPD experiment at NICA.
http://mpd.jinr.ru/

Based on:
FairSoft and FairRoot

Getting started

Install Prerequisites

for RedHat-based OS (eg, CentOS, Scientific Linux):

sudo su 
yum install subversion git make cmake gcc-gfortran gcc-c++ \
binutils file patch redhat-lsb-core libX11-devel libXmu-devel \
libXpm-devel libXft-devel libXext-devel mesa-libGLU-devel \
libxml2-devel expat-devel zlib-devel postgresql-devel \
mysql-devel openssl-devel curl-devel automake libtool fftw3-devel \

for Debian-based OS (eg, Ubuntu):

sudo su 
apt install subversion git make cmake g++ gcc gfortran binutils \
patch lsb-release libx11-dev libxmu-dev libxpm-dev libxft-dev \
libxext-dev dpkg-dev xlibmesa-glu-dev libglew-dev libxml2-dev \
libexpat1-dev zlib1g-dev libpqxx-dev libmysqlclient-dev libssl-dev \
libcurl4-openssl-dev automake libtool fftw3-dev 

Install FairSoft

After cloning FairSoft make sure to check fairsoft/DEPENDENCIES

export INSTALLATION_PATH=/opt  
cd $INSTALLATION_PATH  
git clone https://github.com/FairRootGroup/FairSoft.git fairsoft  
cd fairsoft  
git checkout jun19_patches
./configure.sh

 1) GCC (on Linux)  
 1) No Debug Info / or Optimize and Debug if you prefer  
 2) No (do not install FairMQ Only)  
 1) Yes (install Simulation engines and event generators)  
 2) Internet (install G4 files from internet)  
 2) No (do not compile Geant4 in multihreaded mode)  
 2) No (do not install the python bindings)   
 path: $INSTALLATION_PATH/fairsoft/install  

#### Install FairRoot

export INSTALLATION_PATH=/opt  
cd $INSTALLATION_PATH  
export SIMPATH=$INSTALLATION_PATH/fairsoft/install
export PATH=$SIMPATH/bin:$PATH
git clone https://github.com/FairRootGroup/FairRoot.git fairroot
cd fairroot 
git checkout v18.2_patches
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX="$INSTALLATION_PATH/fairroot/install" ..
make
make install

Install MpdRoot

dev - developer branch - contains latest changes
pro - master stable branch

HTTPS (read-only access, e.g. for regular users)

git clone -b dev --recursive https://git.jinr.ru/nica/mpdroot.git  

SSH (for developers)

git clone -b dev --recursive git@git.jinr.ru:nica/mpdroot.git 
cd mpdroot  
mkdir build  

By default, in the SetEnv.sh file SIMPATH points to /opt/fairsoft/mpd/new, and
FAIRROOTPATH – /opt/fairroot/mpd/new directories. If you installed FairSoft or FairRoot to another directory,
please, change SIMPATH and FAIRROOTPATH variables in the file to correct install paths.
e.g.

export SIMPATH=/opt/fairsoft/install  
export FAIRROOTPATH=/opt/fairroot/install  
    . SetEnv.sh  
    cd build  
    cmake ..  
    make  
    . config.sh  

Make sure you use the config file in each new terminal.