Belle II Software  release-08-02-06
ARICHAsicInfo Class Reference

Tested ASIC chips. More...

#include <ARICHAsicInfo.h>

Inheritance diagram for ARICHAsicInfo:
Collaboration diagram for ARICHAsicInfo:

Public Member Functions

 ARICHAsicInfo ()
 Default constructor.
 
 ARICHAsicInfo (const std::string &id, TTimeStamp timeFinishGain, TTimeStamp timeFinishOffset, std::vector< int > &deadChannel, std::vector< int > &badConnChannel, std::vector< int > &badOffsetChannel, std::vector< int > &badLinChannel, int numProbCh, std::vector< TH3F * > &gain, std::vector< TH3F * > &offset, const std::string &comment)
 Constructor.
 
 ~ARICHAsicInfo ()
 Destructor.
 
std::string getAsicID () const
 Return Asic Identifier. More...
 
void setAsicID (const std::string &id)
 Set Asic Identifier. More...
 
TTimeStamp getTimeFinishGain () const
 Return Test date gain - finish. More...
 
void setTimeFinishGain (TTimeStamp timeFinishGain)
 Set Test date gain - finish. More...
 
TTimeStamp getTimeFinishOffset () const
 Return Test date offset - finish. More...
 
void setTimeFinishOffset (TTimeStamp timeFinishOffset)
 Set Test date offset - finish. More...
 
int getDeadChannel (unsigned int i) const
 Return a channel number from the list of dead channels. More...
 
void appendDeadChannel (int channel)
 Add a channel number to the list of dead channels. More...
 
void setDeadChannels (const std::vector< int > &deadChannels)
 Set vector of dead channel numbers. More...
 
int getDeadChannelsSize () const
 Return size of the list of dead channels. More...
 
int getBadConnChannel (unsigned int i) const
 Return a channel number from the list of channels with bad connections. More...
 
void appendBadConnChannel (int ichannel)
 Add a channel number to the list of channels with bad connections. More...
 
int getBadConnChannelsSize () const
 Return size of the list of channels with bad connections. More...
 
void setBadConnChannels (const std::vector< int > &badConnChannels)
 Set vector of bad connection channel numbers. More...
 
int getBadOffsetChannel (unsigned int i) const
 Return a channel number from the list of channels with bad offset adjustment. More...
 
void appendBadOffsetChannel (int ichannel)
 Add a channel number to the list of channels with bad offset adjustment. More...
 
int getBadOffsetChannelsSize () const
 Return size of the list of channels with bad offset adjustment. More...
 
void setBadOffsetChannels (const std::vector< int > &badOffsetChannels)
 Set vector of bad offset channel numbers. More...
 
int getBadLinChannel (unsigned int i) const
 Return a channel number from the list of channels with bad linearity. More...
 
void appendBadLinChannel (int ichannel)
 Add a channel number to the list of channels with bad linearity. More...
 
int getBadLinChannelsSize () const
 Return size of the list of channels with bad linearity. More...
 
void setBadLinChannels (const std::vector< int > &badLinChannels)
 Set vector of bad linearity channel numbers. More...
 
float getNumOfProblematicChannels () const
 Return number of problematic channels. More...
 
void setNumOfProblematicChannels (int numProbCh)
 Set number of problematic channels. More...
 
TH3F * getGainMeasurement (unsigned int i) const
 Return Measurements with different gain settings. More...
 
void setGainMeasurement (std::vector< TH3F * > gain)
 set Measurements with different gain settings More...
 
TH3F * getOffsetMeasurement (unsigned int i) const
 Return Measurements with different offset settings. More...
 
void setOffsetMeasurement (std::vector< TH3F * > offset)
 set Measurements with different offset settings More...
 
std::string getComment () const
 Return Commment. More...
 
void setComment (const std::string &comment)
 Set comment. More...
 

Private Member Functions

 ClassDef (ARICHAsicInfo, 3)
 ClassDef.
 

Private Attributes

std::string m_id
 Asic Identifier.
 
TTimeStamp m_timeFinishGain
 Test Date of gain measurements - finish.
 
TTimeStamp m_timeFinishOffset
 Test Date of offset measurements - finish.
 
std::vector< int > m_deadChannel
 List of dead channels on the ASIC chip.
 
std::vector< int > m_badConnChannel
 List of channels with bad connections during the measurement.
 
std::vector< int > m_badOffsetChannel
 List of channels with bad offset adjustment.
 
std::vector< int > m_badLinChannel
 List of channels with bad linearity.
 
int m_numProblematicChannels
 Number of channels with problems.
 
std::vector< TH3F * > m_gain
 Threshold scans with different gain settings.
 
std::vector< TH3F * > m_offset
 Threshold scans with different offset settings (course & fine offset)
 
std::string m_comment
 Comment.
 

Detailed Description

Tested ASIC chips.

Definition at line 25 of file ARICHAsicInfo.h.

Member Function Documentation

◆ appendBadConnChannel()

void appendBadConnChannel ( int  ichannel)
inline

Add a channel number to the list of channels with bad connections.

Parameters
channelASIC channel id

Definition at line 114 of file ARICHAsicInfo.h.

114 { m_badConnChannel.push_back(ichannel); }
std::vector< int > m_badConnChannel
List of channels with bad connections during the measurement.

◆ appendBadLinChannel()

void appendBadLinChannel ( int  ichannel)
inline

Add a channel number to the list of channels with bad linearity.

Parameters
channelASIC channel id

Definition at line 164 of file ARICHAsicInfo.h.

◆ appendBadOffsetChannel()

void appendBadOffsetChannel ( int  ichannel)
inline

Add a channel number to the list of channels with bad offset adjustment.

Parameters
channelASIC channel id

Definition at line 139 of file ARICHAsicInfo.h.

◆ appendDeadChannel()

void appendDeadChannel ( int  channel)
inline

Add a channel number to the list of dead channels.

Parameters
channelASIC channel id

Definition at line 89 of file ARICHAsicInfo.h.

◆ getAsicID()

std::string getAsicID ( ) const
inline

Return Asic Identifier.

Returns
Asic Identifier

Definition at line 51 of file ARICHAsicInfo.h.

◆ getBadConnChannel()

int getBadConnChannel ( unsigned int  i) const

Return a channel number from the list of channels with bad connections.

Parameters
iindex of the element in the list
Returns
channel id

Definition at line 21 of file ARICHAsicInfo.cc.

22 {
23  if (i < m_badConnChannel.size()) return m_badConnChannel[i];
24  else return -1;
25 }

◆ getBadConnChannelsSize()

int getBadConnChannelsSize ( ) const
inline

Return size of the list of channels with bad connections.

Returns
size

Definition at line 120 of file ARICHAsicInfo.h.

◆ getBadLinChannel()

int getBadLinChannel ( unsigned int  i) const

Return a channel number from the list of channels with bad linearity.

Parameters
iindex of the element in the list
Returns
channel id

Definition at line 35 of file ARICHAsicInfo.cc.

◆ getBadLinChannelsSize()

int getBadLinChannelsSize ( ) const
inline

Return size of the list of channels with bad linearity.

Returns
size

Definition at line 170 of file ARICHAsicInfo.h.

◆ getBadOffsetChannel()

int getBadOffsetChannel ( unsigned int  i) const

Return a channel number from the list of channels with bad offset adjustment.

Parameters
iindex of the element in the list
Returns
channel id

Definition at line 28 of file ARICHAsicInfo.cc.

◆ getBadOffsetChannelsSize()

int getBadOffsetChannelsSize ( ) const
inline

Return size of the list of channels with bad offset adjustment.

Returns
size

Definition at line 145 of file ARICHAsicInfo.h.

◆ getComment()

std::string getComment ( ) const
inline

Return Commment.

Returns
Commment

Definition at line 214 of file ARICHAsicInfo.h.

◆ getDeadChannel()

int getDeadChannel ( unsigned int  i) const

Return a channel number from the list of dead channels.

Parameters
iindex of the element in the list
Returns
channel id

Definition at line 14 of file ARICHAsicInfo.cc.

◆ getDeadChannelsSize()

int getDeadChannelsSize ( ) const
inline

Return size of the list of dead channels.

Returns
size

Definition at line 101 of file ARICHAsicInfo.h.

◆ getGainMeasurement()

TH3F * getGainMeasurement ( unsigned int  i) const

Return Measurements with different gain settings.

Returns
Measurements with different gain settings

Definition at line 42 of file ARICHAsicInfo.cc.

◆ getNumOfProblematicChannels()

float getNumOfProblematicChannels ( ) const
inline

Return number of problematic channels.

Returns
number of problematic channels

Definition at line 181 of file ARICHAsicInfo.h.

◆ getOffsetMeasurement()

TH3F * getOffsetMeasurement ( unsigned int  i) const

Return Measurements with different offset settings.

Returns
Measurements with different offset settings

Definition at line 55 of file ARICHAsicInfo.cc.

◆ getTimeFinishGain()

TTimeStamp getTimeFinishGain ( ) const
inline

Return Test date gain - finish.

Returns
Test date gain - finish

Definition at line 61 of file ARICHAsicInfo.h.

◆ getTimeFinishOffset()

TTimeStamp getTimeFinishOffset ( ) const
inline

Return Test date offset - finish.

Returns
Test date offset - finish

Definition at line 71 of file ARICHAsicInfo.h.

◆ setAsicID()

void setAsicID ( const std::string &  id)
inline

Set Asic Identifier.

Parameters
AsicIdentifier

Definition at line 56 of file ARICHAsicInfo.h.

◆ setBadConnChannels()

void setBadConnChannels ( const std::vector< int > &  badConnChannels)
inline

Set vector of bad connection channel numbers.

Parameters
channelASIC channel id

Definition at line 126 of file ARICHAsicInfo.h.

◆ setBadLinChannels()

void setBadLinChannels ( const std::vector< int > &  badLinChannels)
inline

Set vector of bad linearity channel numbers.

Parameters
channelASIC channel id

Definition at line 176 of file ARICHAsicInfo.h.

◆ setBadOffsetChannels()

void setBadOffsetChannels ( const std::vector< int > &  badOffsetChannels)
inline

Set vector of bad offset channel numbers.

Parameters
channelASIC channel id

Definition at line 151 of file ARICHAsicInfo.h.

◆ setComment()

void setComment ( const std::string &  comment)
inline

Set comment.

Parameters
comment

Definition at line 219 of file ARICHAsicInfo.h.

◆ setDeadChannels()

void setDeadChannels ( const std::vector< int > &  deadChannels)
inline

Set vector of dead channel numbers.

Parameters
channelASIC channel id

Definition at line 95 of file ARICHAsicInfo.h.

◆ setGainMeasurement()

void setGainMeasurement ( std::vector< TH3F * >  gain)

set Measurements with different gain settings

Parameters
Measurementswith different gain settings

Definition at line 49 of file ARICHAsicInfo.cc.

◆ setNumOfProblematicChannels()

void setNumOfProblematicChannels ( int  numProbCh)
inline

Set number of problematic channels.

Parameters
numberof problematic channels

Definition at line 186 of file ARICHAsicInfo.h.

◆ setOffsetMeasurement()

void setOffsetMeasurement ( std::vector< TH3F * >  offset)

set Measurements with different offset settings

Parameters
Measurementswith different offset settings

Definition at line 62 of file ARICHAsicInfo.cc.

◆ setTimeFinishGain()

void setTimeFinishGain ( TTimeStamp  timeFinishGain)
inline

Set Test date gain - finish.

Parameters
Testdate gain - finish

Definition at line 66 of file ARICHAsicInfo.h.

◆ setTimeFinishOffset()

void setTimeFinishOffset ( TTimeStamp  timeFinishOffset)
inline

Set Test date offset - finish.

Parameters
Testdate offset - finish

Definition at line 76 of file ARICHAsicInfo.h.


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