QualityControl  1.5.1
O2 Data Quality Control Framework
o2::quality_control::postprocessing::PostProcessingInterface Class Referenceabstract

Skeleton of a post-processing task. More...

#include <PostProcessingInterface.h>

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

Public Member Functions

virtual void configure (std::string name, const boost::property_tree::ptree &config)
 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...
 
virtual void initialize (Trigger trigger, framework::ServiceRegistry &services)=0
 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...
 
virtual void update (Trigger trigger, framework::ServiceRegistry &services)=0
 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...
 
virtual void finalize (Trigger trigger, framework::ServiceRegistry &services)=0
 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 setObjectsManager (std::shared_ptr< core::ObjectsManager > objectsManager)
 
void setName (const std::string &name)
 
std::string getName () const
 

Protected Member Functions

std::shared_ptr< core::ObjectsManagergetObjectsManager ()
 

Detailed Description

Skeleton of a post-processing task.

Abstract class defining the skeleton and the common interface of a post-processing task. It is therefore the parent class of any post-processing task. It is responsible for retrieving, processing and storing the data, mainly from and to QC repository.

Author
Piotr Konopka

Member Function Documentation

void o2::quality_control::postprocessing::PostProcessingInterface::configure ( std::string  name,
const boost::property_tree::ptree &  config 
)
virtual

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 in o2::quality_control::postprocessing::TrendingTaskITSFhr, o2::quality_control::postprocessing::TrendingTaskITSThr, o2::quality_control::postprocessing::TrendingTask, and o2::quality_control_modules::test::TestTask.

virtual void o2::quality_control::postprocessing::PostProcessingInterface::finalize ( Trigger  trigger,
framework::ServiceRegistry &  services 
)
pure virtual

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

Implemented in o2::quality_control::postprocessing::TrendingTaskITSFhr, o2::quality_control::postprocessing::TrendingTaskITSThr, o2::quality_control_modules::tof::PostProcessDiagnosticPerCrate, o2::quality_control_modules::test::TestTask, o2::quality_control_modules::skeleton::SkeletonPostProcessing, o2::quality_control::postprocessing::TrendingTask, and o2::quality_control_modules::ft0::TreeReaderPostProcessing.

virtual void o2::quality_control::postprocessing::PostProcessingInterface::initialize ( Trigger  trigger,
framework::ServiceRegistry &  services 
)
pure virtual

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

Implemented in o2::quality_control::postprocessing::TrendingTaskITSFhr, o2::quality_control::postprocessing::TrendingTaskITSThr, o2::quality_control::postprocessing::TrendingTask, o2::quality_control_modules::tof::PostProcessDiagnosticPerCrate, o2::quality_control_modules::test::TestTask, o2::quality_control_modules::skeleton::SkeletonPostProcessing, and o2::quality_control_modules::ft0::TreeReaderPostProcessing.

virtual void o2::quality_control::postprocessing::PostProcessingInterface::update ( Trigger  trigger,
framework::ServiceRegistry &  services 
)
pure virtual

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

Implemented in o2::quality_control::postprocessing::TrendingTaskITSFhr, o2::quality_control::postprocessing::TrendingTaskITSThr, o2::quality_control_modules::tof::PostProcessDiagnosticPerCrate, o2::quality_control::postprocessing::TrendingTask, o2::quality_control_modules::test::TestTask, o2::quality_control_modules::skeleton::SkeletonPostProcessing, and o2::quality_control_modules::ft0::TreeReaderPostProcessing.


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