QualityControl  1.5.1
O2 Data Quality Control Framework
BasicTrackQcTask.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_MFT_MFTBasicTrackQcTask_H
18 #define QC_MODULE_MFT_MFTBasicTrackQcTask_H
19 
20 // ROOT
21 #include <TCanvas.h>
22 #include <TH1.h>
23 #include <TH2.h>
24 // Quality Control
26 
27 using namespace o2::quality_control::core;
28 
30 {
31 
36 class BasicTrackQcTask /*final*/ : public TaskInterface // todo add back the "final" when doxygen is fixed
37 {
38  public:
40  BasicTrackQcTask() = default;
42  ~BasicTrackQcTask() override;
43 
44  // Definition of the methods for the template method pattern
45  void initialize(o2::framework::InitContext& ctx) override;
46  void startOfActivity(Activity& activity) override;
47  void startOfCycle() override;
48  void monitorData(o2::framework::ProcessingContext& ctx) override;
49  void endOfCycle() override;
50  void endOfActivity(Activity& activity) override;
51  void reset() override;
52 
53  private:
54  std::unique_ptr<TCanvas> mMFT_xy_C = nullptr;
55  std::unique_ptr<TH2F> mMFT_xy_H = nullptr;
56  std::unique_ptr<TH1F> mMFT_pos_phi_H = nullptr;
57  std::unique_ptr<TH1F> mMFT_neg_phi_H = nullptr;
58 };
59 
60 } // namespace o2::quality_control_modules::mft
61 
62 #endif // QC_MODULE_MFT_MFTBasicTrackQcTask_H
MFT Track QC task.
Definition: BasicTrackQcTask.h:36
Skeleton of a QC task.
Definition: TaskInterface.h:53
Definition: BasicClusterQcCheck.h:23
Dummy class that should be removed when there is the official one. This corresponds to a Run1/2 "run"...
Definition: Activity.h:25
These methods can be used to build a complex processing topology. It spawns 3 separate dummy processi...
Definition: Activity.h:19