BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
ZddBoard Class Reference

#include <ZddBoard.h>

Public Types

typedef std::vector< ZddChannel * > Channels
 

Public Member Functions

 ZddBoard (Event::ZddEvent *p_evt)
 
virtual ~ZddBoard ()
 
int getBoardId () const
 
int getCounter () const
 
int getTimeTag () const
 
const Channelschannels () const
 
void setBoardId (int boardId)
 
void setCounter (int counter)
 
void setTimeTag (int timeTag)
 
void addChannel (ZddChannel *ch)
 

Detailed Description

Definition at line 12 of file ZddBoard.h.

Member Typedef Documentation

◆ Channels

typedef std::vector<ZddChannel*> ZddBoard::Channels

Definition at line 16 of file ZddBoard.h.

Constructor & Destructor Documentation

◆ ZddBoard()

ZddBoard::ZddBoard ( Event::ZddEvent p_evt)

Definition at line 4 of file ZddBoard.cxx.

5 : m_evt(p_evt)
6{
7 m_evt->m_bds.push_back(this);
8}

◆ ~ZddBoard()

ZddBoard::~ZddBoard ( )
virtual

Definition at line 10 of file ZddBoard.cxx.

11{
12}

Member Function Documentation

◆ addChannel()

void ZddBoard::addChannel ( ZddChannel ch)

Definition at line 14 of file ZddBoard.cxx.

15{
16 m_chs.push_back(ch);
17 m_evt->m_chs.push_back(ch);
18}

◆ channels()

const Channels & ZddBoard::channels ( ) const
inline

Definition at line 26 of file ZddBoard.h.

26{ return m_chs; }

◆ getBoardId()

int ZddBoard::getBoardId ( ) const
inline

Definition at line 22 of file ZddBoard.h.

22{ return m_boradId; }

◆ getCounter()

int ZddBoard::getCounter ( ) const
inline

Definition at line 23 of file ZddBoard.h.

23{ return m_counter; }

◆ getTimeTag()

int ZddBoard::getTimeTag ( ) const
inline

Definition at line 24 of file ZddBoard.h.

24{ return m_timeTag; }

◆ setBoardId()

void ZddBoard::setBoardId ( int  boardId)
inline

Definition at line 29 of file ZddBoard.h.

29{ m_boradId = boardId; }

◆ setCounter()

void ZddBoard::setCounter ( int  counter)
inline

Definition at line 30 of file ZddBoard.h.

30{ m_counter = counter; }

◆ setTimeTag()

void ZddBoard::setTimeTag ( int  timeTag)
inline

Definition at line 31 of file ZddBoard.h.

31{ m_timeTag = timeTag; }

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