Belle II Software  release-08-01-10
TOPFrontEndMap Class Reference

Mapping of a boardstack number within a module to SCROD and COPPER/Finesse. More...

#include <TOPFrontEndMap.h>

Inheritance diagram for TOPFrontEndMap:
Collaboration diagram for TOPFrontEndMap:

Public Member Functions

 TOPFrontEndMap ()
 Default constructor.
 
 TOPFrontEndMap (int moduleID, int moduleCNumber, int boardstack, unsigned short scrod, unsigned copper, int finesse, int i)
 Full constructor. More...
 
int getModuleID () const
 Return TOP module ID (slot number) More...
 
int getModuleCNumber () const
 Return TOP module construction number. More...
 
int getBoardstackNumber () const
 Return boardstack number. More...
 
unsigned short getScrodID () const
 Return SCROD ID. More...
 
unsigned int getCopperID () const
 Return Copper ID. More...
 
int getFinesseSlot () const
 Return finesse slot number. More...
 
int getIndex () const
 Return array index. More...
 

Private Member Functions

 ClassDef (TOPFrontEndMap, 3)
 ClassDef.
 

Private Attributes

int m_moduleID = 0
 module ID (slot number)
 
int m_moduleCNumber = 0
 module construction number
 
int m_boardstack = 0
 boardstack number within TOP module
 
unsigned short m_scrodID = 0
 SCROD ID.
 
unsigned int m_copperID = 0
 COPPER ID.
 
int m_finesse = 0
 Finesse slot number (0-based)
 
int m_index = 0
 index of this element in std::vector
 

Detailed Description

Mapping of a boardstack number within a module to SCROD and COPPER/Finesse.

Definition at line 22 of file TOPFrontEndMap.h.

Constructor & Destructor Documentation

◆ TOPFrontEndMap()

TOPFrontEndMap ( int  moduleID,
int  moduleCNumber,
int  boardstack,
unsigned short  scrod,
unsigned  copper,
int  finesse,
int  i 
)
inline

Full constructor.

Parameters
moduleIDTOP module ID (slot number)
moduleCNumberTOP module construction number
boardstackBoardstack number within TOP module
scrodSCROD ID
copperCOPPER ID
finesseFinesse slot number
iindex of this element in std::vector

Definition at line 42 of file TOPFrontEndMap.h.

49  {
50  m_moduleID = moduleID;
51  m_moduleCNumber = moduleCNumber;
52  m_boardstack = boardstack;
53  m_scrodID = scrod;
54  m_copperID = copper;
55  m_finesse = finesse;
56  m_index = i;
57  }
unsigned short m_scrodID
SCROD ID.
int m_finesse
Finesse slot number (0-based)
int m_boardstack
boardstack number within TOP module
int m_moduleID
module ID (slot number)
int m_moduleCNumber
module construction number
int m_index
index of this element in std::vector
unsigned int m_copperID
COPPER ID.

Member Function Documentation

◆ getBoardstackNumber()

int getBoardstackNumber ( ) const
inline

Return boardstack number.

Returns
boardstack number

Definition at line 75 of file TOPFrontEndMap.h.

◆ getCopperID()

unsigned int getCopperID ( ) const
inline

Return Copper ID.

Returns
Copper ID

Definition at line 87 of file TOPFrontEndMap.h.

◆ getFinesseSlot()

int getFinesseSlot ( ) const
inline

Return finesse slot number.

Returns
finesse slot

Definition at line 93 of file TOPFrontEndMap.h.

◆ getIndex()

int getIndex ( ) const
inline

Return array index.

Returns
array index

Definition at line 99 of file TOPFrontEndMap.h.

◆ getModuleCNumber()

int getModuleCNumber ( ) const
inline

Return TOP module construction number.

Returns
module construction number

Definition at line 69 of file TOPFrontEndMap.h.

◆ getModuleID()

int getModuleID ( ) const
inline

Return TOP module ID (slot number)

Returns
module ID

Definition at line 63 of file TOPFrontEndMap.h.

◆ getScrodID()

unsigned short getScrodID ( ) const
inline

Return SCROD ID.

Returns
SCROD ID

Definition at line 81 of file TOPFrontEndMap.h.


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