QualityControl  1.5.1
O2 Data Quality Control Framework
CheckRawTime.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 
16 
17 #ifndef QC_MODULE_TOF_TOFCHECKRAWSTIME_H
18 #define QC_MODULE_TOF_TOFCHECKRAWSTIME_H
19 
22 #include "QualityControl/Quality.h"
23 
25 {
26 
28 {
29  public:
31  CheckRawTime() = default;
33  ~CheckRawTime() override = default;
34 
35  // Override interface
36  void configure(std::string name) override;
37  Quality check(std::map<std::string, std::shared_ptr<MonitorObject>>* moMap) override;
38  void beautify(std::shared_ptr<MonitorObject> mo, Quality checkResult) override;
39  std::string getAcceptedType() override;
40 
41  private:
43  float mMinRawTime;
45  float mMaxRawTime;
47  float mRawTimeMean = 0.f;
49  float mRawTimePeakIntegral = 0.f;
51  float mRawTimeIntegral = 0.f;
52 
53  ClassDefOverride(CheckRawTime, 1);
54 };
55 
56 } // namespace o2::quality_control_modules::tof
57 
58 #endif // QC_MODULE_TOF_TOFCHECKRAWSTIME_H
Definition: Counter.h:33
void beautify(std::shared_ptr< MonitorObject > mo, Quality checkResult) override
Modify the aspect of the plot.
Definition: CheckRawTime.cxx:92
Class representing the quality of a MonitorObject.
Definition: Quality.h:29
~CheckRawTime() override=default
Destructor.
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: CheckRawTime.cxx:90
CheckRawTime()=default
Default constructor.
void configure(std::string name) override
Configure the check based on its name.
Definition: CheckRawTime.cxx:31
Quality check(std::map< std::string, std::shared_ptr< MonitorObject >> *moMap) override
Returns the quality associated with these objects.
Definition: CheckRawTime.cxx:47