QualityControl  1.5.1
O2 Data Quality Control Framework
TaskDigits.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_TOFTASK_H
18 #define QC_MODULE_TOF_TOFTASK_H
19 
21 
22 class TH1F;
23 class TH2F;
24 class TH1I;
25 class TH2I;
26 
27 using namespace o2::quality_control::core;
28 
30 {
31 
34 class TaskDigits final : public TaskInterface
35 {
36  public:
38  TaskDigits();
40  ~TaskDigits() override;
41 
42  // Definition of the methods for the template method pattern
43  void initialize(o2::framework::InitContext& ctx) override;
44  void startOfActivity(Activity& activity) override;
45  void startOfCycle() override;
46  void monitorData(o2::framework::ProcessingContext& ctx) override;
47  void endOfCycle() override;
48  void endOfActivity(Activity& activity) override;
49  void reset() override;
50 
51  static Int_t fgNbinsMultiplicity;
52  static Int_t fgRangeMinMultiplicity;
53  static Int_t fgRangeMaxMultiplicity;
54  static Int_t fgNbinsTime;
55  static const Float_t fgkNbinsWidthTime;
56  static Float_t fgRangeMinTime;
57  static Float_t fgRangeMaxTime;
58  static Int_t fgCutNmaxFiredMacropad;
59  static const Int_t fgkFiredMacropadLimit;
60 
61  private:
62  std::shared_ptr<TH1I> mTOFRawsMulti;
63  std::shared_ptr<TH1I> mTOFRawsMultiIA;
64  std::shared_ptr<TH1I> mTOFRawsMultiOA;
65  std::shared_ptr<TH1I> mTOFRawsMultiIC;
66  std::shared_ptr<TH1I> mTOFRawsMultiOC;
67 
68  std::shared_ptr<TH1F> mTOFRawsTime;
69  std::shared_ptr<TH1F> mTOFRawsTimeIA;
70  std::shared_ptr<TH1F> mTOFRawsTimeOA;
71  std::shared_ptr<TH1F> mTOFRawsTimeIC;
72  std::shared_ptr<TH1F> mTOFRawsTimeOC;
73 
74  std::shared_ptr<TH1F> mTOFRawsToT;
75  std::shared_ptr<TH1F> mTOFRawsToTIA;
76  std::shared_ptr<TH1F> mTOFRawsToTOA;
77  std::shared_ptr<TH1F> mTOFRawsToTIC;
78  std::shared_ptr<TH1F> mTOFRawsToTOC;
79 
80  std::shared_ptr<TH1F> mTOFRawsLTMHits;
81  std::shared_ptr<TH2F> mTOFrefMap;
82  std::shared_ptr<TH2F> mTOFRawHitMap;
83 
84  std::shared_ptr<TH2I> mTOFDecodingErrors;
85 
86  std::shared_ptr<TH1F> mTOFOrphansTime;
87  std::shared_ptr<TH2F> mTOFRawTimeVsTRM035;
88  std::shared_ptr<TH2F> mTOFRawTimeVsTRM3671;
89  std::shared_ptr<TH2F> mTOFTimeVsStrip;
90  std::shared_ptr<TH2F> mTOFtimeVsBCID;
91  std::shared_ptr<TH2F> mTOFchannelEfficiencyMap;
92  std::shared_ptr<TH2F> mTOFhitsCTTM;
93  std::shared_ptr<TH2F> mTOFmacropadCTTM;
94  std::shared_ptr<TH2F> mTOFmacropadDeltaPhiTime;
95  std::shared_ptr<TH2I> mBXVsCttmBit;
96  std::shared_ptr<TH2F> mTimeVsCttmBit;
97  std::shared_ptr<TH2F> mTOFRawHitMap24;
98  std::shared_ptr<TH2I> mHitMultiVsDDL;
99  std::shared_ptr<TH1I> mNfiredMacropad;
100 };
101 
102 } // namespace o2::quality_control_modules::tof
103 
104 #endif // QC_MODULE_TOF_TOFTASK_H
static Int_t fgCutNmaxFiredMacropad
Range max in time plot.
Definition: TaskDigits.h:58
Definition: Counter.h:33
static const Int_t fgkFiredMacropadLimit
Cut on max number of fired macropad.
Definition: TaskDigits.h:59
static const Float_t fgkNbinsWidthTime
Number of bins in time plot.
Definition: TaskDigits.h:55
Skeleton of a QC task.
Definition: TaskInterface.h:53
static Int_t fgRangeMaxMultiplicity
Min range in multiplicity plot.
Definition: TaskDigits.h:53
static Int_t fgRangeMinMultiplicity
Number of bins in multiplicity plot.
Definition: TaskDigits.h:52
static Float_t fgRangeMaxTime
Range min in time plot.
Definition: TaskDigits.h:57
static Float_t fgRangeMinTime
Width of bins in time plot.
Definition: TaskDigits.h:56
Dummy class that should be removed when there is the official one. This corresponds to a Run1/2 "run"...
Definition: Activity.h:25
TOF Quality Control DPL Task.
Definition: TaskDigits.h:34
These methods can be used to build a complex processing topology. It spawns 3 separate dummy processi...
Definition: Activity.h:19
static Int_t fgNbinsTime
Max range in multiplicity plot.
Definition: TaskDigits.h:54