BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
ZddChannel Class Reference

#include <ZddChannel.h>

Public Types

typedef std::vector< ZddFragmentFragments
 

Public Member Functions

 ZddChannel ()
 
virtual ~ZddChannel ()
 
int getChId () const
 
int getScanCode () const
 
const Fragmentsfragments () const
 
void setChId (int chId)
 
void setScanCode (int scanCode)
 
void addFragments (const ZddFragment &frag)
 

Detailed Description

Definition at line 17 of file ZddChannel.h.

Member Typedef Documentation

◆ Fragments

typedef std::vector<ZddFragment> ZddChannel::Fragments

Definition at line 21 of file ZddChannel.h.

Constructor & Destructor Documentation

◆ ZddChannel()

ZddChannel::ZddChannel ( )

Definition at line 3 of file ZddChannel.cxx.

4 : m_chId(-1),m_scanCode(0)
5{
6}

◆ ~ZddChannel()

ZddChannel::~ZddChannel ( )
virtual

Definition at line 8 of file ZddChannel.cxx.

9{
10 Fragments::iterator end = m_frags.end();
11 for ( Fragments::iterator it = m_frags.begin(); it != end; ++it ) {
12 delete [] it->sample;
13 }
14}

Member Function Documentation

◆ addFragments()

void ZddChannel::addFragments ( const ZddFragment frag)
inline

Definition at line 36 of file ZddChannel.h.

36{ m_frags.push_back(frag); }

◆ fragments()

const Fragments & ZddChannel::fragments ( ) const
inline

Definition at line 30 of file ZddChannel.h.

30{ return m_frags; }

Referenced by ZddReconAlg::execute().

◆ getChId()

int ZddChannel::getChId ( ) const
inline

Definition at line 26 of file ZddChannel.h.

26{ return m_chId; }

Referenced by ZddReconAlg::execute().

◆ getScanCode()

int ZddChannel::getScanCode ( ) const
inline

Definition at line 28 of file ZddChannel.h.

28{ return m_scanCode; }

Referenced by ZddReconAlg::execute().

◆ setChId()

void ZddChannel::setChId ( int  chId)
inline

Definition at line 32 of file ZddChannel.h.

32{ m_chId = chId; }

◆ setScanCode()

void ZddChannel::setScanCode ( int  scanCode)
inline

Definition at line 34 of file ZddChannel.h.

34{ m_scanCode = scanCode; }

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