QualityControl
1.5.1
O2 Data Quality Control Framework
|
Skeleton of a QC task. More...
#include <TaskInterface.h>
Public Member Functions | |
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. | |
TaskInterface & | operator= (const TaskInterface &other)=default |
Copy assignment operator. | |
TaskInterface & | operator= (TaskInterface &&other)=default |
Move assignment operator. | |
virtual void | loadCcdb (std::string url) final |
virtual void | initialize (o2::framework::InitContext &ctx)=0 |
virtual void | startOfActivity (Activity &activity)=0 |
virtual void | startOfCycle ()=0 |
virtual void | monitorData (o2::framework::ProcessingContext &ctx)=0 |
virtual void | endOfCycle ()=0 |
virtual void | endOfActivity (Activity &activity)=0 |
virtual void | reset ()=0 |
void | setObjectsManager (std::shared_ptr< ObjectsManager > objectsManager) |
void | setName (const std::string &name) |
void | setCustomParameters (const std::unordered_map< std::string, std::string > ¶meters) |
const std::string & | getName () const |
Protected Member Functions | |
std::shared_ptr< ObjectsManager > | getObjectsManager () |
TObject * | retrieveCondition (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 | |
std::unordered_map< std::string, std::string > | mCustomParameters |
Skeleton of a QC task.
Purely abstract class defining the skeleton and the common interface of a QC task. It is therefore the parent class of any QC task. It is responsible for the instantiation, modification and destruction of the TObjects that are published.
It is a part of the template method design pattern.
|
explicit |
Constructor Can't be used when dynamically loading the class with ROOT.
objectsManager |