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

Quality Control Task for benchmarking It publishes a number of TH1F (configurable, see example.ini in module QualityControl). The histos are reset and refilled (1000 random) at EOC. They have 1000 bins. The monitoring of data blocks is empty (sleep 100 ms). More...

#include <BenchmarkTask.h>

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

Public Member Functions

 BenchmarkTask ()
 Constructor.
 
 ~BenchmarkTask () override
 Destructor.
 
void initialize (o2::framework::InitContext &ctx) override
 
void startOfActivity (Activity &activity) override
 
void startOfCycle () override
 
void monitorData (o2::framework::ProcessingContext &ctx) override
 
void endOfCycle () override
 
void endOfActivity (Activity &activity) override
 
void reset () override
 
- Public Member Functions inherited from o2::quality_control::core::TaskInterface
 TaskInterface (ObjectsManager *objectsManager)
 Constructor Can't be used when dynamically loading the class with ROOT. More...
 
 TaskInterface ()=default
 Default constructor.
 
virtual ~TaskInterface () noexcept=default
 Destructor.
 
 TaskInterface (const TaskInterface &other)=default
 Copy constructor.
 
 TaskInterface (TaskInterface &&other) noexcept=default
 Move constructor.
 
TaskInterfaceoperator= (const TaskInterface &other)=default
 Copy assignment operator.
 
TaskInterfaceoperator= (TaskInterface &&other)=default
 Move assignment operator.
 
virtual void loadCcdb (std::string url) final
 
void setObjectsManager (std::shared_ptr< ObjectsManager > objectsManager)
 
void setName (const std::string &name)
 
void setCustomParameters (const std::unordered_map< std::string, std::string > &parameters)
 
const std::string & getName () const
 

Additional Inherited Members

- Protected Member Functions inherited from o2::quality_control::core::TaskInterface
std::shared_ptr< ObjectsManagergetObjectsManager ()
 
TObjectretrieveCondition (std::string path, std::map< std::string, std::string > metadata={}, long timestamp=-1)
 
template<typename T >
T * retrieveConditionAny (std::string const &path, std::map< std::string, std::string > const &metadata={}, long timestamp=-1) const
 
- Protected Attributes inherited from o2::quality_control::core::TaskInterface
std::unordered_map< std::string, std::string > mCustomParameters
 

Detailed Description

Quality Control Task for benchmarking It publishes a number of TH1F (configurable, see example.ini in module QualityControl). The histos are reset and refilled (1000 random) at EOC. They have 1000 bins. The monitoring of data blocks is empty (sleep 100 ms).

Author
Barthelemy von Haller

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