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

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

#include <TrendingTaskITSThr.h>

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

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...
 
void SetLegendStyle (TLegend *leg)
 
void SetGraphStyle (TGraph *g, int col, int mkr)
 
void SetGraphNameAndAxes (TGraph *g, std::string name, std::string title, std::string xtitle, std::string ytitle, double ymin, double ymax, std::vector< std::string > runlist)
 
void PrepareLegend (TLegend *leg, int layer)
 
- 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
Ivan Ravasenga on the structure from Piotr Konopka

Member Function Documentation

void TrendingTaskITSThr::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 TrendingTaskITSThr::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 TrendingTaskITSThr::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 TrendingTaskITSThr::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: