|
25 | 25 | * [Naming convention](#naming-convention) |
26 | 26 | * [Committing code](#committing-code) |
27 | 27 | * [Data sources](#data-sources) |
28 | | - * [Readout](#readout) |
29 | | - * [DPL workflow](#dpl-workflow) |
30 | 28 | * [Run number and other run attributes (period, pass type, provenance)](#run-number-and-other-run-attributes-period-pass-type-provenance) |
31 | 29 | * [A more advanced example](#a-more-advanced-example) |
32 | 30 | <!--te--> |
@@ -450,65 +448,7 @@ General ALICE Git guidelines can be accessed [here](https://alisw.github.io/git- |
450 | 448 |
|
451 | 449 | ## Data sources |
452 | 450 |
|
453 | | -In the final system, the qc gets real data from the DPL devices or the readout processes. During development a number of possibilities are available for the detector teams to develop their QC. We list them below. |
454 | | -
|
455 | | -### Readout |
456 | | -
|
457 | | -When connecting the QC directly to the readout using the `o2-qc-run-readout` proxy, remember to add this consumer to the config file of the readout and to enable it: |
458 | | -```json |
459 | | -[consumer-fmq-qc] |
460 | | -consumerType=FairMQChannel |
461 | | -enableRawFormat=1 |
462 | | -fmq-name=readout-qc |
463 | | -fmq-address=ipc:///tmp/readout-pipe-1 |
464 | | -fmq-type=pub |
465 | | -fmq-transport=zeromq |
466 | | -unmanagedMemorySize=2G |
467 | | -memoryPoolNumberOfPages=500 |
468 | | -memoryPoolPageSize=1M |
469 | | -enabled=1 |
470 | | -``` |
471 | | - |
472 | | -__Random data__ |
473 | | - |
474 | | -Add one or several dummy equipments: |
475 | | -``` |
476 | | -[equipment-dummy-1] |
477 | | -name=dummy-1 |
478 | | -equipmentType=dummy |
479 | | -enabled=1 |
480 | | -eventMaxSize=200 |
481 | | -eventMinSize=100 |
482 | | -memoryPoolNumberOfPages=100 |
483 | | -memoryPoolPageSize=128k |
484 | | -fillData=1 |
485 | | -``` |
486 | | - |
487 | | -__Live detector data__ |
488 | | - |
489 | | -If a part or the whole detector is ready and connected to 1 or several CRUs in the FLP, configure the readout to get data from there. The exact configuration items should be discussed with the readout experts. |
490 | | - |
491 | | -This is the most realistic test one can do but it is also not very practical as you have to control the data taking and be on the machine equipped with a CRU. See the next section to alleviate this situation. |
492 | | - |
493 | | -__Detector data file__ |
494 | | - |
495 | | -To record a data file with readout while getting data from a CRU, add the following piece to the readout configuration file: |
496 | | -``` |
497 | | -[consumer-rec] |
498 | | -enabled=1 |
499 | | -consumerType=fileRecorder |
500 | | -fileName=/tmp/dataRecorder_flp1.raw |
501 | | -``` |
502 | | - |
503 | | -To read it back with readout, for instance on another machine, add: |
504 | | -``` |
505 | | -[equipment-player-1] |
506 | | -equipmentType=player |
507 | | -memoryPoolPageSize=1M |
508 | | -memoryPoolNumberOfPages=1000 |
509 | | -filePath=/path/to/dataRecorder_flp1.raw |
510 | | -autoChunk=1 |
511 | | -``` |
| 451 | +In the final system, the qc gets real data from the DPL devices or the readout processes. During development a number of possibilities are available for the detector teams to develop their QC. We list them below. |
512 | 452 |
|
513 | 453 | ### DPL workflow |
514 | 454 |
|
|
0 commit comments