QualityControl  1.5.1
O2 Data Quality Control Framework
DigitOccupancyReductor.h
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 #ifndef QUALITYCONTROL_EMCAL_DIGITOCCUPANCYREDUCTOR_H
16 #define QUALITYCONTROL_EMCAL_DIGITOCCUPANCYREDUCTOR_H
17 
19 
20 namespace o2
21 {
22 namespace emcal
23 {
24 class Geometry;
25 }
26 } // namespace o2
27 
29 {
30 
36 {
37  public:
39  virtual ~DigitOccupancyReductor() = default;
40 
41  void* getBranchAddress() override;
42  const char* getBranchLeafList() override;
43  void update(TObject* obj) override;
44 
45  private:
46  o2::emcal::Geometry* mGeometry;
47  struct {
48  Double_t mCountTotal;
49  Double_t mCountSM[20];
50  } mStats;
51 };
52 
53 } // namespace o2::quality_control_modules::emcal
54 
55 #endif //QUALITYCONTROL_TH2REDUCTOR_
A Reductor which obtains the most popular characteristics of TH2.
Definition: DigitOccupancyReductor.h:35
Definition: DigitCheck.h:21
An interface for storing data derived from QC objects into a TTree.
Definition: Reductor.h:24