16 #ifndef QC_CHECKER_AGGREGATORINTERFACE_H 17 #define QC_CHECKER_AGGREGATORINTERFACE_H 19 #include <unordered_map> 22 #include "QualityControl/QualityObject.h" 47 virtual void configure(std::string name) = 0;
53 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;
60 mCustomParameters = parameters;
64 std::unordered_map<std::string, std::string> mCustomParameters;
AggregatorInterface()=default
Default constructor.
Skeleton of a quality aggregator user algorithm.
Definition: AggregatorInterface.h:31
virtual ~AggregatorInterface()=default
Destructor.
Definition: Aggregator.h:32
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...
Definition: AggregatorInterface.h:58
virtual void configure(std::string name)=0
Configure the aggregator based on its name.
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.