QualityControl  1.5.1
O2 Data Quality Control Framework
o2::quality_control::checker::Check Class Reference

The class in charge of providing single check for a given map of MonitorObjects. More...

#include <Check.h>

Collaboration diagram for o2::quality_control::checker::Check:

Public Member Functions

 Check (std::string checkName, std::string configurationSource)
 Constructor. More...
 
void init ()
 Initialize the check state Expected to run in the init phase of the FairDevice.
 
QualityObjectsType check (std::map< std::string, std::shared_ptr< o2::quality_control::core::MonitorObject >> &moMap)
 
void updateRevision (unsigned int revision)
 Change the revision. More...
 
const std::string & getName () const
 
o2::framework::OutputSpec getOutputSpec () const
 
o2::framework::Inputs getInputs () const
 
void setCheckInterface (CheckInterface *checkInterface)
 
std::string getPolicyName () const
 
std::vector< std::string > getObjectsNames () const
 
bool getAllObjectsOption () const
 

Static Public Member Functions

static o2::header::DataDescription createCheckerDataDescription (const std::string taskName)
 Static functions.
 

Detailed Description

The class in charge of providing single check for a given map of MonitorObjects.

A Check is in charge of loading/instantiating the single check from module, configure them and manage the check process: shadow not required MonitorObjects, invoke beautify process if needed.

Author
Rafal Pacholek

Constructor & Destructor Documentation

Check::Check ( std::string  checkName,
std::string  configurationSource 
)

Constructor.

Members.

Check constructor

Create Check that will load single check from a module and run if invoked.

Parameters
checkNameCheck name from the configuration
configurationSourcePath to configuration

Member Function Documentation

void o2::quality_control::checker::Check::updateRevision ( unsigned int  revision)

Change the revision.

Update the revision number with the latest global revision. Expected to be changed after invoke of check(moMap) or revision number overflow.


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