QualityControl
1.5.1
O2 Data Quality Control Framework
Main Page
Related Pages
Namespaces
Classes
Files
File List
QualityReductor.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_QUALITYREDUCTOR_H
16
#define QUALITYCONTROL_QUALITYREDUCTOR_H
17
18
#include "
QualityControl/Reductor.h
"
19
#include "
QualityControl/Quality.h
"
20
21
namespace
o2::quality_control_modules::common
22
{
23
24
// todo fix plots with qualities names - ugly axes with names
29
class
QualityReductor
:
public
quality_control::postprocessing::Reductor
30
{
31
public
:
32
QualityReductor
() =
default
;
33
~
QualityReductor
() =
default
;
34
35
void
*
getBranchAddress
()
override
;
36
const
char
*
getBranchLeafList
()
override
;
37
void
update
(
TObject
* obj)
override
;
38
39
static
constexpr
size_t
NAME_SIZE = 8;
40
41
private
:
42
struct
{
43
UInt_t level = quality_control::core::Quality::NullLevel;
44
char
name[NAME_SIZE];
45
} mQuality;
46
};
47
48
}
// namespace o2::quality_control_modules::common
49
50
#endif //QUALITYCONTROL_QUALITYREDUCTOR_H
o2::quality_control_modules::common::QualityReductor
A Reductor of QualityObjects, stores a name and level of a Quality.
Definition:
QualityReductor.h:29
o2::quality_control_modules::common::QualityReductor::update
void update(TObject *obj) override
Fill the data structure with new data.
Definition:
QualityReductor.cxx:35
o2::quality_control_modules::common
Definition:
EverIncreasingGraph.h:21
o2::quality_control_modules::common::QualityReductor::getBranchLeafList
const char * getBranchLeafList() override
Branch leaf list getter.
Definition:
QualityReductor.cxx:30
o2::quality_control_modules::common::QualityReductor::getBranchAddress
void * getBranchAddress() override
Branch address getter.
Definition:
QualityReductor.cxx:25
Quality.h
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
QualityReductor.h
Generated by
1.8.11