QualityControl  1.5.1
O2 Data Quality Control Framework
o2::quality_control::postprocessing::PostProcessingRunner Class Reference

A class driving the execution of a post-processing task. More...

#include <PostProcessingRunner.h>

Collaboration diagram for o2::quality_control::postprocessing::PostProcessingRunner:

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 ()
 

Detailed Description

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.

Author
Piotr Konopka

Member Function Documentation

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.

Parameters
tA 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.

Parameters
callbackMonitorObjectCollection publication callback

The documentation for this class was generated from the following files: