QualityControl  1.5.1
O2 Data Quality Control Framework
o2::quality_control_modules::tof::CheckCompressedData Class Reference

Checker for the data produced by the TOF compressor (i.e. checking raw data) More...

#include <CheckCompressedData.h>

Inheritance diagram for o2::quality_control_modules::tof::CheckCompressedData:
Collaboration diagram for o2::quality_control_modules::tof::CheckCompressedData:

Public Member Functions

 CheckCompressedData ()=default
 Default constructor.
 
 ~CheckCompressedData () override=default
 Destructor.
 
void configure (std::string name) override
 Configure the check based on its name. More...
 
Quality check (std::map< std::string, std::shared_ptr< MonitorObject >> *moMap) override
 Returns the quality associated with these objects. More...
 
void beautify (std::shared_ptr< MonitorObject > mo, Quality checkResult) override
 Modify the aspect of the plot. More...
 
std::string getAcceptedType () override
 Returns the name of the class that can be treated by this check. More...
 
- Public Member Functions inherited from o2::quality_control::checker::CheckInterface
 CheckInterface ()=default
 Default constructor.
 
virtual ~CheckInterface ()=default
 Destructor.
 
bool isObjectCheckable (const std::shared_ptr< MonitorObject > mo)
 
bool isObjectCheckable (const MonitorObject *mo)
 
void setCustomParameters (const std::unordered_map< std::string, std::string > &parameters)
 

Additional Inherited Members

- Protected Attributes inherited from o2::quality_control::checker::CheckInterface
std::unordered_map< std::string, std::string > mCustomParameters
 

Detailed Description

Checker for the data produced by the TOF compressor (i.e. checking raw data)

Author
Nicolo' Jacazio

Member Function Documentation

void o2::quality_control_modules::tof::CheckCompressedData::beautify ( std::shared_ptr< MonitorObject mo,
Quality  checkResult 
)
overridevirtual

Modify the aspect of the plot.

Modify the aspect of the plot. It is usually based on the result of the check (passed as quality)

Parameters
moThe MonitorObject to beautify.
checkResultThe quality returned by the check. It is not the same as the quality of the mo as the latter represents the combination of all the checks the mo passed. This parameter is to be used to pass the result of the check of the same class.

Implements o2::quality_control::checker::CheckInterface.

Quality o2::quality_control_modules::tof::CheckCompressedData::check ( std::map< std::string, std::shared_ptr< MonitorObject >> *  moMap)
overridevirtual

Returns the quality associated with these objects.

Parameters
moMapA map of the the MonitorObjects to check and their full names.
Returns
The quality associated with these objects.

Implements o2::quality_control::checker::CheckInterface.

void o2::quality_control_modules::tof::CheckCompressedData::configure ( std::string  name)
overridevirtual

Configure the check based on its name.

The configuration of the object can't be done in the constructor because ROOT needs an argument-less constructor when streaming it. We use this method to configure the object. The name might be used to ask the configuration system for specific parameters.

Implements o2::quality_control::checker::CheckInterface.

std::string o2::quality_control_modules::tof::CheckCompressedData::getAcceptedType ( )
overridevirtual

Returns the name of the class that can be treated by this check.

The name of the class returned by this method will be checked against the MonitorObject's encapsulated object's class. If it is the same or a parent then the check will be applied. Therefore, this method must return the highest class in the hierarchy that this check can use. If the class does not override it, we return "TObject".

Author
Barthelemy von Haller

Reimplemented from o2::quality_control::checker::CheckInterface.


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