QualityControl  1.5.1
O2 Data Quality Control Framework
MeanIsAbove.h
Go to the documentation of this file.
1 // Copyright CERN and copyright holders of ALICE O2. This software is
2 // distributed under the terms of the GNU General Public License v3 (GPL
3 // Version 3), copied verbatim in the file "COPYING".
4 //
5 // See http://alice-o2.web.cern.ch/license for full licensing information.
6 //
7 // In applying this license CERN does not waive the privileges and immunities
8 // granted to it by virtue of its status as an Intergovernmental Organization
9 // or submit itself to any jurisdiction.
10 
15 
16 #ifndef QC_MODULE_COMMON_MEANISABOVE_H
17 #define QC_MODULE_COMMON_MEANISABOVE_H
18 
20 
21 using namespace o2::quality_control::core;
22 
24 {
25 
30 {
31  public:
33  MeanIsAbove() = default;
35  ~MeanIsAbove() override = default;
36 
37  void configure(std::string name) override;
38  Quality check(std::map<std::string, std::shared_ptr<MonitorObject>>* moMap) override;
39  void beautify(std::shared_ptr<MonitorObject> mo, Quality checkResult) override;
40  std::string getAcceptedType() override;
41 
42  private:
43  float mThreshold = 0.0f;
44 
45  ClassDefOverride(MeanIsAbove, 1)
46 };
47 
48 } // namespace o2::quality_control_modules::common
49 
50 #endif /* QC_MODULE_COMMON_MEANISABOVE_H */
Check whether the mean of the plot is above a certain limit.
Definition: MeanIsAbove.h:29
Class representing the quality of a MonitorObject.
Definition: Quality.h:29
Definition: EverIncreasingGraph.h:21
Skeleton of a check.
Definition: CheckInterface.h:32
These methods can be used to build a complex processing topology. It spawns 3 separate dummy processi...
Definition: Activity.h:19