ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
TileBchWords Class Reference

#include <TileBchWords.h>

Collaboration diagram for TileBchWords:

Public Member Functions

 TileBchWords ()
 
 ~TileBchWords ()
 
uint32_t getChnWord () const
 
uint32_t getAdcWord () const
 
const uint32_t & operator[] (unsigned int idx) const
 
uint32_t & operator[] (unsigned int idx)
 

Private Attributes

std::vector< uint32_t > m_words
 

Detailed Description

Definition at line 12 of file TileBchWords.h.

Constructor & Destructor Documentation

◆ TileBchWords()

TileBchWords::TileBchWords ( )
inline

Definition at line 14 of file TileBchWords.h.

14 : m_words(std::vector<uint32_t>(2,0)) {}

◆ ~TileBchWords()

TileBchWords::~TileBchWords ( )
inline

Definition at line 15 of file TileBchWords.h.

15 {}

Member Function Documentation

◆ getAdcWord()

uint32_t TileBchWords::getAdcWord ( ) const
inline

Definition at line 17 of file TileBchWords.h.

17 {return m_words[1];}

◆ getChnWord()

uint32_t TileBchWords::getChnWord ( ) const
inline

Definition at line 16 of file TileBchWords.h.

16 {return m_words[0];}

◆ operator[]() [1/2]

uint32_t & TileBchWords::operator[] ( unsigned int  idx)
inline

Definition at line 27 of file TileBchWords.h.

28 {
29  if(idx>1) throw TileCalib::IndexOutOfRange("TileBchWords::operator[]", idx, 1);
30  return m_words[idx];
31 }

◆ operator[]() [2/2]

const uint32_t & TileBchWords::operator[] ( unsigned int  idx) const
inline

Definition at line 36 of file TileBchWords.h.

37 {
38  if(idx>1) throw TileCalib::IndexOutOfRange("TileBchWords::operator[]", idx, 1);
39  return m_words[idx];
40 }

Member Data Documentation

◆ m_words

std::vector<uint32_t> TileBchWords::m_words
private

Definition at line 21 of file TileBchWords.h.


The documentation for this class was generated from the following file:
TileCalib::IndexOutOfRange
Thrown if an index is out of range.
Definition: TileCalorimeter/TileCalib/TileCalibBlobObjs/TileCalibBlobObjs/Exception.h:141
TileBchWords::m_words
std::vector< uint32_t > m_words
Definition: TileBchWords.h:21
LArNewCalib_DelayDump_OFC_Cali.idx
idx
Definition: LArNewCalib_DelayDump_OFC_Cali.py:69