Belle II Software development
CDCTrigger2DConfig Class Reference

The payload class for delay of GDL input bit. More...

#include <CDCTrigger2DConfig.h>

Inheritance diagram for CDCTrigger2DConfig:

Public Member Functions

 CDCTrigger2DConfig ()
 Default constructor.
 
 CDCTrigger2DConfig (const CDCTrigger2DConfig &b)
 copy constructor
 
CDCTrigger2DConfigoperator= (const CDCTrigger2DConfig &b)
 assignment operator
 
int getnTS () const
 Get the number of TS.
 
void setnTS (int i)
 Set the number of TS.
 

Private Member Functions

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

Private Attributes

int m_nTS
 Number of TS.
 

Detailed Description

The payload class for delay of GDL input bit.

The payload class stores the number of input bit and their delay value of a missing delay is "-1"

Definition at line 27 of file CDCTrigger2DConfig.h.

Constructor & Destructor Documentation

◆ CDCTrigger2DConfig() [1/2]

CDCTrigger2DConfig ( )
inline

Default constructor.

Definition at line 31 of file CDCTrigger2DConfig.h.

31: m_nTS{0} {}

◆ CDCTrigger2DConfig() [2/2]

CDCTrigger2DConfig ( const CDCTrigger2DConfig b)
inline

copy constructor

Definition at line 33 of file CDCTrigger2DConfig.h.

33 : TObject(b)
34 {
35 m_nTS = b.m_nTS;
36 }

Member Function Documentation

◆ getnTS()

int getnTS ( ) const
inline

Get the number of TS.

Definition at line 45 of file CDCTrigger2DConfig.h.

46 {
47 return m_nTS;
48 }

◆ operator=()

CDCTrigger2DConfig & operator= ( const CDCTrigger2DConfig b)
inline

assignment operator

Definition at line 38 of file CDCTrigger2DConfig.h.

39 {
40 m_nTS = b.m_nTS;
41 return *this;
42 }

◆ setnTS()

void setnTS ( int  i)
inline

Set the number of TS.

Definition at line 50 of file CDCTrigger2DConfig.h.

51 {
52 m_nTS = i;
53 }

Member Data Documentation

◆ m_nTS

int m_nTS
private

Number of TS.

Definition at line 59 of file CDCTrigger2DConfig.h.


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