Expert Root » History » Version 37

Version 36 (Vitaliy Schetinin, 07/08/2015 11:25 AM) → Version 37/69 (Vitaliy Schetinin, 07/08/2015 11:27 AM)

<h1><span style="font-size:36px;"><strong>ExpertRoot</strong></span></h1>

<hr />
<h2 style="box-sizing: border-box; margin-top: 1em; margin-bottom: 16px; line-height: 1.225; font-size: 1.75em; position: relative; padding-bottom: 0.3em; border-bottom-style: solid; border-bottom-color: rgb(238, 238, 238); color: rgb(51, 51, 51); font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif;"><span style="font-size:24px;">The Framework</span></h2>

<hr />
<p><span style="color: rgb(51, 51, 51); font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif; font-size: 16px; line-height: 25.6000003814697px; background-color: rgb(255, 255, 255);">A simulation, reconstruction and analysis framework that is based on the ROOT and the FairRoot systems. The user can create simulated data and/or perform analysis with the same framework. Geant3 and Geant4 transport engines are supported, however the user code that creates simulated data do not depend on a particular monte carlo engine.</span></p>

<h2 style="box-sizing: border-box; margin-top: 1em; margin-bottom: 16px; line-height: 1.225; font-size: 1.75em; position: relative; padding-bottom: 0.3em; border-bottom-style: solid; border-bottom-color: rgb(238, 238, 238); color: rgb(51, 51, 51); font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif;"><span style="font-size:24px;">License</span></h2>

<p><span style="color: rgb(51, 51, 51); font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif; font-size: 16px; line-height: 25.6000003814697px; background-color: rgb(255, 255, 255);">ExpertRoot is distributed under the terms of the GNU Lesser General Public Licence version 3 (LGPL) version 3.</span></p>

<p> </p>

<p> </p>

<p> </p>

<h2><span style="font-size:24px;"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif"><span style="line-height: 25.6000003814697px; background-color: rgb(255, 255, 255);">Installation Guide</span></font></span></h2>

<hr />
<h3><span style="font-size:20px;">1. <a href="https://github.com/FairRootGroup/FairSoft/">FairSoft</a> Installation</span></h3>

<pre style="box-sizing: border-box; overflow: auto; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6000003814697px; margin-top: 0px; margin-bottom: 16px; font-stretch: normal; line-height: 1.45; padding: 16px; border-radius: 3px; word-wrap: normal; color: rgb(51, 51, 51); background-color: rgb(247, 247, 247);">
<code style="box-sizing: border-box; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6000003814697px; padding: 0px; margin: 0px; border-radius: 3px; word-break: normal; border: 0px; display: inline; max-width: initial; overflow: initial; line-height: inherit; word-wrap: normal; background: transparent;"><span style="font-size:14px;">mkdir ~/fair_install</span>
cd ~/fair_install
#git clone https://github.com/FairRootGroup/FairSoft.git
git clone -b BRANCH_NAME https://github.com/FairRootGroup/FairSoft.git
cd FairSoft
./configure.sh
# 1) gcc (on Linux) 5) Clang (on OSX)
# 1) No Debug Info
# 2) Internet (install G4 files from internet)
# path: ~/fair_install/FairSoftInst</code>
</pre>

<p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(51, 51, 51); font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif; font-size: 16px; line-height: 25.6000003814697px;">BRANCH_NAME=jul14p3</p>

<h3 style="box-sizing: border-box; margin-top: 1em; margin-bottom: 16px; line-height: 1.43; font-size: 1.5em; position: relative; color: rgb(51, 51, 51); font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif;"><span style="font-size:20px;">2. <a href="https://github.com/FairRootGroup/FairRoot">FairRoot</a> Installation</span></h3>

<pre style="box-sizing: border-box; overflow: auto; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6000003814697px; margin-top: 0px; margin-bottom: 16px; font-stretch: normal; line-height: 1.45; padding: 16px; border-radius: 3px; word-wrap: normal; color: rgb(51, 51, 51); background-color: rgb(247, 247, 247);">
<span style="font-size:14px;"><code style="box-sizing: border-box; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6000003814697px; padding: 0px; margin: 0px; border-radius: 3px; word-break: normal; border: 0px; display: inline; max-width: initial; overflow: initial; line-height: inherit; word-wrap: normal; background: transparent;"># Set the shell variable SIMPATH to the installation directory
export SIMPATH=~/fair_install/FairSoftInst

cd ~/fair_install
git clone -b BRANCH_NAME https://github.com/FairRootGroup/FairRoot.git
cd FairRoot
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX="~/fair_install/FairRootInst" ..
make
make install
</code></span></pre>

<p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(51, 51, 51); font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif; font-size: 16px; line-height: 25.6000003814697px;">BRANCH_NAME=v-14.11</p>

<h3 style="box-sizing: border-box; margin-top: 1em; margin-bottom: 16px; line-height: 1.43; font-size: 1.5em; position: relative; color: rgb(51, 51, 51); font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif;">3. <span style="font-size:20px;">ExpertRoot Installation</span></h3>

<pre style="box-sizing: border-box; overflow: auto; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6000003814697px; margin-top: 0px; margin-bottom: 16px; font-stretch: normal; line-height: 1.45; padding: 16px; border-radius: 3px; word-wrap: normal; color: rgb(51, 51, 51); background-color: rgb(247, 247, 247);">
<span style="font-size:14px;"><code style="box-sizing: border-box; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6000003814697px; padding: 0px; margin: 0px; border-radius: 3px; word-break: normal; border: 0px; display: inline; max-width: initial; overflow: initial; line-height: inherit; word-wrap: normal; background: transparent;"># Set the shell variable FAIRROOTPATH to the FairRoot installation directory
export FAIRROOTPATH=~/fair_install/FairRootInst

mkdir ~/expertroot
cd ~/expertroot
git clone -b BRANCH_NAME http://er.jinr.ru/er.git https://er.jinr.ru/er.git .
mkdir build
cd build
cmake ../
make
</code></span></pre>

<p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(51, 51, 51); font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif; font-size: 16px; line-height: 25.6000003814697px;"><span style="font-size:14px;">BRANCH_NAME=master</span></p>

<h3 style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(51, 51, 51); font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif; font-size: 16px; line-height: 25.6000003814697px;"><span style="font-size:20px;">4. ExpertRoot Initialize:</span></h3>

<pre style="box-sizing: border-box; overflow: auto; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6000003814697px; margin-top: 0px; font-stretch: normal; line-height: 1.45; padding: 16px; border-radius: 3px; word-wrap: normal; color: rgb(51, 51, 51); margin-bottom: 0px !important; background-color: rgb(247, 247, 247);">
<span style="font-size:14px;"><code style="box-sizing: border-box; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6000003814697px; padding: 0px; margin: 0px; border-radius: 3px; word-break: normal; border: 0px; display: inline; max-width: initial; overflow: initial; line-height: inherit; word-wrap: normal; background: transparent;">. ~/expertroot/build/config.sh</code></span></pre>

<p> </p>

<p> </p>

<h2><font face="Consolas, Liberation Mono, Menlo, Courier, monospace"><span style="font-size: 24px;">User Guide</span></font></h2>

<hr />
<h3><span style="font-size:20px;">  Updating</span></h3>

<pre>
<span style="font-size:14px;">cd ~/expertroot
git pull</span></pre>

<p> </p>

<p> </p>

<h2><span style="font-size:24px;">Developers Guide</span></h2>

<hr />
<h3><span style="font-size:20px;">  Git user initialize</span></h3>

<pre>
<span style="font-size:14px;"> git config --global user.email "you@example.com"
git config --global user.name "Your Name"</span></pre>

<h3><span style="font-size:20px;">  Git push</span></h3>

<pre>
<span style="font-size:14px;">git push ssh_user_name@er.jinr.ru:/er.git</span></pre>

<h3><span style="font-size:20px;">  [[Git workflow]]</span></h3>