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

Front End Electronics Boards. More...

#include <ARICHFEBoardInfo.h>

Inheritance diagram for ARICHFEBoardInfo:
Collaboration 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. More...
 
void setFEBoardSerial (int serial)
 Set Front End Board Identifier. More...
 
ARICHAsicInfogetAsicInfo (unsigned int i) const
 Get Asic Info. More...
 
void setAsicInfo (unsigned int i, ARICHAsicInfo *asic)
 Set Asic Info. More...
 
std::string getAsicPosition (unsigned int i) const
 Get Asic position. More...
 
void setAsicPosition (unsigned int i, const std::string &asicsFEB)
 Set Asic position. More...
 
TTimeStamp getTimeStamp () const
 Get delivery date. More...
 
void setTimeStamp (TTimeStamp timeStamp)
 Set delivery date. More...
 
std::string getFEBoardLocation ()
 Get current location. More...
 
void setFEBoardLocation (const std::string &currentLocation)
 Set current location. More...
 

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.

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 }
ARICHAsicInfo * m_asicInfo[4]
id of the i-th chip in the FEB

◆ getAsicPosition()

std::string getAsicPosition ( unsigned int  i) const

Get Asic position.

Returns
Asic position

Definition at line 27 of file ARICHFEBoardInfo.cc.

◆ 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 55 of file ARICHFEBoardInfo.h.

55 {return m_serial; }
int m_serial
FrontEndBoard Identfier.

◆ getTimeStamp()

TTimeStamp getTimeStamp ( ) const
inline

Get delivery date.

Returns
delivery date

Definition at line 85 of file ARICHFEBoardInfo.h.

◆ setAsicInfo()

void setAsicInfo ( unsigned int  i,
ARICHAsicInfo asic 
)

Set Asic Info.

Parameters
AsicInfo

Definition at line 22 of file ARICHFEBoardInfo.cc.

◆ setAsicPosition()

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

Set Asic position.

Parameters
Asicposition

Definition at line 34 of file ARICHFEBoardInfo.cc.

◆ setFEBoardLocation()

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

Set current location.

Parameters
currentlocation

Definition at line 100 of file ARICHFEBoardInfo.h.

◆ setFEBoardSerial()

void setFEBoardSerial ( int  serial)
inline

Set Front End Board Identifier.

Parameters
FrontEnd Board Identifier

Definition at line 60 of file ARICHFEBoardInfo.h.

◆ setTimeStamp()

void setTimeStamp ( TTimeStamp  timeStamp)
inline

Set delivery date.

Parameters
deliverydate

Definition at line 90 of file ARICHFEBoardInfo.h.


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