Belle II Software development
TOPFrontEndMap Class Reference

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

#include <TOPFrontEndMap.h>

Inheritance 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.
 
int getModuleID () const
 Return TOP module ID (slot number)
 
int getModuleCNumber () const
 Return TOP module construction number.
 
int getBoardstackNumber () const
 Return boardstack number.
 
unsigned short getScrodID () const
 Return SCROD ID.
 
unsigned int getCopperID () const
 Return Copper ID.
 
int getFinesseSlot () const
 Return finesse slot number.
 
int getIndex () const
 Return array index.
 

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() [1/2]

TOPFrontEndMap ( )
inline

Default constructor.

Definition at line 29 of file TOPFrontEndMap.h.

30 {}

◆ TOPFrontEndMap() [2/2]

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.

75{return m_boardstack;}

◆ getCopperID()

unsigned int getCopperID ( ) const
inline

Return Copper ID.

Returns
Copper ID

Definition at line 87 of file TOPFrontEndMap.h.

87{return m_copperID;}

◆ getFinesseSlot()

int getFinesseSlot ( ) const
inline

Return finesse slot number.

Returns
finesse slot

Definition at line 93 of file TOPFrontEndMap.h.

93{return m_finesse;}

◆ getIndex()

int getIndex ( ) const
inline

Return array index.

Returns
array index

Definition at line 99 of file TOPFrontEndMap.h.

99{return m_index;}

◆ getModuleCNumber()

int getModuleCNumber ( ) const
inline

Return TOP module construction number.

Returns
module construction number

Definition at line 69 of file TOPFrontEndMap.h.

69{return m_moduleCNumber;}

◆ getModuleID()

int getModuleID ( ) const
inline

Return TOP module ID (slot number)

Returns
module ID

Definition at line 63 of file TOPFrontEndMap.h.

63{return m_moduleID;}

◆ getScrodID()

unsigned short getScrodID ( ) const
inline

Return SCROD ID.

Returns
SCROD ID

Definition at line 81 of file TOPFrontEndMap.h.

81{return m_scrodID;}

Member Data Documentation

◆ m_boardstack

int m_boardstack = 0
private

boardstack number within TOP module

Definition at line 105 of file TOPFrontEndMap.h.

◆ m_copperID

unsigned int m_copperID = 0
private

COPPER ID.

Definition at line 107 of file TOPFrontEndMap.h.

◆ m_finesse

int m_finesse = 0
private

Finesse slot number (0-based)

Definition at line 108 of file TOPFrontEndMap.h.

◆ m_index

int m_index = 0
private

index of this element in std::vector

Definition at line 109 of file TOPFrontEndMap.h.

◆ m_moduleCNumber

int m_moduleCNumber = 0
private

module construction number

Definition at line 104 of file TOPFrontEndMap.h.

◆ m_moduleID

int m_moduleID = 0
private

module ID (slot number)

Definition at line 103 of file TOPFrontEndMap.h.

◆ m_scrodID

unsigned short m_scrodID = 0
private

SCROD ID.

Definition at line 106 of file TOPFrontEndMap.h.


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