Belle II Software development
ARICHFEBoardInfo Class Reference

Front End Electronics Boards. More...

#include <ARICHFEBoardInfo.h>

Inheritance diagram for ARICHFEBoardInfo:

Public Member Functions

 ARICHFEBoardInfo ()
 Default constructor.
 
 ARICHFEBoardInfo (int serial, ARICHAsicInfo **asicInfo, const std::string &asicsFEB, TTimeStamp timeStamp)
 Constructor.
 
 ~ARICHFEBoardInfo ()
 Destructor.
 
int getFEBoardSerial () const
 Get Front-End Board identifier.
 
void setFEBoardSerial (int serial)
 Set Front-End Board identifier.
 
ARICHAsicInfogetAsicInfo (unsigned int i) const
 Get ASIC info.
 
void setAsicInfo (unsigned int i, ARICHAsicInfo *asic)
 Set ASIC info.
 
std::string getAsicPosition (unsigned int i) const
 Get ASIC position.
 
void setAsicPosition (unsigned int i, const std::string &asicsFEB)
 Set ASIC position.
 
TTimeStamp getTimeStamp () const
 Get delivery date.
 
void setTimeStamp (TTimeStamp timeStamp)
 Set delivery date.
 
std::string getFEBoardLocation ()
 Get current location.
 
void setFEBoardLocation (const std::string &currentLocation)
 Set current location.
 

Private Member Functions

 ClassDef (ARICHFEBoardInfo, 2)
 ClassDef.
 

Private Attributes

int m_serial
 FrontEndBoard Identfier.
 
ARICHAsicInfom_asicInfo [4]
 id of the i-th chip in the FEB
 
std::string m_asicsFEB [4]
 serial numbers of ASICs on FEB board
 
TTimeStamp m_timeStamp
 Delivery Date.
 
std::string m_currentLocation
 Current Location of the FEB.
 

Detailed Description

Front End Electronics Boards.

Definition at line 24 of file ARICHFEBoardInfo.h.

Constructor & Destructor Documentation

◆ ARICHFEBoardInfo() [1/2]

ARICHFEBoardInfo ( )
inline

Default constructor.

Definition at line 31 of file ARICHFEBoardInfo.h.

32 {
33 for (unsigned i = 0; i < 4; i++) m_asicInfo[i] = NULL;
34 for (unsigned i = 0; i < 4; i++) m_asicsFEB[i] = ("");
35 };
TTimeStamp m_timeStamp
Delivery Date.
std::string m_currentLocation
Current Location of the FEB.
int m_serial
FrontEndBoard Identfier.
std::string m_asicsFEB[4]
serial numbers of ASICs on FEB board
ARICHAsicInfo * m_asicInfo[4]
id of the i-th chip in the FEB

◆ ARICHFEBoardInfo() [2/2]

ARICHFEBoardInfo ( int  serial,
ARICHAsicInfo **  asicInfo,
const std::string &  asicsFEB,
TTimeStamp  timeStamp 
)
inline

Constructor.

Definition at line 40 of file ARICHFEBoardInfo.h.

40 : m_serial(serial),
41 m_timeStamp(timeStamp),
43 {
44 for (unsigned i = 0; i < 4; i++) m_asicInfo[i] = asicInfo[i];
45 for (unsigned i = 0; i < 4; i++) m_asicsFEB[i] = asicsFEB[i];
46 };

◆ ~ARICHFEBoardInfo()

~ARICHFEBoardInfo ( )
inline

Destructor.

Definition at line 51 of file ARICHFEBoardInfo.h.

51{};

Member Function Documentation

◆ getAsicInfo()

ARICHAsicInfo * getAsicInfo ( unsigned int  i) const

Get ASIC info.

Returns
ASIC info.

Definition at line 15 of file ARICHFEBoardInfo.cc.

16{
17 if (i < 4) return m_asicInfo[i];
18 else return NULL;
19}

◆ getAsicPosition()

std::string getAsicPosition ( unsigned int  i) const

Get ASIC position.

Returns
ASIC position.

Definition at line 27 of file ARICHFEBoardInfo.cc.

28{
29 if (i < 4) return m_asicsFEB[i];
30 else return "";
31}

◆ getFEBoardLocation()

std::string getFEBoardLocation ( )

Get current location.

Returns
Current location.

◆ getFEBoardSerial()

int getFEBoardSerial ( ) const
inline

Get Front-End Board identifier.

Returns
Front-End Board identifier.

Definition at line 57 of file ARICHFEBoardInfo.h.

57{return m_serial; }

◆ getTimeStamp()

TTimeStamp getTimeStamp ( ) const
inline

Get delivery date.

Returns
Delivery date.

Definition at line 95 of file ARICHFEBoardInfo.h.

95{return m_timeStamp; }

◆ setAsicInfo()

void setAsicInfo ( unsigned int  i,
ARICHAsicInfo asic 
)

Set ASIC info.

Parameters
[in]iASIC number
[in]asicASIC info.

Definition at line 22 of file ARICHFEBoardInfo.cc.

23{
24 if (i < 4) m_asicInfo[i] = asicInfo;
25}

◆ setAsicPosition()

void setAsicPosition ( unsigned int  i,
const std::string &  asicsFEB 
)

Set ASIC position.

Parameters
[in]iASIC number
[in]asicsFEBAsic position.

Definition at line 34 of file ARICHFEBoardInfo.cc.

35{
36 if (i < 4) m_asicsFEB[i] = asicsFEB;
37}

◆ setFEBoardLocation()

void setFEBoardLocation ( const std::string &  currentLocation)
inline

Set current location.

Parameters
[in]currentLocationCurrent location.

Definition at line 113 of file ARICHFEBoardInfo.h.

113{m_currentLocation = currentLocation; }

◆ setFEBoardSerial()

void setFEBoardSerial ( int  serial)
inline

Set Front-End Board identifier.

Parameters
[in]serialFront-End Board identifier.

Definition at line 63 of file ARICHFEBoardInfo.h.

63{m_serial = serial; }

◆ setTimeStamp()

void setTimeStamp ( TTimeStamp  timeStamp)
inline

Set delivery date.

Parameters
[in]timeStampDelivery date.

Definition at line 101 of file ARICHFEBoardInfo.h.

101{m_timeStamp = timeStamp; }

Member Data Documentation

◆ m_asicInfo

ARICHAsicInfo* m_asicInfo[4]
private

id of the i-th chip in the FEB

Definition at line 117 of file ARICHFEBoardInfo.h.

◆ m_asicsFEB

std::string m_asicsFEB[4]
private

serial numbers of ASICs on FEB board

Definition at line 118 of file ARICHFEBoardInfo.h.

◆ m_currentLocation

std::string m_currentLocation
private

Current Location of the FEB.

Definition at line 120 of file ARICHFEBoardInfo.h.

◆ m_serial

int m_serial
private

FrontEndBoard Identfier.

Definition at line 116 of file ARICHFEBoardInfo.h.

◆ m_timeStamp

TTimeStamp m_timeStamp
private

Delivery Date.

Definition at line 119 of file ARICHFEBoardInfo.h.


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