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

A post-processing task which trends values, stores them in a TTree and produces plots. More...

#include <TrendingTask.h>

Inheritance diagram for o2::quality_control::postprocessing::TrendingTask:
Collaboration diagram for o2::quality_control::postprocessing::TrendingTask:

Public Member Functions

void configure (std::string name, const boost::property_tree::ptree &config) override
 Configuration of a post-processing task. Configuration of a post-processing task. Can be overridden if user wants to retrieve the configuration of the task. More...
 
void initialize (Trigger, framework::ServiceRegistry &) override
 Initialization of a post-processing task. Initialization of a post-processing task. User receives a Trigger which caused the initialization and a service registry with singleton interfaces. More...
 
void update (Trigger, framework::ServiceRegistry &) override
 Update of a post-processing task. Update of a post-processing task. User receives a Trigger which caused the update and a service registry with singleton interfaces. More...
 
void finalize (Trigger, framework::ServiceRegistry &) override
 Finalization of a post-processing task. Finalization of a post-processing task. User receives a Trigger which caused the finalization and a service registry with singleton interfaces. More...
 
- Public Member Functions inherited from o2::quality_control::postprocessing::PostProcessingInterface
void setObjectsManager (std::shared_ptr< core::ObjectsManager > objectsManager)
 
void setName (const std::string &name)
 
std::string getName () const
 

Additional Inherited Members

- Protected Member Functions inherited from o2::quality_control::postprocessing::PostProcessingInterface
std::shared_ptr< core::ObjectsManagergetObjectsManager ()
 

Detailed Description

A post-processing task which trends values, stores them in a TTree and produces plots.

A post-processing task which trends objects inside QC database (QCDB). It extracts some values of one or multiple objects using the Reductor classes, then stores them inside a TTree. One can generate plots out the TTree - the class exposes the TTree::Draw interface to the user. The TTree and plots are stored in the QCDB. The class is configured with configuration files, see Framework/postprocessing.json as an example.

Author
Piotr Konopka

Member Function Documentation

void TrendingTask::configure ( std::string  name,
const boost::property_tree::ptree &  config 
)
overridevirtual

Configuration of a post-processing task. Configuration of a post-processing task. Can be overridden if user wants to retrieve the configuration of the task.

Parameters
nameName of the task
configConfigurationInterface with prefix set to ""

Reimplemented from o2::quality_control::postprocessing::PostProcessingInterface.

void TrendingTask::finalize ( Trigger  trigger,
framework::ServiceRegistry &  services 
)
overridevirtual

Finalization of a post-processing task. Finalization of a post-processing task. User receives a Trigger which caused the finalization and a service registry with singleton interfaces.

Parameters
triggerTrigger which caused the initialization, for example Trigger::EOR
servicesInterface containing optional interfaces, for example DatabaseInterface

Implements o2::quality_control::postprocessing::PostProcessingInterface.

void TrendingTask::initialize ( Trigger  trigger,
framework::ServiceRegistry &  services 
)
overridevirtual

Initialization of a post-processing task. Initialization of a post-processing task. User receives a Trigger which caused the initialization and a service registry with singleton interfaces.

Parameters
triggerTrigger which caused the initialization, for example Trigger::SOR
servicesInterface containing optional interfaces, for example DatabaseInterface

Implements o2::quality_control::postprocessing::PostProcessingInterface.

void TrendingTask::update ( Trigger  trigger,
framework::ServiceRegistry &  services 
)
overridevirtual

Update of a post-processing task. Update of a post-processing task. User receives a Trigger which caused the update and a service registry with singleton interfaces.

Parameters
triggerTrigger which caused the initialization, for example Trigger::Period
servicesInterface containing optional interfaces, for example DatabaseInterface

Implements o2::quality_control::postprocessing::PostProcessingInterface.


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