Belle II Software  release-08-01-10
MergedEventConsistency.h
1 /**************************************************************************
2  * basf2 (Belle II Analysis Software Framework) *
3  * Author: The Belle II Collaboration *
4  * *
5  * See git log for contributors and copyright holders. *
6  * This file is licensed under LGPL-3.0, see LICENSE.md. *
7  **************************************************************************/
8 
9 #pragma once
10 
11 #include <TObject.h>
12 
13 #include <string>
14 #include <map>
15 
16 namespace Belle2 {
26  class MergedEventConsistency : public TObject {
27  public:
28 
30  explicit MergedEventConsistency() {}
31 
34 
36  void setConsistent(bool isConsistent) { m_isConsistentMerge = isConsistent; }
37 
39  int getConsistent() const { return m_isConsistentMerge; }
40 
41  private:
42  bool m_isConsistentMerge = true;
45  }; //class
47 } // namespace Belle2
Mark if we want to merge the DataStore of a combination of events or not.
ClassDef(MergedEventConsistency, 1)
Bool to indicate if events should be merged.
void setConsistent(bool isConsistent)
Set if we want to merge these events.
bool m_isConsistentMerge
Bool to indicate if events should be merged.
int getConsistent() const
Get if we want to merge these events.
Abstract base class for different kinds of events.