|
80 | 80 |
|
81 | 81 | <oks-schema> |
82 | 82 |
|
83 | | -<info name="" type="" num-of-items="47" oks-format="schema" oks-version="862f2957270" created-by="asztuc" created-on="np04-srv-019.cern.ch" creation-time="20231211T133151" last-modified-by="gjc" last-modified-on="latitude" last-modification-time="20250523T112537"/> |
| 83 | +<info name="" type="" num-of-items="54" oks-format="schema" oks-version="862f2957270" created-by="asztuc" created-on="np04-srv-019.cern.ch" creation-time="20231211T133151" last-modified-by="ramarine" last-modified-on="np04-srv-016.cern.ch" last-modification-time="20251001T133247"/> |
84 | 84 |
|
85 | 85 | <include> |
86 | 86 | <file path="schema/confmodel/dunedaq.schema.xml"/> |
|
194 | 194 | <relationship name="tc_readout" description="Configuration for the TC output type and the TC window size" class-type="TCReadoutMap" low-cc="one" high-cc="one" is-composite="no" is-exclusive="no" is-dependent="no"/> |
195 | 195 | </class> |
196 | 196 |
|
197 | | - <class name="TPCRawDataProcessor"> |
198 | | - <superclass name="RawDataProcessor"/> |
199 | | - <relationship name="processing_steps" class-type="ProcessingStep" low-cc="one" high-cc="many" is-composite="no" is-exclusive="no" is-dependent="no"/> |
200 | | - <relationship name="sot_minima" description="TP samples over threshold minimum requirement by plane." class-type="SamplesOverThresholdMinima" low-cc="one" high-cc="one" is-composite="no" is-exclusive="no" is-dependent="no"/> |
201 | | - <attribute name="metric_collect_opmon_rate" description="The rate at which processor metric is polled from processors for monitoring" type="u32" init-value="1"/> |
202 | | - </class> |
203 | | - |
204 | 197 | <class name="RandomTCMakerModule"> |
205 | 198 | <superclass name="StandaloneTCMakerModule"/> |
206 | 199 | <relationship name="configuration" class-type="RandomTCMakerConf" low-cc="one" high-cc="one" is-composite="no" is-exclusive="no" is-dependent="no"/> |
|
322 | 315 | <attribute name="buffer_timeout" description="Timeout (buffer) to wait for new overlapping TCs before sending TD, in ms" type="u32" init-value="100" is-not-null="yes"/> |
323 | 316 | <attribute name="td_readout_limit" description="Maximum allowed time length (in ticks) for a readout window of a single TD" type="u32" init-value="1000000" is-not-null="yes"/> |
324 | 317 | <attribute name="ignore_tc" description="Optional list of TC types to be ignored in MLT" type="u32" is-multi-value="yes"/> |
325 | | - <relationship name="trigger_bitwords" description="Optional dictionary of bitwords to use when forming trigger decisions in MLT" class-type="TriggerBitword" low-cc="zero" high-cc="many" is-composite="no" is-exclusive="no" is-dependent="no"/> |
| 318 | + <relationship name="trigger_bitwords" description="Optional dictionary of bitwords to use when forming trigger decisions in MLT" class-type="TriggerBitword" low-cc="zero" high-cc="many" is-composite="no" is-exclusive="no" is-dependent="no"/> |
326 | 319 | <relationship name="roi_group_conf" description="The configuration (table) for ROI readout (currently not used)" class-type="ROIGroupConf" low-cc="zero" high-cc="many" is-composite="no" is-exclusive="no" is-dependent="no"/> |
327 | 320 | <relationship name="tc_readout_map" description="The readout windows assigned to TDs in MLT, based on TC type." class-type="TCReadoutMap" low-cc="zero" high-cc="many" is-composite="no" is-exclusive="no" is-dependent="no"/> |
328 | 321 | <relationship name="mandatory_links" description="Source Ids that will always be included in a trigger decision." class-type="SourceIDConf" low-cc="zero" high-cc="many" is-composite="no" is-exclusive="no" is-dependent="no"/> |
329 | 322 | </class> |
330 | 323 |
|
331 | | - <class name="TriggerBitword"> |
332 | | - <attribute name="bitword" description="Trigger Bitword in string format" type="string" is-multi-value="yes"/> |
333 | | - </class> |
334 | | - |
335 | 324 | <class name="TCMakerADCSimpleWindowAlgorithm"> |
336 | 325 | <superclass name="TCAlgorithm"/> |
337 | 326 | </class> |
|
397 | 386 | <attribute name="time_after" description="Time, in ticks, after the HSI timestamp, for the TriggerCandidate end_time" type="u32" init-value="1001" is-not-null="yes"/> |
398 | 387 | </class> |
399 | 388 |
|
| 389 | + <class name="TPCRawDataProcessor"> |
| 390 | + <superclass name="RawDataProcessor"/> |
| 391 | + <attribute name="frame_count_limit" description="When this number of frames is reached the TPs are sent to the sink. SELECT 0 if you want this condition not to be used. In this case, sending TPs will only rely on the number of TP." type="u32" init-value="100" is-not-null="yes"/> |
| 392 | + <attribute name="tp_count_limit" description="When this number of TPs is reached, the TPs are sent to the sink. SELECT 0 if you want this condition not to be used. In this case, sending TPs will only rely on the number of frames." type="u32" init-value="0" is-not-null="yes"/> |
| 393 | + <attribute name="metric_collect_opmon_rate" description="The rate at which processor metric is polled from processors for monitoring" type="u32" init-value="1"/> |
| 394 | + <relationship name="processing_steps" class-type="ProcessingStep" low-cc="one" high-cc="many" is-composite="no" is-exclusive="no" is-dependent="no"/> |
| 395 | + <relationship name="sot_minima" description="TP samples over threshold minimum requirement by plane." class-type="SamplesOverThresholdMinima" low-cc="one" high-cc="one" is-composite="no" is-exclusive="no" is-dependent="no"/> |
| 396 | + </class> |
| 397 | + |
400 | 398 | <class name="TPDataProcessor"> |
401 | 399 | <superclass name="DataProcessor"/> |
402 | 400 | <attribute name="print_tp_info" description="Whether to print TP information in the TA processor" type="bool" init-value="false"/> |
403 | 401 | <relationship name="algorithms" class-type="TAAlgorithm" low-cc="one" high-cc="many" is-composite="no" is-exclusive="no" is-dependent="no"/> |
404 | 402 | </class> |
405 | 403 |
|
406 | | - <class name="TriggerApplication"> |
| 404 | + <class name="TPReplayApplication"> |
407 | 405 | <superclass name="SmartDaqApplication"/> |
408 | | - <superclass name="Resource"/> |
409 | 406 | <attribute name="application_name" type="string" init-value="daq_application" is-not-null="yes"/> |
410 | | - <attribute name="tx_generation_disabled" description="Disable TA/TC generation as a post-processing task -- only to be done by the experts for e.g. TP performance studies" type="bool" init-value="false"/> |
411 | | - <relationship name="data_subscriber" class-type="DataReaderConf" low-cc="one" high-cc="one" is-composite="no" is-exclusive="no" is-dependent="no"/> |
412 | | - <relationship name="trigger_inputs_handler" class-type="DataHandlerConf" low-cc="one" high-cc="one" is-composite="no" is-exclusive="no" is-dependent="no"/> |
413 | | - <method name="generate_modules" description="Generate daq module dal objects for streams of thie TriggerApplication on the fly"> |
| 407 | + <relationship name="tp_source_ids" class-type="SourceIDConf" low-cc="zero" high-cc="many" is-composite="no" is-exclusive="no" is-dependent="no"/> |
| 408 | + <relationship name="tprm_conf" class-type="TPReplayModuleConf" low-cc="one" high-cc="one" is-composite="no" is-exclusive="no" is-dependent="no"/> |
| 409 | + <relationship name="tp_handler" class-type="DataHandlerConf" low-cc="one" high-cc="one" is-composite="no" is-exclusive="no" is-dependent="no"/> |
| 410 | + <method name="generate_modules" description="Generate daq module dal objects for TPReplayApplication on the fly"> |
414 | 411 | <method-implementation language="c++" prototype="std::vector<const dunedaq::confmodel::DaqModule*> generate_modules(const confmodel::Session*) const override" body=""/> |
415 | 412 | </method> |
416 | 413 | </class> |
417 | 414 |
|
418 | | - <class name="TriggerDataHandlerModule"> |
419 | | - <superclass name="DataHandlerModule"/> |
420 | | - <relationship name="enabled_source_ids" description="List of source IDs enabled in this session: used by trigger to define the readout window for trigger decisions." class-type="SourceIDConf" low-cc="zero" high-cc="many" is-composite="no" is-exclusive="no" is-dependent="no"/> |
421 | | - <relationship name="mandatory_source_ids" description="Source Ids that will always be included in a trigger decision." class-type="SourceIDConf" low-cc="zero" high-cc="many" is-composite="no" is-exclusive="no" is-dependent="no"/> |
422 | | - </class> |
423 | | - |
424 | 415 | <class name="TPReplayModule"> |
425 | 416 | <superclass name="DaqModule"/> |
426 | 417 | <relationship name="configuration" class-type="TPReplayModuleConf" low-cc="one" high-cc="one" is-composite="no" is-exclusive="no" is-dependent="no"/> |
|
432 | 423 | <attribute name="maximum_wait_time_us" type="u32" init-value="1000" is-not-null="yes"/> |
433 | 424 | <attribute name="channel_map" type="string" init-value="PD2HDTPCChannelMap" is-not-null="yes"/> |
434 | 425 | <attribute name="total_planes" type="u32" init-value="0" is-not-null="yes"/> |
435 | | - <attribute name="filter_out_plane" type="u32" range="0..2" init-value="0" is-multi-value="yes"/> |
| 426 | + <attribute name="filter_out_plane" type="u32" range="0..2" is-multi-value="yes" init-value="0"/> |
436 | 427 | <relationship name="tp_streams" class-type="TPStreamConf" low-cc="one" high-cc="many" is-composite="no" is-exclusive="no" is-dependent="no"/> |
437 | | -</class> |
| 428 | + </class> |
438 | 429 |
|
439 | 430 | <class name="TPStreamConf"> |
440 | 431 | <attribute name="filename" type="string" init-value="1" is-not-null="yes"/> |
441 | 432 | <attribute name="index" type="u32" init-value="0" is-not-null="yes"/> |
442 | 433 | </class> |
443 | 434 |
|
444 | | - <class name="TPReplayApplication"> |
| 435 | + <class name="TriggerApplication"> |
445 | 436 | <superclass name="SmartDaqApplication"/> |
| 437 | + <superclass name="Resource"/> |
446 | 438 | <attribute name="application_name" type="string" init-value="daq_application" is-not-null="yes"/> |
447 | | - <relationship name="tp_source_ids" class-type="SourceIDConf" low-cc="zero" high-cc="many" is-composite="no" is-exclusive="no" is-dependent="no"/> |
448 | | - <relationship name="tprm_conf" class-type="TPReplayModuleConf" low-cc="one" high-cc="one" is-composite="no" is-exclusive="no" is-dependent="no"/> |
449 | | - <relationship name="tp_handler" class-type="DataHandlerConf" low-cc="one" high-cc="one" is-composite="no" is-exclusive="no" is-dependent="no"/> |
450 | | - <method name="generate_modules" description="Generate daq module dal objects for TPReplayApplication on the fly"> |
451 | | - <method-implementation language="c++" prototype="std::vector<const dunedaq::confmodel::DaqModule*> generate_modules(const confmodel::Session*) const override" body=""/> |
| 439 | + <attribute name="tx_generation_disabled" description="Disable TA/TC generation as a post-processing task -- only to be done by the experts for e.g. TP performance studies" type="bool" init-value="false"/> |
| 440 | + <relationship name="data_subscriber" class-type="DataReaderConf" low-cc="one" high-cc="one" is-composite="no" is-exclusive="no" is-dependent="no"/> |
| 441 | + <relationship name="trigger_inputs_handler" class-type="DataHandlerConf" low-cc="one" high-cc="one" is-composite="no" is-exclusive="no" is-dependent="no"/> |
| 442 | + <method name="generate_modules" description="Generate daq module dal objects for streams of thie TriggerApplication on the fly"> |
| 443 | + <method-implementation language="c++" prototype="std::vector<const dunedaq::confmodel::DaqModule*> generate_modules(const confmodel::Session*) const override" body=""/> |
452 | 444 | </method> |
453 | 445 | </class> |
454 | 446 |
|
| 447 | + <class name="TriggerBitword"> |
| 448 | + <attribute name="bitword" description="Trigger Bitword in string format" type="string" is-multi-value="yes"/> |
| 449 | + </class> |
| 450 | + |
| 451 | + <class name="TriggerDataHandlerModule"> |
| 452 | + <superclass name="DataHandlerModule"/> |
| 453 | + <relationship name="enabled_source_ids" description="List of source IDs enabled in this session: used by trigger to define the readout window for trigger decisions." class-type="SourceIDConf" low-cc="zero" high-cc="many" is-composite="no" is-exclusive="no" is-dependent="no"/> |
| 454 | + <relationship name="mandatory_source_ids" description="Source Ids that will always be included in a trigger decision." class-type="SourceIDConf" low-cc="zero" high-cc="many" is-composite="no" is-exclusive="no" is-dependent="no"/> |
| 455 | + </class> |
| 456 | + |
455 | 457 | </oks-schema> |
0 commit comments