QualityControl  1.5.1
O2 Data Quality Control Framework
o2::quality_control::test::SimpleTestAggregator Class Reference
Inheritance diagram for o2::quality_control::test::SimpleTestAggregator:
Collaboration diagram for o2::quality_control::test::SimpleTestAggregator:

Public Member Functions

 SimpleTestAggregator ()=default
 Default constructor.
 
 ~SimpleTestAggregator () override=default
 Destructor.
 
void configure (std::string name) override
 Configure the aggregator based on its name. More...
 
std::map< std::string, Qualityaggregate (std::map< std::string, std::shared_ptr< const o2::quality_control::core::QualityObject >> &qoMap) override
 Returns new qualities (usually fewer) based on the input qualities. More...
 
- Public Member Functions inherited from o2::quality_control::checker::AggregatorInterface
 AggregatorInterface ()=default
 Default constructor.
 
virtual ~AggregatorInterface ()=default
 Destructor.
 
void setCustomParameters (const std::unordered_map< std::string, std::string > &parameters)
 Set the custom parameters for this aggregator. Set the custom parameters for this aggregator. It is usually the ones defined in the configuration. More...
 

Public Attributes

string mValidString
 

Additional Inherited Members

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

Member Function Documentation

std::map<std::string, Quality> o2::quality_control::test::SimpleTestAggregator::aggregate ( std::map< std::string, std::shared_ptr< const o2::quality_control::core::QualityObject >> &  qoMap)
inlineoverridevirtual

Returns new qualities (usually fewer) based on the input qualities.

Parameters
qoMapA map of the the QualityObjects to aggregate and their full names.
Returns
The new qualities, associated with a name.

Implements o2::quality_control::checker::AggregatorInterface.

void o2::quality_control::test::SimpleTestAggregator::configure ( std::string  name)
inlineoverridevirtual

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.

Parameters
nameThe name of the aggregator.

Implements o2::quality_control::checker::AggregatorInterface.


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