QualityControl
1.5.1
O2 Data Quality Control Framework
|
A class driving the execution of a post-processing task. More...
#include <PostProcessingRunner.h>
Public Member Functions | |
PostProcessingRunner (std::string name) | |
void | init (const boost::property_tree::ptree &config) |
Initialization. Throws on errors. | |
bool | run () |
One iteration over the event loop. Throws on errors. Returns false when it can gracefully exit. | |
void | start () |
Start transition. Throws on errors. | |
void | stop () |
Stop transition. Throws on errors. | |
void | reset () |
Reset transition. Throws on errors. | |
void | runOverTimestamps (const std::vector< uint64_t > &t) |
Runs the task over selected timestamps, performing the full start, run, stop cycle. More... | |
void | setPublicationCallback (MOCPublicationCallback callback) |
Set how objects should be published. If not used, objects will be stored in repository. More... | |
const std::string & | getName () |
A class driving the execution of a post-processing task.
It is responsible for setting up a post-processing task and executing its methods corresponding to its state. The state transitions are determined by triggers defined by user.
void o2::quality_control::postprocessing::PostProcessingRunner::runOverTimestamps | ( | const std::vector< uint64_t > & | t | ) |
Runs the task over selected timestamps, performing the full start, run, stop cycle.
t | A vector with timestamps (ms since epoch). The first is used for task initialisation, the last for task finalisation, so at least two are required. |
void o2::quality_control::postprocessing::PostProcessingRunner::setPublicationCallback | ( | MOCPublicationCallback | callback | ) |
Set how objects should be published. If not used, objects will be stored in repository.
callback | MonitorObjectCollection publication callback |