Belle II Software development
TRGGDLDBBadrun Class Reference

The payload class for GDL badrun. More...

#include <TRGGDLDBBadrun.h>

Inheritance diagram for TRGGDLDBBadrun:

Public Member Functions

 TRGGDLDBBadrun ()
 Default constructor.
 
 TRGGDLDBBadrun (const TRGGDLDBBadrun &b)
 copy constructor
 
TRGGDLDBBadrunoperator= (const TRGGDLDBBadrun &b)
 assignment operator
 
void setflag (int i)
 set trigger GDL readout status 0:fine 1:problematic -1:not known
 
int getflag () const
 get trigger GDL readout status 0:fine 1:problematic -1:not known
 

Private Member Functions

 ClassDef (TRGGDLDBBadrun, 1)
 ClassDef, must be the last term before the closing {}.
 

Private Attributes

int m_flag
 status flag
 

Detailed Description

The payload class for GDL badrun.

The payload class stores the flag of gdl status. 1 is fine and -1 is bad. value of a not confirmed status is "0"

Definition at line 25 of file TRGGDLDBBadrun.h.

Constructor & Destructor Documentation

◆ TRGGDLDBBadrun() [1/2]

TRGGDLDBBadrun ( )
inline

Default constructor.

Definition at line 29 of file TRGGDLDBBadrun.h.

29: m_flag{0} {}
int m_flag
status flag

◆ TRGGDLDBBadrun() [2/2]

TRGGDLDBBadrun ( const TRGGDLDBBadrun b)
inline

copy constructor

Definition at line 31 of file TRGGDLDBBadrun.h.

31 : TObject(b)
32 {
33 m_flag = b.m_flag;
34 }

Member Function Documentation

◆ getflag()

int getflag ( ) const
inline

get trigger GDL readout status 0:fine 1:problematic -1:not known

Definition at line 47 of file TRGGDLDBBadrun.h.

48 {
49 return m_flag;
50 }

◆ operator=()

TRGGDLDBBadrun & operator= ( const TRGGDLDBBadrun b)
inline

assignment operator

Definition at line 36 of file TRGGDLDBBadrun.h.

37 {
38 m_flag = b.m_flag;
39 return *this;
40 }

◆ setflag()

void setflag ( int  i)
inline

set trigger GDL readout status 0:fine 1:problematic -1:not known

Definition at line 42 of file TRGGDLDBBadrun.h.

43 {
44 m_flag = i;
45 }

Member Data Documentation

◆ m_flag

int m_flag
private

status flag

Definition at line 55 of file TRGGDLDBBadrun.h.


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