QualityControl  1.5.1
O2 Data Quality Control Framework
Reductor.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_REDUCTOR_H
16 #define QUALITYCONTROL_REDUCTOR_H
17 
18 #include <TObject.h>
19 
21 {
22 
24 class Reductor
25 {
26  public:
28  Reductor() = default;
30  virtual ~Reductor() = default;
31 
34  virtual void* getBranchAddress() = 0;
37  virtual const char* getBranchLeafList() = 0;
40  virtual void update(TObject* obj) = 0;
41 };
42 
43 } // namespace o2::quality_control::postprocessing
44 
45 #endif //QUALITYCONTROL_REDUCTOR_H
virtual void * getBranchAddress()=0
Branch address getter.
virtual ~Reductor()=default
Destructor.
virtual const char * getBranchLeafList()=0
Branch leaf list getter.
virtual void update(TObject *obj)=0
Fill the data structure with new data.
Definition: PostProcessingConfig.h:23
An interface for storing data derived from QC objects into a TTree.
Definition: Reductor.h:24