Skip to content

Commit 794c1f1

Browse files
committed
Clean up the QC config file
1 parent 3391246 commit 794c1f1

1 file changed

Lines changed: 36 additions & 48 deletions

File tree

example-default.ini

Lines changed: 36 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,32 @@
1+
;===============================
2+
; General
3+
;-------------------------------
4+
15
[DataSampling]
26
;implementation=FairSampler
37
implementation=MockSampler
48

5-
[Publisher]
6-
className=AlfaPublisher
7-
;className=MockPublisher
9+
[database]
10+
username=qc_user
11+
password=qc_user
12+
host=localhost
13+
name=quality_control
14+
15+
[Activity] # Similar to a "run"
16+
number=42
17+
type=2
18+
19+
;===============================
20+
; Tasks
21+
;-------------------------------
822

9-
[myTask_1] # define parameters for this task
23+
[myTask_1] # Dummy task 1
1024
taskDefinition=taskDefinition_1
1125

12-
[myTask_2] # define parameters for this task
26+
[myTask_2] # Dummy task 2
1327
taskDefinition=taskDefinition_1
1428

15-
[taskDefinition_1]
29+
[taskDefinition_1] # Actual definition of the dummy tasks
1630
;className=AliceO2::QualityControlModules::Skeleton::SkeletonTask
1731
className=AliceO2::QualityControlModules::Example::ExampleTask
1832
moduleName=QcExample
@@ -21,22 +35,21 @@ cycleDurationSeconds=10
2135
maxNumberCycles=-1
2236
;exampleTaskOutput=0
2337

38+
[daqTask]
39+
taskDefinition=daqTaskDefinition
40+
41+
[daqTaskDefinition]
42+
className=AliceO2::QualityControlModules::Daq::DaqTask
43+
moduleName=QcDaq
44+
moduleOfChecks=QcExample
45+
2446
[benchmarkTask_0]
2547
taskDefinition=benchmark
2648
;[benchmarkTask_1]
2749
;taskDefinition=benchmark
2850
;address=tcp://*:5556
29-
;[benchmarkTask_2]
30-
;taskDefinition=benchmark
31-
;address=tcp://*:5557
32-
;[benchmarkTask_3]
33-
;taskDefinition=benchmark
34-
;address=tcp://*:5558
35-
;[benchmarkTask_4]
36-
;taskDefinition=benchmark
37-
;address=tcp://*:5559
3851

39-
[benchmark] # tasks for the benchmark
52+
[benchmark] # Benchmark tasks definition
4053
className=AliceO2::QualityControlModules::Example::BenchmarkTask
4154
moduleName=QcExample
4255
numberHistos=1
@@ -45,50 +58,25 @@ typeOfChecks=AliceO2::QualityControlModules::Example::FakeCheck
4558
moduleOfChecks=QcExample
4659
cycleDurationSeconds=1
4760

48-
[daqTask]
49-
taskDefinition=daqTaskDefinition
50-
51-
[daqTaskDefinition]
52-
className=AliceO2::QualityControlModules::Daq::DaqTask
53-
moduleName=QcDaq
54-
moduleOfChecks=QcExample
55-
56-
[Checks]
57-
checkMeanIsAbove/threshold=1
61+
;===============================
62+
; Checkers
63+
;-------------------------------
5864

5965
[checkers] ; needed for the time being because we don't have an information service
6066
numberCheckers=1
61-
; can be less than the number of items in tasksAddresses
62-
numberTasks=1
67+
numberTasks=1 ; can be less than the number of items in tasksAddresses
6368
tasksAddresses=tcp://localhost:5556,tcp://localhost:5557,tcp://localhost:5558,tcp://localhost:5559
6469

65-
[database]
66-
username=qc_user
67-
password=qc_user
68-
host=localhost
69-
name=quality_control
70-
7170
[checker_0]
7271
broadcast=1
7372
broadcastAddress=tcp://*:5600
7473
id=0
75-
;
76-
;[checker_1]
77-
;id=1
78-
;;
79-
;[checker_2]
80-
;id=2
81-
;
82-
;[checker_3]
83-
;id=3
84-
85-
[Activity]
86-
number=42
87-
type=2
8874

75+
[Checks]
76+
checkMeanIsAbove/threshold=1
8977

9078
;===============================
91-
; Monitoring configuration
79+
; Monitoring
9280
;-------------------------------
9381

9482
[ApMon]

0 commit comments

Comments
 (0)