Belle II Software development
TRGGDLDBBadrun.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#pragma once
9
10#include <TObject.h>
11
12namespace Belle2 {
25 class TRGGDLDBBadrun: public TObject {
26 public:
27
31 TRGGDLDBBadrun(const TRGGDLDBBadrun& b): TObject(b)
32 {
33 m_flag = b.m_flag;
34 }
37 {
38 m_flag = b.m_flag;
39 return *this;
40 }
42 void setflag(int i)
43 {
44 m_flag = i;
45 }
47 int getflag() const
48 {
49 return m_flag;
50 }
51
52 private:
53
55 int m_flag;
56
58 };
59
61} // end of namespace Belle2
The payload class for GDL badrun.
TRGGDLDBBadrun(const TRGGDLDBBadrun &b)
copy constructor
int getflag() const
get trigger GDL readout status 0:fine 1:problematic -1:not known
TRGGDLDBBadrun & operator=(const TRGGDLDBBadrun &b)
assignment operator
void setflag(int i)
set trigger GDL readout status 0:fine 1:problematic -1:not known
int m_flag
status flag
TRGGDLDBBadrun()
Default constructor.
ClassDef(TRGGDLDBBadrun, 1)
ClassDef, must be the last term before the closing {}.
Abstract base class for different kinds of events.