Belle II Software  release-05-01-25
TRGGDLDBBadrun.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2010 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Benjamin Schwenker *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #pragma once
11 
12 #include <TObject.h>
13 
14 namespace Belle2 {
27  class TRGGDLDBBadrun: public TObject {
28  public:
29 
31  TRGGDLDBBadrun(): m_flag{0} {}
33  TRGGDLDBBadrun(const TRGGDLDBBadrun& b): TObject(b)
34  {
35  m_flag = b.m_flag;
36  }
39  {
40  m_flag = b.m_flag;
41  return *this;
42  }
44  void setflag(int i)
45  {
46  m_flag = i;
47  }
49  int getflag() const
50  {
51  return m_flag;
52  }
53 
54  private:
55 
57  int m_flag;
58 
60  };
61 
63 } // end of namespace Belle2
Belle2::TRGGDLDBBadrun::operator=
TRGGDLDBBadrun & operator=(const TRGGDLDBBadrun &b)
assignment operator
Definition: TRGGDLDBBadrun.h:46
Belle2::TRGGDLDBBadrun::setflag
void setflag(int i)
set trigger GDL readout status 0:fine 1:problematic -1:not known
Definition: TRGGDLDBBadrun.h:52
Belle2::TRGGDLDBBadrun::ClassDef
ClassDef(TRGGDLDBBadrun, 1)
ClassDef, must be the last term before the closing {}.
Belle2::TRGGDLDBBadrun::m_flag
int m_flag
status flag
Definition: TRGGDLDBBadrun.h:65
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TRGGDLDBBadrun::getflag
int getflag() const
get trigger GDL readout status 0:fine 1:problematic -1:not known
Definition: TRGGDLDBBadrun.h:57
Belle2::TRGGDLDBBadrun
The payload class for GDL badrun.
Definition: TRGGDLDBBadrun.h:35
Belle2::TRGGDLDBBadrun::TRGGDLDBBadrun
TRGGDLDBBadrun()
Default constructor.
Definition: TRGGDLDBBadrun.h:39