QualityControl  1.5.1
O2 Data Quality Control Framework
RawQcCheck.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_MID_MIDRAWQCCHECK_H
17 #define QC_MODULE_MID_MIDRAWQCCHECK_H
18 
20 
22 {
23 
25 
27 {
28  public:
30  RawQcCheck() = default;
32  ~RawQcCheck() override = default;
33 
34  // Override interface
35  void configure(std::string name) override;
36  Quality check(std::map<std::string, std::shared_ptr<MonitorObject>>* moMap) override;
37  void beautify(std::shared_ptr<MonitorObject> mo, Quality checkResult = Quality::Null) override;
38  std::string getAcceptedType() override;
39 
40  ClassDefOverride(RawQcCheck, 1);
41 };
42 
43 } // namespace o2::quality_control_modules::mid
44 
45 #endif // QC_MODULE_MID_MIDRAWQCCHECK_H
Definition: RawQcCheck.h:21
Class representing the quality of a MonitorObject.
Definition: Quality.h:29
~RawQcCheck() override=default
Destructor.
RawQcCheck()=default
Default constructor.
void configure(std::string name) override
Configure the check based on its name.
Definition: RawQcCheck.cxx:28
Quality check(std::map< std::string, std::shared_ptr< MonitorObject >> *moMap) override
Returns the quality associated with these objects.
Definition: RawQcCheck.cxx:30
Skeleton of a check.
Definition: CheckInterface.h:32
std::string getAcceptedType() override
Returns the name of the class that can be treated by this check.
Definition: RawQcCheck.cxx:76
void beautify(std::shared_ptr< MonitorObject > mo, Quality checkResult=Quality::Null) override
Modify the aspect of the plot.
Definition: RawQcCheck.cxx:78
Count number of digits per detector elements.
Definition: RawQcCheck.h:26