QualityControl
1.5.1
O2 Data Quality Control Framework
Main Page
Related Pages
Namespaces
Classes
Files
File List
TH2Reductor.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
15
#ifndef QUALITYCONTROL_TH2REDUCTOR_H
16
#define QUALITYCONTROL_TH2REDUCTOR_H
17
18
#include "
QualityControl/Reductor.h
"
19
20
namespace
o2::quality_control_modules::common
21
{
22
27
class
TH2Reductor
:
public
quality_control::postprocessing::Reductor
28
{
29
public
:
30
TH2Reductor
() =
default
;
31
~
TH2Reductor
() =
default
;
32
33
void
*
getBranchAddress
()
override
;
34
const
char
*
getBranchLeafList
()
override
;
35
void
update
(
TObject
* obj)
override
;
36
37
private
:
38
struct
{
39
union
{
40
struct
{
41
Double_t sumw;
42
Double_t sumw2;
43
Double_t sumwx;
44
Double_t sumwx2;
45
Double_t sumwy;
46
Double_t sumwy2;
47
Double_t sumwxy;
48
} named;
49
Double_t array[7];
50
} sums;
51
Double_t entries;
// is sumw == entries always? maybe not for values which land into the edge bins?
52
} mStats;
53
};
54
55
}
// namespace o2::quality_control_modules::common
56
57
#endif //QUALITYCONTROL_TH2REDUCTOR_H
o2::quality_control_modules::common::TH2Reductor::update
void update(TObject *obj) override
Fill the data structure with new data.
Definition:
TH2Reductor.cxx:32
o2::quality_control_modules::common::TH2Reductor::getBranchLeafList
const char * getBranchLeafList() override
Branch leaf list getter.
Definition:
TH2Reductor.cxx:27
o2::quality_control_modules::common
Definition:
EverIncreasingGraph.h:21
o2::quality_control_modules::common::TH2Reductor
A Reductor which obtains the most popular characteristics of TH2.
Definition:
TH2Reductor.h:27
o2::quality_control_modules::common::TH2Reductor::getBranchAddress
void * getBranchAddress() override
Branch address getter.
Definition:
TH2Reductor.cxx:22
Reductor.h
TObject
o2::quality_control::postprocessing::Reductor
An interface for storing data derived from QC objects into a TTree.
Definition:
Reductor.h:24
Modules
Common
include
Common
TH2Reductor.h
Generated by
1.8.11