QualityControl  1.5.1
O2 Data Quality Control Framework
o2::quality_control_modules::tof::CheckRawTime Class Reference
Inheritance diagram for o2::quality_control_modules::tof::CheckRawTime:
Collaboration diagram for o2::quality_control_modules::tof::CheckRawTime:

Public Member Functions

 CheckRawTime ()=default
 Default constructor.
 
 ~CheckRawTime () 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
 

Member Function Documentation

void o2::quality_control_modules::tof::CheckRawTime::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::CheckRawTime::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::CheckRawTime::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::CheckRawTime::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: