Skip to content

Commit e6f32a1

Browse files
committed
updated params
1 parent 6e129f1 commit e6f32a1

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

doc/configurationParameters.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ The parameters related to 3rd-party libraries are described here for convenience
6969
| consumer-fileRecorder-* | fileName | string | | Path to the file where to record data. The following variables are replaced at runtime: ${XXX} -> get variable XXX from environment, %t -> unix timestamp (seconds since epoch), %T -> formatted date/time, %i -> equipment ID of each data chunk (used to write data from different equipments to different output files), %l -> link ID (used to write data from different links to different output files). |
7070
| consumer-fileRecorder-* | filesMax | int | 1 | If 1 (default), file splitting is disabled: file is closed whenever a limit is reached on a given recording stream. Otherwise, file splitting is enabled: whenever the current file reaches a limit, it is closed an new one is created (with an incremental name). If <=0, an unlimited number of incremental chunks can be created. If non-zero, it defines the maximum number of chunks. The file name is suffixed with chunk number (by default, ".001, .002, ..." at the end of the file name. One may use "%f" in the file name to define where this incremental file counter is printed. |
7171
| consumer-fileRecorder-* | pagesMax | int | 0 | Maximum number of data pages accepted by recorder. If zero (default), no maximum set.|
72+
| consumer-fileRecorder-* | tfMax | int | 0 | Maximum number of timeframes accepted by recorder. If zero (default), no maximum set.|
7273
| consumer-processor-* | ensurePageOrder | int | 0 | If set, ensures that data pages goes out of the processing pool in same order as input (which is not guaranteed with multithreading otherwise). This option adds latency. |
7374
| consumer-processor-* | libraryPath | string | | Path to the library file providing the processBlock() function to be used. |
7475
| consumer-processor-* | numberOfThreads | int | 1 | Number of threads running the processBlock() function in parallel. |
@@ -91,6 +92,7 @@ The parameters related to 3rd-party libraries are described here for convenience
9192
| consumer-zmq-* | zmqOptions | string | | Additional ZMQ options, as a comma-separated list of key=value pairs. Possible keys: ZMQ_CONFLATE, ZMQ_IO_THREADS, ZMQ_LINGER, ZMQ_SNDBUF, ZMQ_SNDHWM, ZMQ_SNDTIMEO. |
9293
| equipment-* | blockAlign | bytes | 2M | Alignment of the beginning of the big memory block from which the pool is created. Pool will start at a multiple of this value. Each page will then begin at a multiple of memoryPoolPageSize from the beginning of big block. |
9394
| equipment-* | consoleStatsUpdateTime | double | 0 | If set, number of seconds between printing statistics on console. |
95+
| equipment-* | ctpMode | int | 0 | If set, the detector field (CTP run mask) is checked. Incoming data is discarded until a new bit is set, and discarded again after this bit is unset. Automatically implies rdhCheckDetectorField=1 and rdhCheckDetectorField=1. |
9496
| equipment-* | dataPagesLogPath | string | | Path where to save a summary of each data pages generated by equipment. |
9597
| equipment-* | debugFirstPages | int | 0 | If set, print debug information for first (given number of) data pages readout. |
9698
| equipment-* | disableOutput | int | 0 | If non-zero, data generated by this equipment is discarded immediately and is not pushed to output fifo of readout thread. Used for testing. |
@@ -116,6 +118,7 @@ The parameters related to 3rd-party libraries are described here for convenience
116118
| equipment-* | saveErrorPagesPath | string | | Path where to save data pages with errors (when feature enabled). |
117119
| equipment-* | stopOnError | int | 0 | If 1, readout will stop automatically on equipment error. |
118120
| equipment-* | TFperiod | int | 128 | Duration of a timeframe, in number of LHC orbits. |
121+
| equipment-* | verbose | int | 0 | If set, extra debug messages may be logged. |
119122
| equipment-cruemulator-* | cruBlockSize | int | 8192 | Size of a RDH block. |
120123
| equipment-cruemulator-* | cruId | int | 0 | CRU Id, used for CRU Id field in RDH. |
121124
| equipment-cruemulator-* | dpwId | int | 0 | CRU end-point Id (data path wrapper id), used for DPW Id field in RDH. |

src/readoutConfigEditor.tcl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ set configurationParametersDescriptor {
4747
| consumer-fileRecorder-* | fileName | string | | Path to the file where to record data. The following variables are replaced at runtime: ${XXX} -> get variable XXX from environment, %t -> unix timestamp (seconds since epoch), %T -> formatted date/time, %i -> equipment ID of each data chunk (used to write data from different equipments to different output files), %l -> link ID (used to write data from different links to different output files). |
4848
| consumer-fileRecorder-* | filesMax | int | 1 | If 1 (default), file splitting is disabled: file is closed whenever a limit is reached on a given recording stream. Otherwise, file splitting is enabled: whenever the current file reaches a limit, it is closed an new one is created (with an incremental name). If <=0, an unlimited number of incremental chunks can be created. If non-zero, it defines the maximum number of chunks. The file name is suffixed with chunk number (by default, ".001, .002, ..." at the end of the file name. One may use "%f" in the file name to define where this incremental file counter is printed. |
4949
| consumer-fileRecorder-* | pagesMax | int | 0 | Maximum number of data pages accepted by recorder. If zero (default), no maximum set.|
50+
| consumer-fileRecorder-* | tfMax | int | 0 | Maximum number of timeframes accepted by recorder. If zero (default), no maximum set.|
5051
| consumer-processor-* | ensurePageOrder | int | 0 | If set, ensures that data pages goes out of the processing pool in same order as input (which is not guaranteed with multithreading otherwise). This option adds latency. |
5152
| consumer-processor-* | libraryPath | string | | Path to the library file providing the processBlock() function to be used. |
5253
| consumer-processor-* | numberOfThreads | int | 1 | Number of threads running the processBlock() function in parallel. |
@@ -69,6 +70,7 @@ set configurationParametersDescriptor {
6970
| consumer-zmq-* | zmqOptions | string | | Additional ZMQ options, as a comma-separated list of key=value pairs. Possible keys: ZMQ_CONFLATE, ZMQ_IO_THREADS, ZMQ_LINGER, ZMQ_SNDBUF, ZMQ_SNDHWM, ZMQ_SNDTIMEO. |
7071
| equipment-* | blockAlign | bytes | 2M | Alignment of the beginning of the big memory block from which the pool is created. Pool will start at a multiple of this value. Each page will then begin at a multiple of memoryPoolPageSize from the beginning of big block. |
7172
| equipment-* | consoleStatsUpdateTime | double | 0 | If set, number of seconds between printing statistics on console. |
73+
| equipment-* | ctpMode | int | 0 | If set, the detector field (CTP run mask) is checked. Incoming data is discarded until a new bit is set, and discarded again after this bit is unset. Automatically implies rdhCheckDetectorField=1 and rdhCheckDetectorField=1. |
7274
| equipment-* | dataPagesLogPath | string | | Path where to save a summary of each data pages generated by equipment. |
7375
| equipment-* | debugFirstPages | int | 0 | If set, print debug information for first (given number of) data pages readout. |
7476
| equipment-* | disableOutput | int | 0 | If non-zero, data generated by this equipment is discarded immediately and is not pushed to output fifo of readout thread. Used for testing. |
@@ -94,6 +96,7 @@ set configurationParametersDescriptor {
9496
| equipment-* | saveErrorPagesPath | string | | Path where to save data pages with errors (when feature enabled). |
9597
| equipment-* | stopOnError | int | 0 | If 1, readout will stop automatically on equipment error. |
9698
| equipment-* | TFperiod | int | 128 | Duration of a timeframe, in number of LHC orbits. |
99+
| equipment-* | verbose | int | 0 | If set, extra debug messages may be logged. |
97100
| equipment-cruemulator-* | cruBlockSize | int | 8192 | Size of a RDH block. |
98101
| equipment-cruemulator-* | cruId | int | 0 | CRU Id, used for CRU Id field in RDH. |
99102
| equipment-cruemulator-* | dpwId | int | 0 | CRU end-point Id (data path wrapper id), used for DPW Id field in RDH. |

0 commit comments

Comments
 (0)