@@ -4,39 +4,10 @@ A CC7 machine or a mac.
44
55## Setup
66
7- On CC7, install devtoolset-6:
8-
9- ```
10- yum install centos-release-scl
11- yum install devtoolset-6
12- source /opt/rh/devtoolset-6/enable # to be added to your .bashrc
13- ```
14-
15- For development we use alibuild (see [ here] ( https://alisw.github.io/alibuild/o2-tutorial.html ) for details).
16-
17- ```
18- # Install alibuild
19- sudo pip install alibuild==1.4.0 # or a later version
20-
21- # Check out flpproto repository
22- mkdir -p $HOME/alice
23- cd $HOME/alice
24- aliBuild init flpproto
25-
26- # Check what dependencies you are missing and you would like to add.
27- aliDoctor --defaults o2-daq flpproto
28-
29- # Build dependencies and flp prototype
30- aliBuild --defaults o2-daq build flpproto
31- ```
7+ We use alibuild, see instructions [ here] ( https://alisw.github.io/alibuild/o2-daq-tutorial.html ) .
328
339### Post installation
3410
35- Load environment to use or develop (add it to .bashrc if you wish)
36-
37- ALICE_WORK_DIR=$HOME/alice/sw; eval "`alienv shell-helper`"
38- alienv load flpproto/latest
39-
4011Start and populate database :
4112
4213```
@@ -68,7 +39,15 @@ moduleName=QcExample # which library contains the class
6839cycleDurationSeconds=1
6940```
7041
71- The JSON file contains a typical FairMQ device definition. One can
42+ The source of the data is defined here :
43+
44+ ```
45+ [DataSampling]
46+ ;implementation=FairSampler # get data from readout
47+ implementation=MockSampler # get random data
48+ ```
49+
50+ The JSON ` alfa.json ` file contains a typical FairMQ device definition. One can
7251 change the or the address there:
7352```
7453{
@@ -187,5 +166,6 @@ One can also check what is stored in the database by clicking `Stop`
187166and then switching to ` Database ` source. This will only work if a config
188167file was passed to the ` qcSpy ` utility.
189168
190- ## Documentation todo
191- - a step by step to develop a new module
169+ ## Modules development
170+
171+ TODO
0 commit comments