Belle II Software development
ARICHRawDigit::FEBDigit Struct Reference

Struct for front-end board. More...

#include <ARICHRawDigit.h>

Classes

struct  ChannelDigit
 Struct for ChannelDigit within FEBDigit struct. More...
 

Public Member Functions

const ChannelDigitoperator[] (unsigned char i) const
 Access given ChannelDigit (const version)
 
ChannelDigitoperator[] (unsigned char i)
 Access given ChannelDigit.
 
unsigned int size () const
 Get number of channels.
 
void push_back (unsigned char ich, unsigned char val)
 Add channel.
 
std::vector< ChannelDigit > & operator() ()
 Get vector of ChannelDigits.
 
const std::vector< ChannelDigit > & operator() () const
 Get vector of ChannelDigits (const version)
 

Public Attributes

unsigned char type
 type
 
unsigned char ver
 version
 
unsigned char boardid
 board ID
 
unsigned char febno
 FEB number which should be 8.
 
unsigned int length
 length
 
unsigned int trgno
 trigger number
 
unsigned int febtrgno
 front-end board trigger number
 
std::vector< ChannelDigitchannels
 vector of ChannelDigits
 

Detailed Description

Struct for front-end board.

Definition at line 33 of file ARICHRawDigit.h.

Member Function Documentation

◆ operator()() [1/2]

std::vector< ChannelDigit > & operator() ( )
inline

Get vector of ChannelDigits.

Definition at line 85 of file ARICHRawDigit.h.

85{ return channels; }
std::vector< ChannelDigit > channels
vector of ChannelDigits
Definition: ARICHRawDigit.h:50

◆ operator()() [2/2]

const std::vector< ChannelDigit > & operator() ( ) const
inline

Get vector of ChannelDigits (const version)

Definition at line 90 of file ARICHRawDigit.h.

90{ return channels; }

◆ operator[]() [1/2]

ChannelDigit & operator[] ( unsigned char  i)
inline

Access given ChannelDigit.

Definition at line 63 of file ARICHRawDigit.h.

64 {
65 return channels[i];
66 }

◆ operator[]() [2/2]

const ChannelDigit & operator[] ( unsigned char  i) const
inline

Access given ChannelDigit (const version)

Definition at line 55 of file ARICHRawDigit.h.

56 {
57 return channels[i];
58 }

◆ push_back()

void push_back ( unsigned char  ich,
unsigned char  val 
)
inline

Add channel.

Definition at line 76 of file ARICHRawDigit.h.

77 {
78 ChannelDigit channel = {ich, val};
79 channels.push_back(channel);
80 }

◆ size()

unsigned int size ( ) const
inline

Get number of channels.

Definition at line 71 of file ARICHRawDigit.h.

71{ return channels.size(); }

Member Data Documentation

◆ boardid

unsigned char boardid

board ID

Definition at line 36 of file ARICHRawDigit.h.

◆ channels

std::vector<ChannelDigit> channels
mutable

vector of ChannelDigits

Definition at line 50 of file ARICHRawDigit.h.

◆ febno

unsigned char febno

FEB number which should be 8.

Definition at line 37 of file ARICHRawDigit.h.

◆ febtrgno

unsigned int febtrgno

front-end board trigger number

Definition at line 40 of file ARICHRawDigit.h.

◆ length

unsigned int length

length

Definition at line 38 of file ARICHRawDigit.h.

◆ trgno

unsigned int trgno

trigger number

Definition at line 39 of file ARICHRawDigit.h.

◆ type

unsigned char type

type

Definition at line 34 of file ARICHRawDigit.h.

◆ ver

unsigned char ver

version

Definition at line 35 of file ARICHRawDigit.h.


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