QualityControl  1.5.1
O2 Data Quality Control Framework
ROCReductor.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 
11 //
12 // file ROCReductor.h
13 // author Cindy Mordasini
14 // author Marcel Lesch
15 //
16 #ifndef QC_MODULE_TPC_ROCREDUCTOR_H
17 #define QC_MODULE_TPC_ROCREDUCTOR_H
18 
20 #include "TPCBase/CalDet.h"
21 //#include "CCDB/TObjectWrapper.h"
22 
24 {
25 
31 {
32  public:
33  ROCReductor() = default;
34  ~ROCReductor() = default;
35 
36  void* getBranchAddress() override;
37  const char* getBranchLeafList() override;
38  void update(TObject* obj) override;
39 
40  private:
41  struct {
42  Float_t mean[72];
43  Float_t stddev[72];
44  Float_t median[72];
45  } mCalPad;
46 
47 }; // class ROCReductor : public quality_control::postprocessing::Reductor
48 
49 } // namespace o2::quality_control_modules::tpc
50 
51 #endif //QC_MODULE_TPC_ROCREDUCTOR_H
void update(TObject *obj) override
Fill the data structure with new data.
Definition: ROCReductor.cxx:39
const char * getBranchLeafList() override
Branch leaf list getter.
Definition: ROCReductor.cxx:34
A Reductor of ROC, stores mean, standard deviation and median for each ROC.
Definition: ROCReductor.h:30
Definition: Clusters.h:31
void * getBranchAddress() override
Branch address getter.
Definition: ROCReductor.cxx:29
An interface for storing data derived from QC objects into a TTree.
Definition: Reductor.h:24