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