Expert Root » History » Version 44

Vitaliy Schetinin, 07/08/2015 02:56 PM

1 44 Vitaliy Schetinin
<h2><span style="font-size:24px;">The Framework</span></h2>
2 16 Vitaliy Schetinin
3 16 Vitaliy Schetinin
<hr />
4 1 Redmine Admin
<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>
5 1 Redmine Admin
6 21 Vitaliy Schetinin
<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>
7 18 Vitaliy Schetinin
8 18 Vitaliy Schetinin
<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>
9 19 Vitaliy Schetinin
10 26 Vitaliy Schetinin
<p> </p>
11 26 Vitaliy Schetinin
12 26 Vitaliy Schetinin
<p> </p>
13 26 Vitaliy Schetinin
14 26 Vitaliy Schetinin
<p> </p>
15 26 Vitaliy Schetinin
16 21 Vitaliy Schetinin
<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>
17 19 Vitaliy Schetinin
18 23 Vitaliy Schetinin
<hr />
19 33 Vitaliy Schetinin
<h3><span style="font-size:20px;">1. <a href="https://github.com/FairRootGroup/FairSoft/">FairSoft</a> Installation</span></h3>
20 19 Vitaliy Schetinin
21 19 Vitaliy Schetinin
<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);">
22 32 Vitaliy Schetinin
<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>
23 19 Vitaliy Schetinin
cd ~/fair_install
24 19 Vitaliy Schetinin
#git clone https://github.com/FairRootGroup/FairSoft.git
25 19 Vitaliy Schetinin
git clone -b BRANCH_NAME https://github.com/FairRootGroup/FairSoft.git
26 19 Vitaliy Schetinin
cd FairSoft
27 19 Vitaliy Schetinin
./configure.sh
28 19 Vitaliy Schetinin
# 1) gcc (on Linux) 5) Clang (on OSX)
29 19 Vitaliy Schetinin
# 1) No Debug Info
30 1 Redmine Admin
# 2) Internet (install G4 files from internet)
31 19 Vitaliy Schetinin
# path: ~/fair_install/FairSoftInst</code>
32 20 Vitaliy Schetinin
</pre>
33 20 Vitaliy Schetinin
34 20 Vitaliy Schetinin
<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>
35 20 Vitaliy Schetinin
36 33 Vitaliy Schetinin
<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>
37 20 Vitaliy Schetinin
38 20 Vitaliy Schetinin
<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);">
39 32 Vitaliy Schetinin
<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
40 20 Vitaliy Schetinin
export SIMPATH=~/fair_install/FairSoftInst
41 20 Vitaliy Schetinin
42 20 Vitaliy Schetinin
cd ~/fair_install
43 20 Vitaliy Schetinin
git clone -b BRANCH_NAME https://github.com/FairRootGroup/FairRoot.git
44 20 Vitaliy Schetinin
cd FairRoot
45 20 Vitaliy Schetinin
mkdir build
46 20 Vitaliy Schetinin
cd build
47 1 Redmine Admin
cmake -DCMAKE_INSTALL_PREFIX="~/fair_install/FairRootInst" ..
48 20 Vitaliy Schetinin
make
49 20 Vitaliy Schetinin
make install
50 32 Vitaliy Schetinin
</code></span></pre>
51 20 Vitaliy Schetinin
52 20 Vitaliy Schetinin
<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>
53 20 Vitaliy Schetinin
54 21 Vitaliy Schetinin
<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>
55 20 Vitaliy Schetinin
56 20 Vitaliy Schetinin
<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);">
57 32 Vitaliy Schetinin
<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
58 20 Vitaliy Schetinin
export FAIRROOTPATH=~/fair_install/FairRootInst
59 20 Vitaliy Schetinin
60 36 Vitaliy Schetinin
mkdir ~/expertroot
61 22 Vitaliy Schetinin
cd ~/expertroot
62 37 Vitaliy Schetinin
git clone -b BRANCH_NAME http://er.jinr.ru/er.git .
63 1 Redmine Admin
mkdir build
64 20 Vitaliy Schetinin
cd build
65 20 Vitaliy Schetinin
cmake ../
66 20 Vitaliy Schetinin
make
67 32 Vitaliy Schetinin
</code></span></pre>
68 20 Vitaliy Schetinin
69 32 Vitaliy Schetinin
<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>
70 20 Vitaliy Schetinin
71 24 Vitaliy Schetinin
<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>
72 20 Vitaliy Schetinin
73 25 Vitaliy Schetinin
<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);">
74 32 Vitaliy Schetinin
<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>
75 27 Vitaliy Schetinin
76 27 Vitaliy Schetinin
<p> </p>
77 1 Redmine Admin
78 1 Redmine Admin
<p> </p>
79 27 Vitaliy Schetinin
80 25 Vitaliy Schetinin
<h2><font face="Consolas, Liberation Mono, Menlo, Courier, monospace"><span style="font-size: 24px;">User Guide</span></font></h2>
81 25 Vitaliy Schetinin
82 25 Vitaliy Schetinin
<hr />
83 30 Vitaliy Schetinin
<h3><span style="font-size:20px;">  Updating</span></h3>
84 28 Vitaliy Schetinin
85 29 Vitaliy Schetinin
<pre>
86 32 Vitaliy Schetinin
<span style="font-size:14px;">cd ~/expertroot  
87 32 Vitaliy Schetinin
git pull</span></pre>
88 1 Redmine Admin
89 1 Redmine Admin
<p> </p>
90 31 Vitaliy Schetinin
91 31 Vitaliy Schetinin
<p> </p>
92 1 Redmine Admin
93 31 Vitaliy Schetinin
<h2><span style="font-size:24px;">Developers Guide</span></h2>
94 31 Vitaliy Schetinin
95 43 Vitaliy Schetinin
<hr />
96 38 Vitaliy Schetinin
<h3><span style="font-size:20px;">  Doxygen</span></h3>
97 38 Vitaliy Schetinin
98 38 Vitaliy Schetinin
<pre>
99 42 Vitaliy Schetinin
<span style="font-size:14px;">http://er.jinr.ru/doxygen/index.html</span></pre>
100 31 Vitaliy Schetinin
101 43 Vitaliy Schetinin
<h3><span style="font-size:20px;">  Git user initialize</span></h3>
102 31 Vitaliy Schetinin
103 31 Vitaliy Schetinin
<pre>
104 32 Vitaliy Schetinin
 <span style="font-size:14px;"> git config --global user.email "you@example.com"
105 32 Vitaliy Schetinin
  git config --global user.name "Your Name"</span></pre>
106 31 Vitaliy Schetinin
107 31 Vitaliy Schetinin
<h3><span style="font-size:20px;">  Git push</span></h3>
108 31 Vitaliy Schetinin
109 31 Vitaliy Schetinin
<pre>
110 32 Vitaliy Schetinin
 <span style="font-size:14px;">git push ssh_user_name@er.jinr.ru:/er.git</span></pre>
111 34 Vitaliy Schetinin
112 35 Vitaliy Schetinin
<h3><span style="font-size:20px;">  [[Git workflow]]</span></h3>