QualityControl  1.5.1
O2 Data Quality Control Framework
Clusters.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_TPC_CLUSTERS_H
18 #define QC_MODULE_TPC_CLUSTERS_H
19 
20 // O2 includes
21 #include "TPCQC/Clusters.h"
22 #include "TPCQC/CalPadWrapper.h"
23 
24 // QC includes
26 
27 #include "TH2F.h"
28 
29 using namespace o2::quality_control::core;
30 
32 {
33 
38 class Clusters /*final*/ : public TaskInterface // todo add back the "final" when doxygen is fixed
39 {
40  public:
42  Clusters();
44  ~Clusters() override;
45 
46  // Definition of the methods for the template method pattern
47  void initialize(o2::framework::InitContext& ctx) override;
48  void startOfActivity(Activity& activity) override;
49  void startOfCycle() override;
50  void monitorData(o2::framework::ProcessingContext& ctx) override;
51  void endOfCycle() override;
52  void endOfActivity(Activity& activity) override;
53  void reset() override;
54 
55  private:
56  o2::tpc::qc::Clusters mQCClusters{};
57  std::vector<std::unique_ptr<TH2F>> mHistoVector{};
58  std::vector<o2::tpc::qc::CalPadWrapper> mWrapperVector{};
59 };
60 
61 } // namespace o2::quality_control_modules::tpc
62 
63 #endif // QC_MODULE_TPC_CLUSTERS_H
Definition: Clusters.h:31
Skeleton of a QC task.
Definition: TaskInterface.h:53
Example Quality Control DPL Task It is final because there is no reason to derive from it...
Definition: Clusters.h:38
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