QualityControl
1.5.1
O2 Data Quality Control Framework
|
Check mos: appearence of dead regions in occupancy plots, mean and RMS etc. More...
#include <DigitCheck.h>
Public Member Functions | |
DigitCheck ()=default | |
Default constructor. | |
~DigitCheck () 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=Quality::Null) 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... | |
ClassDefOverride (DigitCheck, 1) | |
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 > ¶meters) |
Additional Inherited Members | |
Protected Attributes inherited from o2::quality_control::checker::CheckInterface | |
std::unordered_map< std::string, std::string > | mCustomParameters |
Check mos: appearence of dead regions in occupancy plots, mean and RMS etc.
|
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)
mo | The MonitorObject to beautify. |
checkResult | The 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.
|
overridevirtual |
Returns the quality associated with these objects.
moMap | A map of the the MonitorObjects to check and their full names. |
Implements o2::quality_control::checker::CheckInterface.
|
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.
|
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".
Reimplemented from o2::quality_control::checker::CheckInterface.