Expert Root » History » Version 50

Vitaliy Schetinin, 09/25/2015 08:25 AM

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 45 Vitaliy Schetinin
git clone https://github.com/FairRootGroup/FairSoft.git
25 1 Redmine Admin
cd FairSoft
26 46 Vitaliy Schetinin
git checkout BRANCHE_NAME
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 45 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=jul14p4</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 1 Redmine Admin
export SIMPATH=~/fair_install/FairSoftInst
41 20 Vitaliy Schetinin
42 20 Vitaliy Schetinin
cd ~/fair_install
43 1 Redmine Admin
git clone https://github.com/FairRootGroup/FairRoot.git
44 45 Vitaliy Schetinin
cd FairRoot
45 46 Vitaliy Schetinin
git checkout BRANCH_NAME
46 20 Vitaliy Schetinin
mkdir build
47 20 Vitaliy Schetinin
cd build
48 1 Redmine Admin
cmake -DCMAKE_INSTALL_PREFIX="~/fair_install/FairRootInst" ..
49 20 Vitaliy Schetinin
make
50 20 Vitaliy Schetinin
make install
51 32 Vitaliy Schetinin
</code></span></pre>
52 20 Vitaliy Schetinin
53 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>
54 20 Vitaliy Schetinin
55 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>
56 20 Vitaliy Schetinin
57 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);">
58 1 Redmine Admin
<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
59 1 Redmine Admin
export FAIRROOTPATH=~/fair_install/FairRootInst
60 20 Vitaliy Schetinin
61 20 Vitaliy Schetinin
mkdir ~/expertroot
62 36 Vitaliy Schetinin
cd ~/expertroot
63 45 Vitaliy Schetinin
git clone http://er.jinr.ru/er.git .
64 45 Vitaliy Schetinin
git checkout BRANCH_NAME
65 1 Redmine Admin
mkdir build
66 20 Vitaliy Schetinin
cd build
67 20 Vitaliy Schetinin
cmake ../
68 20 Vitaliy Schetinin
make
69 32 Vitaliy Schetinin
</code></span></pre>
70 20 Vitaliy Schetinin
71 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>
72 20 Vitaliy Schetinin
73 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>
74 20 Vitaliy Schetinin
75 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);">
76 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>
77 27 Vitaliy Schetinin
78 27 Vitaliy Schetinin
<p> </p>
79 1 Redmine Admin
80 1 Redmine Admin
<p> </p>
81 27 Vitaliy Schetinin
82 25 Vitaliy Schetinin
<h2><font face="Consolas, Liberation Mono, Menlo, Courier, monospace"><span style="font-size: 24px;">User Guide</span></font></h2>
83 25 Vitaliy Schetinin
84 25 Vitaliy Schetinin
<hr />
85 30 Vitaliy Schetinin
<h3><span style="font-size:20px;">  Updating</span></h3>
86 28 Vitaliy Schetinin
87 29 Vitaliy Schetinin
<pre>
88 32 Vitaliy Schetinin
<span style="font-size:14px;">cd ~/expertroot  
89 32 Vitaliy Schetinin
git pull</span></pre>
90 1 Redmine Admin
91 1 Redmine Admin
<p> </p>
92 50 Vitaliy Schetinin
93 50 Vitaliy Schetinin
<h2><span style="font-size:24px;">[[Developers Guide]]</span></h2>