QualityControl  1.5.1
O2 Data Quality Control Framework
FakeCheck.h
Go to the documentation of this file.
1 
6 #ifndef QC_MODULE_EXAMPLE_FAKECHECK_H
7 #define QC_MODULE_EXAMPLE_FAKECHECK_H
8 
10 
12 {
13 
18 {
19  public:
21  FakeCheck() = default;
23  ~FakeCheck() override = default;
24 
25  void configure(std::string name) override;
26  Quality check(std::map<std::string, std::shared_ptr<MonitorObject>>* moMap) override;
27  void beautify(std::shared_ptr<MonitorObject> mo, Quality checkResult = Quality::Null) override;
28  std::string getAcceptedType() override;
29 
30  ClassDefOverride(FakeCheck, 1);
31 };
32 
33 } // namespace o2::quality_control_modules::example
34 
35 #endif // QC_MODULE_EXAMPLE_FAKECHECK_H
Quality check(std::map< std::string, std::shared_ptr< MonitorObject >> *moMap) override
Returns the quality associated with these objects.
void beautify(std::shared_ptr< MonitorObject > mo, Quality checkResult=Quality::Null) override
Modify the aspect of the plot.
void configure(std::string name) override
Configure the check based on its name.
Class representing the quality of a MonitorObject.
Definition: Quality.h:29
Check whether a plot is empty or not.
Definition: FakeCheck.h:17
Definition: BenchmarkTask.h:24
Skeleton of a check.
Definition: CheckInterface.h:32
FakeCheck()=default
Default constructor.
std::string getAcceptedType() override
Returns the name of the class that can be treated by this check.
~FakeCheck() override=default
Destructor.