From 95be8fcfb2406dd4873455d20de7af0d5236189b Mon Sep 17 00:00:00 2001 From: gtaillepied Date: Thu, 4 Mar 2021 18:51:47 +0100 Subject: [PATCH] MID: moved module in MUON folder --- Modules/CMakeLists.txt | 1 - .../o2-qc-example-analysis-derived.json | 936 ++++++++++++++++++ .../o2-qc-example-analysis-direct.json | 936 ++++++++++++++++++ Modules/MUON/CMakeLists.txt | 1 + Modules/{ => MUON}/MID/CMakeLists.txt | 13 +- Modules/{ => MUON}/MID/include/MID/LinkDef.h | 5 +- .../{ => MUON}/MID/include/MID/RawQcCheck.h | 0 .../{ => MUON}/MID/include/MID/RawQcTask.h | 0 Modules/{ => MUON}/MID/raw-mid.json | 0 Modules/{ => MUON}/MID/src/RawQcCheck.cxx | 0 Modules/{ => MUON}/MID/src/RawQcTask.cxx | 0 Modules/{ => MUON}/MID/src/runMID.cxx | 0 Modules/{ => MUON}/MID/test/testQcMID.cxx | 0 13 files changed, 1884 insertions(+), 8 deletions(-) create mode 100644 Modules/Example/o2-qc-example-analysis-derived.json create mode 100644 Modules/Example/o2-qc-example-analysis-direct.json rename Modules/{ => MUON}/MID/CMakeLists.txt (79%) rename Modules/{ => MUON}/MID/include/MID/LinkDef.h (93%) rename Modules/{ => MUON}/MID/include/MID/RawQcCheck.h (100%) rename Modules/{ => MUON}/MID/include/MID/RawQcTask.h (100%) rename Modules/{ => MUON}/MID/raw-mid.json (100%) rename Modules/{ => MUON}/MID/src/RawQcCheck.cxx (100%) rename Modules/{ => MUON}/MID/src/RawQcTask.cxx (100%) rename Modules/{ => MUON}/MID/src/runMID.cxx (100%) rename Modules/{ => MUON}/MID/test/testQcMID.cxx (100%) diff --git a/Modules/CMakeLists.txt b/Modules/CMakeLists.txt index ad81dc3df4..aa8eabfac4 100644 --- a/Modules/CMakeLists.txt +++ b/Modules/CMakeLists.txt @@ -13,6 +13,5 @@ add_subdirectory(ITS) add_subdirectory(MFT) add_subdirectory(PHOS) add_subdirectory(FT0) -add_subdirectory(MID) add_subdirectory(TRD) add_subdirectory(HMPID) diff --git a/Modules/Example/o2-qc-example-analysis-derived.json b/Modules/Example/o2-qc-example-analysis-derived.json new file mode 100644 index 0000000000..81a90817b2 --- /dev/null +++ b/Modules/Example/o2-qc-example-analysis-derived.json @@ -0,0 +1,936 @@ +{ + "workflow": [ + { + "name": "QC-TASK-RUNNER-AnalysisQcTask", + "inputs": [ + { + "binding": "aod-data", + "origin": "AOD", + "description": "HASH", + "subspec": 0, + "lifetime": 0 + }, + { + "binding": "timer-cycle", + "origin": "QC", + "description": "TIMER-Analysi-mo", + "subspec": 0, + "lifetime": 4 + } + ], + "outputs": [ + { + "binding": "mo", + "origin": "QC", + "description": "AnalysisQcTas-mo", + "subspec": 0, + "lifetime": 0 + } + ], + "options": [ + { + "name": "period-timer-cycle", + "type": "0", + "defaultValue": "10000000", + "help": "timer period" + } + ], + "rank": 0, + "nSlots": 1, + "inputTimeSliceId": 0, + "maxInputTimeslices": 1 + }, + { + "name": "QC-CHECK-RUNNER-DummyAnalysisCheck", + "inputs": [ + { + "binding": "AnalysisQcTask", + "origin": "QC", + "description": "AnalysisQcTas-mo", + "subspec": 0, + "lifetime": 0 + } + ], + "outputs": [ + { + "binding": "QC/DummyAnalysi-chk/0", + "origin": "QC", + "description": "DummyAnalysi-chk", + "subspec": 0, + "lifetime": 0 + } + ], + "options": [], + "rank": 0, + "nSlots": 1, + "inputTimeSliceId": 0, + "maxInputTimeslices": 1 + } + ], + "metadata": [ + { + "name": "internal-dpl-clock", + "executable": "../../bin/o2-qc", + "cmdLineArgs": [ + "-b", + "--config", + "json:///home/taillepied/alice/sw/slc7_x86-64/QualityControl/master-1/etc/analysisDerived.json", + "--dump-workflow", + "--dump-workflow-file", + "/home/taillepied/alice/sw/SOURCES/QualityControl/master/0/Modules/Example/o2-qc-example-analysis-derived.json" + ], + "workflowOptions": [ + { + "name": "config", + "type": "4", + "defaultValue": "", + "help": "Path to QC and Data Sampling configuration file." + }, + { + "name": "local", + "type": "5", + "defaultValue": "0", + "help": "Creates only the local part of the QC topology." + }, + { + "name": "host", + "type": "4", + "defaultValue": "", + "help": "Name of the host of the local part of the QC topology.Necessary to specify when creating topologies on multiple machines. If not specified, hostname of the current machine will be used" + }, + { + "name": "remote", + "type": "5", + "defaultValue": "0", + "help": "Creates only the remote part of the QC topology." + }, + { + "name": "no-data-sampling", + "type": "5", + "defaultValue": "0", + "help": "Do not add Data Sampling infrastructure." + }, + { + "name": "readers", + "type": "1", + "defaultValue": "1", + "help": "number of parallel readers to use" + }, + { + "name": "pipeline", + "type": "4", + "defaultValue": "", + "help": "override default pipeline size" + }, + { + "name": "clone", + "type": "4", + "defaultValue": "", + "help": "clone processors from a template" + }, + { + "name": "workflow-suffix", + "type": "4", + "defaultValue": "", + "help": "suffix to add to all dataprocessors" + }, + { + "name": "aod-memory-rate-limit", + "type": "1", + "defaultValue": "0", + "help": "Rate limit AOD processing based on memory" + }, + { + "name": "aod-writer-json", + "type": "4", + "defaultValue": "", + "help": "Name of the json configuration file" + }, + { + "name": "aod-writer-resfile", + "type": "4", + "defaultValue": "", + "help": "Default name of the output file" + }, + { + "name": "aod-writer-resmode", + "type": "4", + "defaultValue": "RECREATE", + "help": "Creation mode of the result files: NEW, CREATE, RECREATE, UPDATE" + }, + { + "name": "aod-writer-ntfmerge", + "type": "0", + "defaultValue": "-1", + "help": "Number of time frames to merge into one file" + }, + { + "name": "aod-writer-keep", + "type": "4", + "defaultValue": "", + "help": "Comma separated list of ORIGIN/DESCRIPTION/SUBSPECIFICATION:treename:col1/col2/..:filename" + }, + { + "name": "fairmq-rate-logging", + "type": "0", + "defaultValue": "0", + "help": "Rate logging for FairMQ channels" + }, + { + "name": "fairmq-recv-buffer-size", + "type": "0", + "defaultValue": "1000", + "help": "recvBufferSize option for FairMQ channels" + }, + { + "name": "fairmq-send-buffer-size", + "type": "0", + "defaultValue": "1000", + "help": "sendBufferSize option for FairMQ channels" + }, + { + "name": "fairmq-ipc-prefix", + "type": "4", + "defaultValue": "/tmp", + "help": "Prefix for FairMQ channels location" + }, + { + "name": "forwarding-policy", + "type": "4", + "defaultValue": "dangling", + "help": "Which messages to forward. dangling: dangling outputs, all: all messages" + }, + { + "name": "forwarding-destination", + "type": "4", + "defaultValue": "file", + "help": "Destination for forwarded messages. file: write to file, fairmq: send to output proxy" + } + ], + "channels": [ + "from_internal-dpl-clock_to_internal-dpl-aod-reader", + "from_internal-dpl-clock_to_QC-TASK-RUNNER-AnalysisQcTask" + ] + }, + { + "name": "internal-dpl-aod-reader", + "executable": "../../bin/o2-qc", + "cmdLineArgs": [ + "-b", + "--config", + "json:///home/taillepied/alice/sw/slc7_x86-64/QualityControl/master-1/etc/analysisDerived.json", + "--dump-workflow", + "--dump-workflow-file", + "/home/taillepied/alice/sw/SOURCES/QualityControl/master/0/Modules/Example/o2-qc-example-analysis-derived.json" + ], + "workflowOptions": [ + { + "name": "config", + "type": "4", + "defaultValue": "", + "help": "Path to QC and Data Sampling configuration file." + }, + { + "name": "local", + "type": "5", + "defaultValue": "0", + "help": "Creates only the local part of the QC topology." + }, + { + "name": "host", + "type": "4", + "defaultValue": "", + "help": "Name of the host of the local part of the QC topology.Necessary to specify when creating topologies on multiple machines. If not specified, hostname of the current machine will be used" + }, + { + "name": "remote", + "type": "5", + "defaultValue": "0", + "help": "Creates only the remote part of the QC topology." + }, + { + "name": "no-data-sampling", + "type": "5", + "defaultValue": "0", + "help": "Do not add Data Sampling infrastructure." + }, + { + "name": "readers", + "type": "1", + "defaultValue": "1", + "help": "number of parallel readers to use" + }, + { + "name": "pipeline", + "type": "4", + "defaultValue": "", + "help": "override default pipeline size" + }, + { + "name": "clone", + "type": "4", + "defaultValue": "", + "help": "clone processors from a template" + }, + { + "name": "workflow-suffix", + "type": "4", + "defaultValue": "", + "help": "suffix to add to all dataprocessors" + }, + { + "name": "aod-memory-rate-limit", + "type": "1", + "defaultValue": "0", + "help": "Rate limit AOD processing based on memory" + }, + { + "name": "aod-writer-json", + "type": "4", + "defaultValue": "", + "help": "Name of the json configuration file" + }, + { + "name": "aod-writer-resfile", + "type": "4", + "defaultValue": "", + "help": "Default name of the output file" + }, + { + "name": "aod-writer-resmode", + "type": "4", + "defaultValue": "RECREATE", + "help": "Creation mode of the result files: NEW, CREATE, RECREATE, UPDATE" + }, + { + "name": "aod-writer-ntfmerge", + "type": "0", + "defaultValue": "-1", + "help": "Number of time frames to merge into one file" + }, + { + "name": "aod-writer-keep", + "type": "4", + "defaultValue": "", + "help": "Comma separated list of ORIGIN/DESCRIPTION/SUBSPECIFICATION:treename:col1/col2/..:filename" + }, + { + "name": "fairmq-rate-logging", + "type": "0", + "defaultValue": "0", + "help": "Rate logging for FairMQ channels" + }, + { + "name": "fairmq-recv-buffer-size", + "type": "0", + "defaultValue": "1000", + "help": "recvBufferSize option for FairMQ channels" + }, + { + "name": "fairmq-send-buffer-size", + "type": "0", + "defaultValue": "1000", + "help": "sendBufferSize option for FairMQ channels" + }, + { + "name": "fairmq-ipc-prefix", + "type": "4", + "defaultValue": "/tmp", + "help": "Prefix for FairMQ channels location" + }, + { + "name": "forwarding-policy", + "type": "4", + "defaultValue": "dangling", + "help": "Which messages to forward. dangling: dangling outputs, all: all messages" + }, + { + "name": "forwarding-destination", + "type": "4", + "defaultValue": "file", + "help": "Destination for forwarded messages. file: write to file, fairmq: send to output proxy" + } + ], + "channels": [ + "from_internal-dpl-clock_to_internal-dpl-aod-reader", + "from_internal-dpl-aod-reader_to_internal-dpl-injected-dummy-sink", + "from_internal-dpl-aod-reader_to_QC-TASK-RUNNER-AnalysisQcTask" + ] + }, + { + "name": "QC-TASK-RUNNER-AnalysisQcTask", + "executable": "../../bin/o2-qc", + "cmdLineArgs": [ + "-b", + "--config", + "json:///home/taillepied/alice/sw/slc7_x86-64/QualityControl/master-1/etc/analysisDerived.json", + "--dump-workflow", + "--dump-workflow-file", + "/home/taillepied/alice/sw/SOURCES/QualityControl/master/0/Modules/Example/o2-qc-example-analysis-derived.json" + ], + "workflowOptions": [ + { + "name": "config", + "type": "4", + "defaultValue": "", + "help": "Path to QC and Data Sampling configuration file." + }, + { + "name": "local", + "type": "5", + "defaultValue": "0", + "help": "Creates only the local part of the QC topology." + }, + { + "name": "host", + "type": "4", + "defaultValue": "", + "help": "Name of the host of the local part of the QC topology.Necessary to specify when creating topologies on multiple machines. If not specified, hostname of the current machine will be used" + }, + { + "name": "remote", + "type": "5", + "defaultValue": "0", + "help": "Creates only the remote part of the QC topology." + }, + { + "name": "no-data-sampling", + "type": "5", + "defaultValue": "0", + "help": "Do not add Data Sampling infrastructure." + }, + { + "name": "readers", + "type": "1", + "defaultValue": "1", + "help": "number of parallel readers to use" + }, + { + "name": "pipeline", + "type": "4", + "defaultValue": "", + "help": "override default pipeline size" + }, + { + "name": "clone", + "type": "4", + "defaultValue": "", + "help": "clone processors from a template" + }, + { + "name": "workflow-suffix", + "type": "4", + "defaultValue": "", + "help": "suffix to add to all dataprocessors" + }, + { + "name": "aod-memory-rate-limit", + "type": "1", + "defaultValue": "0", + "help": "Rate limit AOD processing based on memory" + }, + { + "name": "aod-writer-json", + "type": "4", + "defaultValue": "", + "help": "Name of the json configuration file" + }, + { + "name": "aod-writer-resfile", + "type": "4", + "defaultValue": "", + "help": "Default name of the output file" + }, + { + "name": "aod-writer-resmode", + "type": "4", + "defaultValue": "RECREATE", + "help": "Creation mode of the result files: NEW, CREATE, RECREATE, UPDATE" + }, + { + "name": "aod-writer-ntfmerge", + "type": "0", + "defaultValue": "-1", + "help": "Number of time frames to merge into one file" + }, + { + "name": "aod-writer-keep", + "type": "4", + "defaultValue": "", + "help": "Comma separated list of ORIGIN/DESCRIPTION/SUBSPECIFICATION:treename:col1/col2/..:filename" + }, + { + "name": "fairmq-rate-logging", + "type": "0", + "defaultValue": "0", + "help": "Rate logging for FairMQ channels" + }, + { + "name": "fairmq-recv-buffer-size", + "type": "0", + "defaultValue": "1000", + "help": "recvBufferSize option for FairMQ channels" + }, + { + "name": "fairmq-send-buffer-size", + "type": "0", + "defaultValue": "1000", + "help": "sendBufferSize option for FairMQ channels" + }, + { + "name": "fairmq-ipc-prefix", + "type": "4", + "defaultValue": "/tmp", + "help": "Prefix for FairMQ channels location" + }, + { + "name": "forwarding-policy", + "type": "4", + "defaultValue": "dangling", + "help": "Which messages to forward. dangling: dangling outputs, all: all messages" + }, + { + "name": "forwarding-destination", + "type": "4", + "defaultValue": "file", + "help": "Destination for forwarded messages. file: write to file, fairmq: send to output proxy" + } + ], + "channels": [ + "from_internal-dpl-clock_to_QC-TASK-RUNNER-AnalysisQcTask", + "from_internal-dpl-aod-reader_to_QC-TASK-RUNNER-AnalysisQcTask", + "from_QC-TASK-RUNNER-AnalysisQcTask_to_QC-CHECK-RUNNER-DummyAnalysisCheck" + ] + }, + { + "name": "QC-CHECK-RUNNER-DummyAnalysisCheck", + "executable": "../../bin/o2-qc", + "cmdLineArgs": [ + "-b", + "--config", + "json:///home/taillepied/alice/sw/slc7_x86-64/QualityControl/master-1/etc/analysisDerived.json", + "--dump-workflow", + "--dump-workflow-file", + "/home/taillepied/alice/sw/SOURCES/QualityControl/master/0/Modules/Example/o2-qc-example-analysis-derived.json" + ], + "workflowOptions": [ + { + "name": "config", + "type": "4", + "defaultValue": "", + "help": "Path to QC and Data Sampling configuration file." + }, + { + "name": "local", + "type": "5", + "defaultValue": "0", + "help": "Creates only the local part of the QC topology." + }, + { + "name": "host", + "type": "4", + "defaultValue": "", + "help": "Name of the host of the local part of the QC topology.Necessary to specify when creating topologies on multiple machines. If not specified, hostname of the current machine will be used" + }, + { + "name": "remote", + "type": "5", + "defaultValue": "0", + "help": "Creates only the remote part of the QC topology." + }, + { + "name": "no-data-sampling", + "type": "5", + "defaultValue": "0", + "help": "Do not add Data Sampling infrastructure." + }, + { + "name": "readers", + "type": "1", + "defaultValue": "1", + "help": "number of parallel readers to use" + }, + { + "name": "pipeline", + "type": "4", + "defaultValue": "", + "help": "override default pipeline size" + }, + { + "name": "clone", + "type": "4", + "defaultValue": "", + "help": "clone processors from a template" + }, + { + "name": "workflow-suffix", + "type": "4", + "defaultValue": "", + "help": "suffix to add to all dataprocessors" + }, + { + "name": "aod-memory-rate-limit", + "type": "1", + "defaultValue": "0", + "help": "Rate limit AOD processing based on memory" + }, + { + "name": "aod-writer-json", + "type": "4", + "defaultValue": "", + "help": "Name of the json configuration file" + }, + { + "name": "aod-writer-resfile", + "type": "4", + "defaultValue": "", + "help": "Default name of the output file" + }, + { + "name": "aod-writer-resmode", + "type": "4", + "defaultValue": "RECREATE", + "help": "Creation mode of the result files: NEW, CREATE, RECREATE, UPDATE" + }, + { + "name": "aod-writer-ntfmerge", + "type": "0", + "defaultValue": "-1", + "help": "Number of time frames to merge into one file" + }, + { + "name": "aod-writer-keep", + "type": "4", + "defaultValue": "", + "help": "Comma separated list of ORIGIN/DESCRIPTION/SUBSPECIFICATION:treename:col1/col2/..:filename" + }, + { + "name": "fairmq-rate-logging", + "type": "0", + "defaultValue": "0", + "help": "Rate logging for FairMQ channels" + }, + { + "name": "fairmq-recv-buffer-size", + "type": "0", + "defaultValue": "1000", + "help": "recvBufferSize option for FairMQ channels" + }, + { + "name": "fairmq-send-buffer-size", + "type": "0", + "defaultValue": "1000", + "help": "sendBufferSize option for FairMQ channels" + }, + { + "name": "fairmq-ipc-prefix", + "type": "4", + "defaultValue": "/tmp", + "help": "Prefix for FairMQ channels location" + }, + { + "name": "forwarding-policy", + "type": "4", + "defaultValue": "dangling", + "help": "Which messages to forward. dangling: dangling outputs, all: all messages" + }, + { + "name": "forwarding-destination", + "type": "4", + "defaultValue": "file", + "help": "Destination for forwarded messages. file: write to file, fairmq: send to output proxy" + } + ], + "channels": [ + "from_QC-TASK-RUNNER-AnalysisQcTask_to_QC-CHECK-RUNNER-DummyAnalysisCheck", + "from_QC-CHECK-RUNNER-DummyAnalysisCheck_to_internal-dpl-global-binary-file-sink" + ] + }, + { + "name": "internal-dpl-injected-dummy-sink", + "executable": "../../bin/o2-qc", + "cmdLineArgs": [ + "-b", + "--config", + "json:///home/taillepied/alice/sw/slc7_x86-64/QualityControl/master-1/etc/analysisDerived.json", + "--dump-workflow", + "--dump-workflow-file", + "/home/taillepied/alice/sw/SOURCES/QualityControl/master/0/Modules/Example/o2-qc-example-analysis-derived.json" + ], + "workflowOptions": [ + { + "name": "config", + "type": "4", + "defaultValue": "", + "help": "Path to QC and Data Sampling configuration file." + }, + { + "name": "local", + "type": "5", + "defaultValue": "0", + "help": "Creates only the local part of the QC topology." + }, + { + "name": "host", + "type": "4", + "defaultValue": "", + "help": "Name of the host of the local part of the QC topology.Necessary to specify when creating topologies on multiple machines. If not specified, hostname of the current machine will be used" + }, + { + "name": "remote", + "type": "5", + "defaultValue": "0", + "help": "Creates only the remote part of the QC topology." + }, + { + "name": "no-data-sampling", + "type": "5", + "defaultValue": "0", + "help": "Do not add Data Sampling infrastructure." + }, + { + "name": "readers", + "type": "1", + "defaultValue": "1", + "help": "number of parallel readers to use" + }, + { + "name": "pipeline", + "type": "4", + "defaultValue": "", + "help": "override default pipeline size" + }, + { + "name": "clone", + "type": "4", + "defaultValue": "", + "help": "clone processors from a template" + }, + { + "name": "workflow-suffix", + "type": "4", + "defaultValue": "", + "help": "suffix to add to all dataprocessors" + }, + { + "name": "aod-memory-rate-limit", + "type": "1", + "defaultValue": "0", + "help": "Rate limit AOD processing based on memory" + }, + { + "name": "aod-writer-json", + "type": "4", + "defaultValue": "", + "help": "Name of the json configuration file" + }, + { + "name": "aod-writer-resfile", + "type": "4", + "defaultValue": "", + "help": "Default name of the output file" + }, + { + "name": "aod-writer-resmode", + "type": "4", + "defaultValue": "RECREATE", + "help": "Creation mode of the result files: NEW, CREATE, RECREATE, UPDATE" + }, + { + "name": "aod-writer-ntfmerge", + "type": "0", + "defaultValue": "-1", + "help": "Number of time frames to merge into one file" + }, + { + "name": "aod-writer-keep", + "type": "4", + "defaultValue": "", + "help": "Comma separated list of ORIGIN/DESCRIPTION/SUBSPECIFICATION:treename:col1/col2/..:filename" + }, + { + "name": "fairmq-rate-logging", + "type": "0", + "defaultValue": "0", + "help": "Rate logging for FairMQ channels" + }, + { + "name": "fairmq-recv-buffer-size", + "type": "0", + "defaultValue": "1000", + "help": "recvBufferSize option for FairMQ channels" + }, + { + "name": "fairmq-send-buffer-size", + "type": "0", + "defaultValue": "1000", + "help": "sendBufferSize option for FairMQ channels" + }, + { + "name": "fairmq-ipc-prefix", + "type": "4", + "defaultValue": "/tmp", + "help": "Prefix for FairMQ channels location" + }, + { + "name": "forwarding-policy", + "type": "4", + "defaultValue": "dangling", + "help": "Which messages to forward. dangling: dangling outputs, all: all messages" + }, + { + "name": "forwarding-destination", + "type": "4", + "defaultValue": "file", + "help": "Destination for forwarded messages. file: write to file, fairmq: send to output proxy" + } + ], + "channels": [ + "from_internal-dpl-aod-reader_to_internal-dpl-injected-dummy-sink" + ] + }, + { + "name": "internal-dpl-global-binary-file-sink", + "executable": "../../bin/o2-qc", + "cmdLineArgs": [ + "-b", + "--config", + "json:///home/taillepied/alice/sw/slc7_x86-64/QualityControl/master-1/etc/analysisDerived.json", + "--dump-workflow", + "--dump-workflow-file", + "/home/taillepied/alice/sw/SOURCES/QualityControl/master/0/Modules/Example/o2-qc-example-analysis-derived.json" + ], + "workflowOptions": [ + { + "name": "config", + "type": "4", + "defaultValue": "", + "help": "Path to QC and Data Sampling configuration file." + }, + { + "name": "local", + "type": "5", + "defaultValue": "0", + "help": "Creates only the local part of the QC topology." + }, + { + "name": "host", + "type": "4", + "defaultValue": "", + "help": "Name of the host of the local part of the QC topology.Necessary to specify when creating topologies on multiple machines. If not specified, hostname of the current machine will be used" + }, + { + "name": "remote", + "type": "5", + "defaultValue": "0", + "help": "Creates only the remote part of the QC topology." + }, + { + "name": "no-data-sampling", + "type": "5", + "defaultValue": "0", + "help": "Do not add Data Sampling infrastructure." + }, + { + "name": "readers", + "type": "1", + "defaultValue": "1", + "help": "number of parallel readers to use" + }, + { + "name": "pipeline", + "type": "4", + "defaultValue": "", + "help": "override default pipeline size" + }, + { + "name": "clone", + "type": "4", + "defaultValue": "", + "help": "clone processors from a template" + }, + { + "name": "workflow-suffix", + "type": "4", + "defaultValue": "", + "help": "suffix to add to all dataprocessors" + }, + { + "name": "aod-memory-rate-limit", + "type": "1", + "defaultValue": "0", + "help": "Rate limit AOD processing based on memory" + }, + { + "name": "aod-writer-json", + "type": "4", + "defaultValue": "", + "help": "Name of the json configuration file" + }, + { + "name": "aod-writer-resfile", + "type": "4", + "defaultValue": "", + "help": "Default name of the output file" + }, + { + "name": "aod-writer-resmode", + "type": "4", + "defaultValue": "RECREATE", + "help": "Creation mode of the result files: NEW, CREATE, RECREATE, UPDATE" + }, + { + "name": "aod-writer-ntfmerge", + "type": "0", + "defaultValue": "-1", + "help": "Number of time frames to merge into one file" + }, + { + "name": "aod-writer-keep", + "type": "4", + "defaultValue": "", + "help": "Comma separated list of ORIGIN/DESCRIPTION/SUBSPECIFICATION:treename:col1/col2/..:filename" + }, + { + "name": "fairmq-rate-logging", + "type": "0", + "defaultValue": "0", + "help": "Rate logging for FairMQ channels" + }, + { + "name": "fairmq-recv-buffer-size", + "type": "0", + "defaultValue": "1000", + "help": "recvBufferSize option for FairMQ channels" + }, + { + "name": "fairmq-send-buffer-size", + "type": "0", + "defaultValue": "1000", + "help": "sendBufferSize option for FairMQ channels" + }, + { + "name": "fairmq-ipc-prefix", + "type": "4", + "defaultValue": "/tmp", + "help": "Prefix for FairMQ channels location" + }, + { + "name": "forwarding-policy", + "type": "4", + "defaultValue": "dangling", + "help": "Which messages to forward. dangling: dangling outputs, all: all messages" + }, + { + "name": "forwarding-destination", + "type": "4", + "defaultValue": "file", + "help": "Destination for forwarded messages. file: write to file, fairmq: send to output proxy" + } + ], + "channels": [ + "from_QC-CHECK-RUNNER-DummyAnalysisCheck_to_internal-dpl-global-binary-file-sink" + ] + } + ] +} \ No newline at end of file diff --git a/Modules/Example/o2-qc-example-analysis-direct.json b/Modules/Example/o2-qc-example-analysis-direct.json new file mode 100644 index 0000000000..8ba9846c34 --- /dev/null +++ b/Modules/Example/o2-qc-example-analysis-direct.json @@ -0,0 +1,936 @@ +{ + "workflow": [ + { + "name": "QC-TASK-RUNNER-AODQcTask", + "inputs": [ + { + "binding": "aod-data", + "origin": "AOD", + "description": "TRACK:PAR", + "subspec": 0, + "lifetime": 0 + }, + { + "binding": "timer-cycle", + "origin": "QC", + "description": "TIMER-AODQcTa-mo", + "subspec": 0, + "lifetime": 4 + } + ], + "outputs": [ + { + "binding": "mo", + "origin": "QC", + "description": "AODQcTask-mo", + "subspec": 0, + "lifetime": 0 + } + ], + "options": [ + { + "name": "period-timer-cycle", + "type": "0", + "defaultValue": "10000000", + "help": "timer period" + } + ], + "rank": 0, + "nSlots": 1, + "inputTimeSliceId": 0, + "maxInputTimeslices": 1 + }, + { + "name": "QC-CHECK-RUNNER-DummyAnalysisCheck", + "inputs": [ + { + "binding": "AODQcTask", + "origin": "QC", + "description": "AODQcTask-mo", + "subspec": 0, + "lifetime": 0 + } + ], + "outputs": [ + { + "binding": "QC/DummyAnalysi-chk/0", + "origin": "QC", + "description": "DummyAnalysi-chk", + "subspec": 0, + "lifetime": 0 + } + ], + "options": [], + "rank": 0, + "nSlots": 1, + "inputTimeSliceId": 0, + "maxInputTimeslices": 1 + } + ], + "metadata": [ + { + "name": "internal-dpl-clock", + "executable": "../../bin/o2-qc", + "cmdLineArgs": [ + "-b", + "--config", + "json:///home/taillepied/alice/sw/slc7_x86-64/QualityControl/master-1/etc/analysisDirect.json", + "--dump-workflow", + "--dump-workflow-file", + "/home/taillepied/alice/sw/SOURCES/QualityControl/master/0/Modules/Example/o2-qc-example-analysis-direct.json" + ], + "workflowOptions": [ + { + "name": "config", + "type": "4", + "defaultValue": "", + "help": "Path to QC and Data Sampling configuration file." + }, + { + "name": "local", + "type": "5", + "defaultValue": "0", + "help": "Creates only the local part of the QC topology." + }, + { + "name": "host", + "type": "4", + "defaultValue": "", + "help": "Name of the host of the local part of the QC topology.Necessary to specify when creating topologies on multiple machines. If not specified, hostname of the current machine will be used" + }, + { + "name": "remote", + "type": "5", + "defaultValue": "0", + "help": "Creates only the remote part of the QC topology." + }, + { + "name": "no-data-sampling", + "type": "5", + "defaultValue": "0", + "help": "Do not add Data Sampling infrastructure." + }, + { + "name": "readers", + "type": "1", + "defaultValue": "1", + "help": "number of parallel readers to use" + }, + { + "name": "pipeline", + "type": "4", + "defaultValue": "", + "help": "override default pipeline size" + }, + { + "name": "clone", + "type": "4", + "defaultValue": "", + "help": "clone processors from a template" + }, + { + "name": "workflow-suffix", + "type": "4", + "defaultValue": "", + "help": "suffix to add to all dataprocessors" + }, + { + "name": "aod-memory-rate-limit", + "type": "1", + "defaultValue": "0", + "help": "Rate limit AOD processing based on memory" + }, + { + "name": "aod-writer-json", + "type": "4", + "defaultValue": "", + "help": "Name of the json configuration file" + }, + { + "name": "aod-writer-resfile", + "type": "4", + "defaultValue": "", + "help": "Default name of the output file" + }, + { + "name": "aod-writer-resmode", + "type": "4", + "defaultValue": "RECREATE", + "help": "Creation mode of the result files: NEW, CREATE, RECREATE, UPDATE" + }, + { + "name": "aod-writer-ntfmerge", + "type": "0", + "defaultValue": "-1", + "help": "Number of time frames to merge into one file" + }, + { + "name": "aod-writer-keep", + "type": "4", + "defaultValue": "", + "help": "Comma separated list of ORIGIN/DESCRIPTION/SUBSPECIFICATION:treename:col1/col2/..:filename" + }, + { + "name": "fairmq-rate-logging", + "type": "0", + "defaultValue": "0", + "help": "Rate logging for FairMQ channels" + }, + { + "name": "fairmq-recv-buffer-size", + "type": "0", + "defaultValue": "1000", + "help": "recvBufferSize option for FairMQ channels" + }, + { + "name": "fairmq-send-buffer-size", + "type": "0", + "defaultValue": "1000", + "help": "sendBufferSize option for FairMQ channels" + }, + { + "name": "fairmq-ipc-prefix", + "type": "4", + "defaultValue": "/tmp", + "help": "Prefix for FairMQ channels location" + }, + { + "name": "forwarding-policy", + "type": "4", + "defaultValue": "dangling", + "help": "Which messages to forward. dangling: dangling outputs, all: all messages" + }, + { + "name": "forwarding-destination", + "type": "4", + "defaultValue": "file", + "help": "Destination for forwarded messages. file: write to file, fairmq: send to output proxy" + } + ], + "channels": [ + "from_internal-dpl-clock_to_internal-dpl-aod-reader", + "from_internal-dpl-clock_to_QC-TASK-RUNNER-AODQcTask" + ] + }, + { + "name": "internal-dpl-aod-reader", + "executable": "../../bin/o2-qc", + "cmdLineArgs": [ + "-b", + "--config", + "json:///home/taillepied/alice/sw/slc7_x86-64/QualityControl/master-1/etc/analysisDirect.json", + "--dump-workflow", + "--dump-workflow-file", + "/home/taillepied/alice/sw/SOURCES/QualityControl/master/0/Modules/Example/o2-qc-example-analysis-direct.json" + ], + "workflowOptions": [ + { + "name": "config", + "type": "4", + "defaultValue": "", + "help": "Path to QC and Data Sampling configuration file." + }, + { + "name": "local", + "type": "5", + "defaultValue": "0", + "help": "Creates only the local part of the QC topology." + }, + { + "name": "host", + "type": "4", + "defaultValue": "", + "help": "Name of the host of the local part of the QC topology.Necessary to specify when creating topologies on multiple machines. If not specified, hostname of the current machine will be used" + }, + { + "name": "remote", + "type": "5", + "defaultValue": "0", + "help": "Creates only the remote part of the QC topology." + }, + { + "name": "no-data-sampling", + "type": "5", + "defaultValue": "0", + "help": "Do not add Data Sampling infrastructure." + }, + { + "name": "readers", + "type": "1", + "defaultValue": "1", + "help": "number of parallel readers to use" + }, + { + "name": "pipeline", + "type": "4", + "defaultValue": "", + "help": "override default pipeline size" + }, + { + "name": "clone", + "type": "4", + "defaultValue": "", + "help": "clone processors from a template" + }, + { + "name": "workflow-suffix", + "type": "4", + "defaultValue": "", + "help": "suffix to add to all dataprocessors" + }, + { + "name": "aod-memory-rate-limit", + "type": "1", + "defaultValue": "0", + "help": "Rate limit AOD processing based on memory" + }, + { + "name": "aod-writer-json", + "type": "4", + "defaultValue": "", + "help": "Name of the json configuration file" + }, + { + "name": "aod-writer-resfile", + "type": "4", + "defaultValue": "", + "help": "Default name of the output file" + }, + { + "name": "aod-writer-resmode", + "type": "4", + "defaultValue": "RECREATE", + "help": "Creation mode of the result files: NEW, CREATE, RECREATE, UPDATE" + }, + { + "name": "aod-writer-ntfmerge", + "type": "0", + "defaultValue": "-1", + "help": "Number of time frames to merge into one file" + }, + { + "name": "aod-writer-keep", + "type": "4", + "defaultValue": "", + "help": "Comma separated list of ORIGIN/DESCRIPTION/SUBSPECIFICATION:treename:col1/col2/..:filename" + }, + { + "name": "fairmq-rate-logging", + "type": "0", + "defaultValue": "0", + "help": "Rate logging for FairMQ channels" + }, + { + "name": "fairmq-recv-buffer-size", + "type": "0", + "defaultValue": "1000", + "help": "recvBufferSize option for FairMQ channels" + }, + { + "name": "fairmq-send-buffer-size", + "type": "0", + "defaultValue": "1000", + "help": "sendBufferSize option for FairMQ channels" + }, + { + "name": "fairmq-ipc-prefix", + "type": "4", + "defaultValue": "/tmp", + "help": "Prefix for FairMQ channels location" + }, + { + "name": "forwarding-policy", + "type": "4", + "defaultValue": "dangling", + "help": "Which messages to forward. dangling: dangling outputs, all: all messages" + }, + { + "name": "forwarding-destination", + "type": "4", + "defaultValue": "file", + "help": "Destination for forwarded messages. file: write to file, fairmq: send to output proxy" + } + ], + "channels": [ + "from_internal-dpl-clock_to_internal-dpl-aod-reader", + "from_internal-dpl-aod-reader_to_internal-dpl-injected-dummy-sink", + "from_internal-dpl-aod-reader_to_QC-TASK-RUNNER-AODQcTask" + ] + }, + { + "name": "QC-TASK-RUNNER-AODQcTask", + "executable": "../../bin/o2-qc", + "cmdLineArgs": [ + "-b", + "--config", + "json:///home/taillepied/alice/sw/slc7_x86-64/QualityControl/master-1/etc/analysisDirect.json", + "--dump-workflow", + "--dump-workflow-file", + "/home/taillepied/alice/sw/SOURCES/QualityControl/master/0/Modules/Example/o2-qc-example-analysis-direct.json" + ], + "workflowOptions": [ + { + "name": "config", + "type": "4", + "defaultValue": "", + "help": "Path to QC and Data Sampling configuration file." + }, + { + "name": "local", + "type": "5", + "defaultValue": "0", + "help": "Creates only the local part of the QC topology." + }, + { + "name": "host", + "type": "4", + "defaultValue": "", + "help": "Name of the host of the local part of the QC topology.Necessary to specify when creating topologies on multiple machines. If not specified, hostname of the current machine will be used" + }, + { + "name": "remote", + "type": "5", + "defaultValue": "0", + "help": "Creates only the remote part of the QC topology." + }, + { + "name": "no-data-sampling", + "type": "5", + "defaultValue": "0", + "help": "Do not add Data Sampling infrastructure." + }, + { + "name": "readers", + "type": "1", + "defaultValue": "1", + "help": "number of parallel readers to use" + }, + { + "name": "pipeline", + "type": "4", + "defaultValue": "", + "help": "override default pipeline size" + }, + { + "name": "clone", + "type": "4", + "defaultValue": "", + "help": "clone processors from a template" + }, + { + "name": "workflow-suffix", + "type": "4", + "defaultValue": "", + "help": "suffix to add to all dataprocessors" + }, + { + "name": "aod-memory-rate-limit", + "type": "1", + "defaultValue": "0", + "help": "Rate limit AOD processing based on memory" + }, + { + "name": "aod-writer-json", + "type": "4", + "defaultValue": "", + "help": "Name of the json configuration file" + }, + { + "name": "aod-writer-resfile", + "type": "4", + "defaultValue": "", + "help": "Default name of the output file" + }, + { + "name": "aod-writer-resmode", + "type": "4", + "defaultValue": "RECREATE", + "help": "Creation mode of the result files: NEW, CREATE, RECREATE, UPDATE" + }, + { + "name": "aod-writer-ntfmerge", + "type": "0", + "defaultValue": "-1", + "help": "Number of time frames to merge into one file" + }, + { + "name": "aod-writer-keep", + "type": "4", + "defaultValue": "", + "help": "Comma separated list of ORIGIN/DESCRIPTION/SUBSPECIFICATION:treename:col1/col2/..:filename" + }, + { + "name": "fairmq-rate-logging", + "type": "0", + "defaultValue": "0", + "help": "Rate logging for FairMQ channels" + }, + { + "name": "fairmq-recv-buffer-size", + "type": "0", + "defaultValue": "1000", + "help": "recvBufferSize option for FairMQ channels" + }, + { + "name": "fairmq-send-buffer-size", + "type": "0", + "defaultValue": "1000", + "help": "sendBufferSize option for FairMQ channels" + }, + { + "name": "fairmq-ipc-prefix", + "type": "4", + "defaultValue": "/tmp", + "help": "Prefix for FairMQ channels location" + }, + { + "name": "forwarding-policy", + "type": "4", + "defaultValue": "dangling", + "help": "Which messages to forward. dangling: dangling outputs, all: all messages" + }, + { + "name": "forwarding-destination", + "type": "4", + "defaultValue": "file", + "help": "Destination for forwarded messages. file: write to file, fairmq: send to output proxy" + } + ], + "channels": [ + "from_internal-dpl-clock_to_QC-TASK-RUNNER-AODQcTask", + "from_internal-dpl-aod-reader_to_QC-TASK-RUNNER-AODQcTask", + "from_QC-TASK-RUNNER-AODQcTask_to_QC-CHECK-RUNNER-DummyAnalysisCheck" + ] + }, + { + "name": "QC-CHECK-RUNNER-DummyAnalysisCheck", + "executable": "../../bin/o2-qc", + "cmdLineArgs": [ + "-b", + "--config", + "json:///home/taillepied/alice/sw/slc7_x86-64/QualityControl/master-1/etc/analysisDirect.json", + "--dump-workflow", + "--dump-workflow-file", + "/home/taillepied/alice/sw/SOURCES/QualityControl/master/0/Modules/Example/o2-qc-example-analysis-direct.json" + ], + "workflowOptions": [ + { + "name": "config", + "type": "4", + "defaultValue": "", + "help": "Path to QC and Data Sampling configuration file." + }, + { + "name": "local", + "type": "5", + "defaultValue": "0", + "help": "Creates only the local part of the QC topology." + }, + { + "name": "host", + "type": "4", + "defaultValue": "", + "help": "Name of the host of the local part of the QC topology.Necessary to specify when creating topologies on multiple machines. If not specified, hostname of the current machine will be used" + }, + { + "name": "remote", + "type": "5", + "defaultValue": "0", + "help": "Creates only the remote part of the QC topology." + }, + { + "name": "no-data-sampling", + "type": "5", + "defaultValue": "0", + "help": "Do not add Data Sampling infrastructure." + }, + { + "name": "readers", + "type": "1", + "defaultValue": "1", + "help": "number of parallel readers to use" + }, + { + "name": "pipeline", + "type": "4", + "defaultValue": "", + "help": "override default pipeline size" + }, + { + "name": "clone", + "type": "4", + "defaultValue": "", + "help": "clone processors from a template" + }, + { + "name": "workflow-suffix", + "type": "4", + "defaultValue": "", + "help": "suffix to add to all dataprocessors" + }, + { + "name": "aod-memory-rate-limit", + "type": "1", + "defaultValue": "0", + "help": "Rate limit AOD processing based on memory" + }, + { + "name": "aod-writer-json", + "type": "4", + "defaultValue": "", + "help": "Name of the json configuration file" + }, + { + "name": "aod-writer-resfile", + "type": "4", + "defaultValue": "", + "help": "Default name of the output file" + }, + { + "name": "aod-writer-resmode", + "type": "4", + "defaultValue": "RECREATE", + "help": "Creation mode of the result files: NEW, CREATE, RECREATE, UPDATE" + }, + { + "name": "aod-writer-ntfmerge", + "type": "0", + "defaultValue": "-1", + "help": "Number of time frames to merge into one file" + }, + { + "name": "aod-writer-keep", + "type": "4", + "defaultValue": "", + "help": "Comma separated list of ORIGIN/DESCRIPTION/SUBSPECIFICATION:treename:col1/col2/..:filename" + }, + { + "name": "fairmq-rate-logging", + "type": "0", + "defaultValue": "0", + "help": "Rate logging for FairMQ channels" + }, + { + "name": "fairmq-recv-buffer-size", + "type": "0", + "defaultValue": "1000", + "help": "recvBufferSize option for FairMQ channels" + }, + { + "name": "fairmq-send-buffer-size", + "type": "0", + "defaultValue": "1000", + "help": "sendBufferSize option for FairMQ channels" + }, + { + "name": "fairmq-ipc-prefix", + "type": "4", + "defaultValue": "/tmp", + "help": "Prefix for FairMQ channels location" + }, + { + "name": "forwarding-policy", + "type": "4", + "defaultValue": "dangling", + "help": "Which messages to forward. dangling: dangling outputs, all: all messages" + }, + { + "name": "forwarding-destination", + "type": "4", + "defaultValue": "file", + "help": "Destination for forwarded messages. file: write to file, fairmq: send to output proxy" + } + ], + "channels": [ + "from_QC-TASK-RUNNER-AODQcTask_to_QC-CHECK-RUNNER-DummyAnalysisCheck", + "from_QC-CHECK-RUNNER-DummyAnalysisCheck_to_internal-dpl-global-binary-file-sink" + ] + }, + { + "name": "internal-dpl-injected-dummy-sink", + "executable": "../../bin/o2-qc", + "cmdLineArgs": [ + "-b", + "--config", + "json:///home/taillepied/alice/sw/slc7_x86-64/QualityControl/master-1/etc/analysisDirect.json", + "--dump-workflow", + "--dump-workflow-file", + "/home/taillepied/alice/sw/SOURCES/QualityControl/master/0/Modules/Example/o2-qc-example-analysis-direct.json" + ], + "workflowOptions": [ + { + "name": "config", + "type": "4", + "defaultValue": "", + "help": "Path to QC and Data Sampling configuration file." + }, + { + "name": "local", + "type": "5", + "defaultValue": "0", + "help": "Creates only the local part of the QC topology." + }, + { + "name": "host", + "type": "4", + "defaultValue": "", + "help": "Name of the host of the local part of the QC topology.Necessary to specify when creating topologies on multiple machines. If not specified, hostname of the current machine will be used" + }, + { + "name": "remote", + "type": "5", + "defaultValue": "0", + "help": "Creates only the remote part of the QC topology." + }, + { + "name": "no-data-sampling", + "type": "5", + "defaultValue": "0", + "help": "Do not add Data Sampling infrastructure." + }, + { + "name": "readers", + "type": "1", + "defaultValue": "1", + "help": "number of parallel readers to use" + }, + { + "name": "pipeline", + "type": "4", + "defaultValue": "", + "help": "override default pipeline size" + }, + { + "name": "clone", + "type": "4", + "defaultValue": "", + "help": "clone processors from a template" + }, + { + "name": "workflow-suffix", + "type": "4", + "defaultValue": "", + "help": "suffix to add to all dataprocessors" + }, + { + "name": "aod-memory-rate-limit", + "type": "1", + "defaultValue": "0", + "help": "Rate limit AOD processing based on memory" + }, + { + "name": "aod-writer-json", + "type": "4", + "defaultValue": "", + "help": "Name of the json configuration file" + }, + { + "name": "aod-writer-resfile", + "type": "4", + "defaultValue": "", + "help": "Default name of the output file" + }, + { + "name": "aod-writer-resmode", + "type": "4", + "defaultValue": "RECREATE", + "help": "Creation mode of the result files: NEW, CREATE, RECREATE, UPDATE" + }, + { + "name": "aod-writer-ntfmerge", + "type": "0", + "defaultValue": "-1", + "help": "Number of time frames to merge into one file" + }, + { + "name": "aod-writer-keep", + "type": "4", + "defaultValue": "", + "help": "Comma separated list of ORIGIN/DESCRIPTION/SUBSPECIFICATION:treename:col1/col2/..:filename" + }, + { + "name": "fairmq-rate-logging", + "type": "0", + "defaultValue": "0", + "help": "Rate logging for FairMQ channels" + }, + { + "name": "fairmq-recv-buffer-size", + "type": "0", + "defaultValue": "1000", + "help": "recvBufferSize option for FairMQ channels" + }, + { + "name": "fairmq-send-buffer-size", + "type": "0", + "defaultValue": "1000", + "help": "sendBufferSize option for FairMQ channels" + }, + { + "name": "fairmq-ipc-prefix", + "type": "4", + "defaultValue": "/tmp", + "help": "Prefix for FairMQ channels location" + }, + { + "name": "forwarding-policy", + "type": "4", + "defaultValue": "dangling", + "help": "Which messages to forward. dangling: dangling outputs, all: all messages" + }, + { + "name": "forwarding-destination", + "type": "4", + "defaultValue": "file", + "help": "Destination for forwarded messages. file: write to file, fairmq: send to output proxy" + } + ], + "channels": [ + "from_internal-dpl-aod-reader_to_internal-dpl-injected-dummy-sink" + ] + }, + { + "name": "internal-dpl-global-binary-file-sink", + "executable": "../../bin/o2-qc", + "cmdLineArgs": [ + "-b", + "--config", + "json:///home/taillepied/alice/sw/slc7_x86-64/QualityControl/master-1/etc/analysisDirect.json", + "--dump-workflow", + "--dump-workflow-file", + "/home/taillepied/alice/sw/SOURCES/QualityControl/master/0/Modules/Example/o2-qc-example-analysis-direct.json" + ], + "workflowOptions": [ + { + "name": "config", + "type": "4", + "defaultValue": "", + "help": "Path to QC and Data Sampling configuration file." + }, + { + "name": "local", + "type": "5", + "defaultValue": "0", + "help": "Creates only the local part of the QC topology." + }, + { + "name": "host", + "type": "4", + "defaultValue": "", + "help": "Name of the host of the local part of the QC topology.Necessary to specify when creating topologies on multiple machines. If not specified, hostname of the current machine will be used" + }, + { + "name": "remote", + "type": "5", + "defaultValue": "0", + "help": "Creates only the remote part of the QC topology." + }, + { + "name": "no-data-sampling", + "type": "5", + "defaultValue": "0", + "help": "Do not add Data Sampling infrastructure." + }, + { + "name": "readers", + "type": "1", + "defaultValue": "1", + "help": "number of parallel readers to use" + }, + { + "name": "pipeline", + "type": "4", + "defaultValue": "", + "help": "override default pipeline size" + }, + { + "name": "clone", + "type": "4", + "defaultValue": "", + "help": "clone processors from a template" + }, + { + "name": "workflow-suffix", + "type": "4", + "defaultValue": "", + "help": "suffix to add to all dataprocessors" + }, + { + "name": "aod-memory-rate-limit", + "type": "1", + "defaultValue": "0", + "help": "Rate limit AOD processing based on memory" + }, + { + "name": "aod-writer-json", + "type": "4", + "defaultValue": "", + "help": "Name of the json configuration file" + }, + { + "name": "aod-writer-resfile", + "type": "4", + "defaultValue": "", + "help": "Default name of the output file" + }, + { + "name": "aod-writer-resmode", + "type": "4", + "defaultValue": "RECREATE", + "help": "Creation mode of the result files: NEW, CREATE, RECREATE, UPDATE" + }, + { + "name": "aod-writer-ntfmerge", + "type": "0", + "defaultValue": "-1", + "help": "Number of time frames to merge into one file" + }, + { + "name": "aod-writer-keep", + "type": "4", + "defaultValue": "", + "help": "Comma separated list of ORIGIN/DESCRIPTION/SUBSPECIFICATION:treename:col1/col2/..:filename" + }, + { + "name": "fairmq-rate-logging", + "type": "0", + "defaultValue": "0", + "help": "Rate logging for FairMQ channels" + }, + { + "name": "fairmq-recv-buffer-size", + "type": "0", + "defaultValue": "1000", + "help": "recvBufferSize option for FairMQ channels" + }, + { + "name": "fairmq-send-buffer-size", + "type": "0", + "defaultValue": "1000", + "help": "sendBufferSize option for FairMQ channels" + }, + { + "name": "fairmq-ipc-prefix", + "type": "4", + "defaultValue": "/tmp", + "help": "Prefix for FairMQ channels location" + }, + { + "name": "forwarding-policy", + "type": "4", + "defaultValue": "dangling", + "help": "Which messages to forward. dangling: dangling outputs, all: all messages" + }, + { + "name": "forwarding-destination", + "type": "4", + "defaultValue": "file", + "help": "Destination for forwarded messages. file: write to file, fairmq: send to output proxy" + } + ], + "channels": [ + "from_QC-CHECK-RUNNER-DummyAnalysisCheck_to_internal-dpl-global-binary-file-sink" + ] + } + ] +} \ No newline at end of file diff --git a/Modules/MUON/CMakeLists.txt b/Modules/MUON/CMakeLists.txt index 83828686c1..2a258f3bf7 100644 --- a/Modules/MUON/CMakeLists.txt +++ b/Modules/MUON/CMakeLists.txt @@ -1,3 +1,4 @@ # ---- Muon directories ---- add_subdirectory(MCH) +add_subdirectory(MID) diff --git a/Modules/MID/CMakeLists.txt b/Modules/MUON/MID/CMakeLists.txt similarity index 79% rename from Modules/MID/CMakeLists.txt rename to Modules/MUON/MID/CMakeLists.txt index e73dc4a202..7d4c0b9940 100644 --- a/Modules/MID/CMakeLists.txt +++ b/Modules/MUON/MID/CMakeLists.txt @@ -2,7 +2,10 @@ add_library(O2QcMID) -target_sources(O2QcMID PRIVATE src/RawQcCheck.cxx src/RawQcTask.cxx ) +target_sources(O2QcMID PUBLIC + src/RawQcCheck.cxx + src/RawQcTask.cxx + ) target_include_directories( O2QcMID @@ -10,7 +13,7 @@ target_include_directories( $ PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src) -target_link_libraries(O2QcMID PUBLIC O2QualityControl) +target_link_libraries(O2QcMID PUBLIC O2QualityControl O2::MIDRaw) install(TARGETS O2QcMID LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} @@ -19,8 +22,8 @@ install(TARGETS O2QcMID add_root_dictionary(O2QcMID HEADERS - include/MID/RawQcCheck.h - include/MID/RawQcTask.h + include/MID/RawQcCheck.h + include/MID/RawQcTask.h LINKDEF include/MID/LinkDef.h BASENAME O2QcMID) @@ -53,7 +56,7 @@ foreach(i RANGE ${count}) list(GET EXE_SRCS ${i} src) list(GET EXE_NAMES ${i} name) add_executable(${name} ${src}) - target_link_libraries(${name} PRIVATE O2QualityControl CURL::libcurl O2::MIDWorkflow O2::DetectorsBase) + target_link_libraries(${name} PRIVATE O2QualityControl O2QcMID CURL::libcurl O2::MIDWorkflow O2::DetectorsBase) endforeach() install( diff --git a/Modules/MID/include/MID/LinkDef.h b/Modules/MUON/MID/include/MID/LinkDef.h similarity index 93% rename from Modules/MID/include/MID/LinkDef.h rename to Modules/MUON/MID/include/MID/LinkDef.h index f38b191a73..6d075f721a 100644 --- a/Modules/MID/include/MID/LinkDef.h +++ b/Modules/MUON/MID/include/MID/LinkDef.h @@ -3,6 +3,7 @@ #pragma link off all classes; #pragma link off all functions; -#pragma link C++ class o2::quality_control_modules::mid::RawQcTask+; -#pragma link C++ class o2::quality_control_modules::mid::RawQcCheck+; +#pragma link C++ class o2::quality_control_modules::mid::RawQcTask + ; +#pragma link C++ class o2::quality_control_modules::mid::RawQcCheck + ; + #endif diff --git a/Modules/MID/include/MID/RawQcCheck.h b/Modules/MUON/MID/include/MID/RawQcCheck.h similarity index 100% rename from Modules/MID/include/MID/RawQcCheck.h rename to Modules/MUON/MID/include/MID/RawQcCheck.h diff --git a/Modules/MID/include/MID/RawQcTask.h b/Modules/MUON/MID/include/MID/RawQcTask.h similarity index 100% rename from Modules/MID/include/MID/RawQcTask.h rename to Modules/MUON/MID/include/MID/RawQcTask.h diff --git a/Modules/MID/raw-mid.json b/Modules/MUON/MID/raw-mid.json similarity index 100% rename from Modules/MID/raw-mid.json rename to Modules/MUON/MID/raw-mid.json diff --git a/Modules/MID/src/RawQcCheck.cxx b/Modules/MUON/MID/src/RawQcCheck.cxx similarity index 100% rename from Modules/MID/src/RawQcCheck.cxx rename to Modules/MUON/MID/src/RawQcCheck.cxx diff --git a/Modules/MID/src/RawQcTask.cxx b/Modules/MUON/MID/src/RawQcTask.cxx similarity index 100% rename from Modules/MID/src/RawQcTask.cxx rename to Modules/MUON/MID/src/RawQcTask.cxx diff --git a/Modules/MID/src/runMID.cxx b/Modules/MUON/MID/src/runMID.cxx similarity index 100% rename from Modules/MID/src/runMID.cxx rename to Modules/MUON/MID/src/runMID.cxx diff --git a/Modules/MID/test/testQcMID.cxx b/Modules/MUON/MID/test/testQcMID.cxx similarity index 100% rename from Modules/MID/test/testQcMID.cxx rename to Modules/MUON/MID/test/testQcMID.cxx