Belle II Software development
TOPChannelMap Class Reference

Map of pixels and channels within the carrier board. More...

#include <TOPChannelMap.h>

Inheritance diagram for TOPChannelMap:

Public Member Functions

 TOPChannelMap ()
 Default constructor.
 
 TOPChannelMap (unsigned row, unsigned col, unsigned asic, unsigned chan)
 Full constructor.
 
unsigned getRow () const
 Return 0-based pixel row within carrier board.
 
unsigned getColumn () const
 Return 0-based pixel column within carrier board.
 
unsigned getRowNumber () const
 Return pixel row number within carrier board.
 
unsigned getColumnNumber () const
 Return pixel column number within carrier board.
 
unsigned getASICNumber () const
 Return ASIC number.
 
unsigned getASICChannel () const
 Return ASIC channel number.
 

Private Member Functions

 ClassDef (TOPChannelMap, 1)
 ClassDef.
 

Private Attributes

unsigned m_row
 pixel row within carrier board
 
unsigned m_col
 pixel column within carrier board
 
unsigned m_asic
 ASIC number.
 
unsigned m_channel
 ASIC channel.
 

Detailed Description

Map of pixels and channels within the carrier board.

Definition at line 22 of file TOPChannelMap.h.

Constructor & Destructor Documentation

◆ TOPChannelMap() [1/2]

TOPChannelMap ( )
inline

Default constructor.

Definition at line 28 of file TOPChannelMap.h.

28 : m_row(0), m_col(0), m_asic(0), m_channel(0)
29 {}
unsigned m_asic
ASIC number.
Definition: TOPChannelMap.h:82
unsigned m_channel
ASIC channel.
Definition: TOPChannelMap.h:83
unsigned m_col
pixel column within carrier board
Definition: TOPChannelMap.h:81
unsigned m_row
pixel row within carrier board
Definition: TOPChannelMap.h:80

◆ TOPChannelMap() [2/2]

TOPChannelMap ( unsigned  row,
unsigned  col,
unsigned  asic,
unsigned  chan 
)
inline

Full constructor.

Parameters
rowpixel row within the carrier board (0-based)
colpixel column within the carrier board (0-based)
asicASIC number (0-based)
chanASIC channel (0-based)

Definition at line 38 of file TOPChannelMap.h.

38 :
39 m_row(row), m_col(col), m_asic(asic), m_channel(chan)
40 {}

Member Function Documentation

◆ getASICChannel()

unsigned getASICChannel ( ) const
inline

Return ASIC channel number.

Returns
ASIC channel number (0-based)

Definition at line 76 of file TOPChannelMap.h.

76{return m_channel;}

◆ getASICNumber()

unsigned getASICNumber ( ) const
inline

Return ASIC number.

Returns
ASIC number (0-based)

Definition at line 70 of file TOPChannelMap.h.

70{return m_asic;}

◆ getColumn()

unsigned getColumn ( ) const
inline

Return 0-based pixel column within carrier board.

Returns
pixel column (0-based)

Definition at line 52 of file TOPChannelMap.h.

52{return m_col;}

◆ getColumnNumber()

unsigned getColumnNumber ( ) const
inline

Return pixel column number within carrier board.

Returns
pixel column number

Definition at line 64 of file TOPChannelMap.h.

64{return m_col + 1;}

◆ getRow()

unsigned getRow ( ) const
inline

Return 0-based pixel row within carrier board.

Returns
pixel row (0-based)

Definition at line 46 of file TOPChannelMap.h.

46{return m_row;}

◆ getRowNumber()

unsigned getRowNumber ( ) const
inline

Return pixel row number within carrier board.

Returns
pixel row number

Definition at line 58 of file TOPChannelMap.h.

58{return m_row + 1;}

Member Data Documentation

◆ m_asic

unsigned m_asic
private

ASIC number.

Definition at line 82 of file TOPChannelMap.h.

◆ m_channel

unsigned m_channel
private

ASIC channel.

Definition at line 83 of file TOPChannelMap.h.

◆ m_col

unsigned m_col
private

pixel column within carrier board

Definition at line 81 of file TOPChannelMap.h.

◆ m_row

unsigned m_row
private

pixel row within carrier board

Definition at line 80 of file TOPChannelMap.h.


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