QualityControl  1.5.1
O2 Data Quality Control Framework
o2::quality_control_modules::common::TH2Reductor Class Reference

A Reductor which obtains the most popular characteristics of TH2. More...

#include <TH2Reductor.h>

Inheritance diagram for o2::quality_control_modules::common::TH2Reductor:
Collaboration diagram for o2::quality_control_modules::common::TH2Reductor:

Public Member Functions

void * getBranchAddress () override
 Branch address getter. More...
 
const char * getBranchLeafList () override
 Branch leaf list getter. More...
 
void update (TObject *obj) override
 Fill the data structure with new data. More...
 
- Public Member Functions inherited from o2::quality_control::postprocessing::Reductor
 Reductor ()=default
 Constructor.
 
virtual ~Reductor ()=default
 Destructor.
 

Detailed Description

A Reductor which obtains the most popular characteristics of TH2.

A Reductor which obtains the most popular characteristics of TH2. It produces a branch in the format: "sumw/D:sumw2:sumwx:sumwx2:sumwy:sumwy2:sumwxy:entries"

Member Function Documentation

void * o2::quality_control_modules::common::TH2Reductor::getBranchAddress ( )
overridevirtual

Branch address getter.

Returns
A pointer to a structure/variable which will be used to fill a TTree. It must not change later!

Implements o2::quality_control::postprocessing::Reductor.

const char * o2::quality_control_modules::common::TH2Reductor::getBranchLeafList ( )
overridevirtual

Branch leaf list getter.

Returns
A C string with a description of a branch format, formatted accordingly to the TTree interface

Implements o2::quality_control::postprocessing::Reductor.

void o2::quality_control_modules::common::TH2Reductor::update ( TObject obj)
overridevirtual

Fill the data structure with new data.

Parameters
Anobject to be reduced

Implements o2::quality_control::postprocessing::Reductor.


The documentation for this class was generated from the following files: