QualityControl  1.5.1
O2 Data Quality Control Framework
o2::quality_control_modules::example::ExampleCondition Class Reference

Example of custom Data Sampling Condition. More...

#include <ExampleCondition.h>

Inheritance diagram for o2::quality_control_modules::example::ExampleCondition:
Collaboration diagram for o2::quality_control_modules::example::ExampleCondition:

Public Member Functions

 ExampleCondition ()=default
 ~ExampleCondition () override=default
 Default destructor.
void configure (const boost::property_tree::ptree &config) override
 Reads 'threshold'.
bool decide (const o2::framework::DataRef &dataRef) override
 Makes a positive decision if first byte is higher than 'threshold'.

Detailed Description

Example of custom Data Sampling Condition.

Piotr Konopka A DataSamplingCondition which approves messages which have their first byte in the payload higher than specified value.

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