|
QualityControl
1.5.1
O2 Data Quality Control Framework
|
Skeleton of a quality aggregator user algorithm. More...
#include <AggregatorInterface.h>
Public Member Functions | |
| AggregatorInterface ()=default | |
| Default constructor. | |
| virtual | ~AggregatorInterface ()=default |
| Destructor. | |
| virtual void | configure (std::string name)=0 |
| Configure the aggregator based on its name. More... | |
| virtual std::map< std::string, o2::quality_control::core::Quality > | aggregate (std::map< std::string, std::shared_ptr< const o2::quality_control::core::QualityObject >> &qoMap)=0 |
| Returns new qualities (usually fewer) based on the input qualities. More... | |
| void | setCustomParameters (const std::unordered_map< std::string, std::string > ¶meters) |
| Set the custom parameters for this aggregator. Set the custom parameters for this aggregator. It is usually the ones defined in the configuration. More... | |
Protected Attributes | |
| std::unordered_map< std::string, std::string > | mCustomParameters |
Skeleton of a quality aggregator user algorithm.
|
pure virtual |
Returns new qualities (usually fewer) based on the input qualities.
| qoMap | A map of the the QualityObjects to aggregate and their full names. |
Implemented in o2::quality_control::test::SimpleTestAggregator.
|
pure virtual |
Configure the aggregator 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.
| name | The name of the aggregator. |
Implemented in o2::quality_control::test::SimpleTestAggregator, and o2::quality_control_modules::skeleton::SkeletonAggregator.
|
inline |
Set the custom parameters for this aggregator. Set the custom parameters for this aggregator. It is usually the ones defined in the configuration.
| parameters |