QualityControl  1.5.1
O2 Data Quality Control Framework
HmpidTask.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_HMPID_HMPIDHMPIDTASK_H
17 #define QC_MODULE_HMPID_HMPIDHMPIDTASK_H
18 
20 
21 class TH1F;
22 
23 using namespace o2::quality_control::core;
24 
26 {
27 
30 class HmpidTask final : public TaskInterface
31 {
32  public:
34  HmpidTask() = default;
36  ~HmpidTask() override;
37 
38  // Definition of the methods for the template method pattern
39  void initialize(o2::framework::InitContext& ctx) override;
40  void startOfActivity(Activity& activity) override;
41  void startOfCycle() override;
42  void monitorData(o2::framework::ProcessingContext& ctx) override;
43  void endOfCycle() override;
44  void endOfActivity(Activity& activity) override;
45  void reset() override;
46 
47  private:
48  TH1F* hPedestalMean = nullptr;
49  TH1F* hPedestalSigma = nullptr;
50  TH1F* hBusyTime = nullptr;
51  TH1F* hEventSize = nullptr;
52 };
53 
54 } // namespace o2::quality_control_modules::hmpid
55 
56 #endif // QC_MODULE_HMPID_HMPIDHMPIDTASK_H
Skeleton of a QC task.
Definition: TaskInterface.h:53
Definition: HmpidDecoder.h:44
Dummy class that should be removed when there is the official one. This corresponds to a Run1/2 "run"...
Definition: Activity.h:25
Example Quality Control DPL Task.
Definition: HmpidTask.h:30
These methods can be used to build a complex processing topology. It spawns 3 separate dummy processi...
Definition: Activity.h:19