Expert Root » History » Version 42

Vitaliy Schetinin, 07/08/2015 01:58 PM

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