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

Contains manufacturer data of one of the 4 photo sensors chips. More...

#include <ARICHBadChannels.h>

Inheritance diagram for ARICHBadChannels:
Collaboration diagram for ARICHBadChannels:

Public Member Functions

 ARICHBadChannels ()
 Default constructor.
 
 ~ARICHBadChannels ()
 Destructor.
 
int getID () const
 Return global ID. More...
 
void setID (const int id)
 Set global ID. More...
 
std::string getHapdSerial () const
 Return Hapd Serial number. More...
 
void setHapdSerial (const std::string &serial)
 Set Hapd Serial number. More...
 
int getFebSerial () const
 Return FEB Serial number. More...
 
void setFebSerial (const int serial)
 Set Hapd Serial number. More...
 
int getHapdCutChannel (unsigned int i) const
 Return a channel number from the list of cut channels. More...
 
std::vector< int > getHapdCutChannels () const
 Return a list of cut channels. More...
 
void appendHapdCutChannel (int channel)
 Add a channel number to the list of cut channels. More...
 
void setHapdCutChannel (std::vector< int > channels)
 Set the list of cut channels. More...
 
int getHapdCutChannelsSize () const
 Return size of the list of cut channels. More...
 
int getHapdBadChannel (unsigned int i) const
 Return a channel number from the list of cut channels. More...
 
std::vector< int > getHapdBadChannels () const
 Return a list of bad channels. More...
 
void appendHapdBadChannel (int ichannel)
 Add a channel number to the list of cut channels. More...
 
void setHapdBadChannel (std::vector< int > channels)
 Set the list of bad channels. More...
 
int getHapdBadChannelsSize () const
 Return size of the list of cut channels. More...
 
int getHapdListOfBadChannel (unsigned int i) const
 Return a channel number from the list of channels with bad linearity. More...
 
std::vector< int > getHapdListOfBadChannels () const
 Return a list of all bad channels. More...
 
int getHapdListOfBadChannelsSize () const
 Return size of the list of all bad channels. More...
 
int getFebDeadChannel (unsigned int i) const
 Return a channel number from the list of dead channels. More...
 
std::vector< int > getFebDeadChannels () const
 Return a list of dead channels. More...
 
void appendFebDeadChannel (int channel)
 Add a channel number to the list of dead channels. More...
 
void setFebDeadChannels (std::vector< int > deadChannels)
 Set vector of dead channel numbers. More...
 
int getFebDeadChannelsSize () const
 Return size of the list of dead channels. More...
 
int getAsicDeadChannel (unsigned int i) const
 Return a channel number from the list of dead channels. More...
 
std::vector< int > getAsicDeadChannels () const
 Return a list of dead channels. More...
 
void appendAsicDeadChannel (int channel)
 Add a channel number to the list of dead channels. More...
 
void setAsicDeadChannels (std::vector< int > deadChannels)
 Set vector of dead channel numbers. More...
 
int getAsicDeadChannelsSize () const
 Return size of the list of dead channels. More...
 
int getAsicBadConnChannel (unsigned int i) const
 Return a channel number from the list of channels with bad connections. More...
 
std::vector< int > getAsicBadConnChannels () const
 Return a list of channels with bad connections. More...
 
void appendAsicBadConnChannel (int ichannel)
 Add a channel number to the list of channels with bad connections. More...
 
int getAsicBadConnChannelsSize () const
 Return size of the list of channels with bad connections. More...
 
void setAsicBadConnChannels (std::vector< int > badConnChannels)
 Set vector of bad connection channel numbers. More...
 
int getAsicBadOffsetChannel (unsigned int i) const
 Return a channel number from the list of channels with bad offset adjustment. More...
 
std::vector< int > getAsicBadOffsetChannels () const
 Return a list of channels with bad offset adjustment. More...
 
void appendAsicBadOffsetChannel (int ichannel)
 Add a channel number to the list of channels with bad offset adjustment. More...
 
int getAsicBadOffsetChannelsSize () const
 Return size of the list of channels with bad offset adjustment. More...
 
void setAsicBadOffsetChannels (std::vector< int > badOffsetChannels)
 Set vector of bad offset channel numbers. More...
 
int getAsicBadLinChannel (unsigned int i) const
 Return a channel number from the list of channels with bad linearity. More...
 
std::vector< int > getAsicBadLinChannels () const
 Return a list of channels with bad linearity. More...
 
void appendAsicBadLinChannel (int ichannel)
 Add a channel number to the list of channels with bad linearity. More...
 
int getAsicBadLinChannelsSize () const
 Return size of the list of channels with bad linearity. More...
 
void setAsicBadLinChannels (std::vector< int > badLinChannels)
 Set vector of bad linearity channel numbers. More...
 
int getFebListOfBadChannel (unsigned int i) const
 Return a channel number from the list of channels with bad linearity. More...
 
std::vector< int > getFebListOfBadChannels () const
 Return a list of all bad channels. More...
 
int getFebListOfBadChannelsSize () const
 Return size of the list of all bad channels. More...
 

Private Member Functions

 ClassDef (ARICHBadChannels, 1)
 ClassDef.
 

Private Attributes

int m_id
 global ID
 
std::string m_hapdSerial
 serial number of the sensor
 
int m_febSerial
 serial number of the FEB
 
std::vector< int > m_hapdCutChannels
 List of cut channels on the HAPD chip.
 
std::vector< int > m_hapdBadChannels
 List of bad (cut and dead channels) on the HAPD chip.
 
std::vector< int > m_febDeadChannels
 List of dead channels on the FEB.
 
std::vector< int > m_asicDeadChannels
 List of dead channels on the ASIC chip.
 
std::vector< int > m_asicBadConnChannels
 List of channels with bad connections during the measurement.
 
std::vector< int > m_asicBadOffsetChannels
 List of channels with bad offset adjustment.
 
std::vector< int > m_asicBadLinChannels
 List of channels with bad linearity.
 
std::vector< int > m_hapdListOfBadChannels
 List of all bad channels on the HAPD.
 
std::vector< int > m_febListOfBadChannels
 List of all bad channels on the FEB.
 

Detailed Description

Contains manufacturer data of one of the 4 photo sensors chips.

Definition at line 23 of file ARICHBadChannels.h.

Member Function Documentation

◆ appendAsicBadConnChannel()

void appendAsicBadConnChannel ( int  ichannel)
inline

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

Parameters
channelASIC channel id

Definition at line 227 of file ARICHBadChannels.h.

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

◆ appendAsicBadLinChannel()

void appendAsicBadLinChannel ( int  ichannel)
inline

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

Parameters
channelASIC channel id

Definition at line 289 of file ARICHBadChannels.h.

◆ appendAsicBadOffsetChannel()

void appendAsicBadOffsetChannel ( int  ichannel)
inline

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

Parameters
channelASIC channel id

Definition at line 258 of file ARICHBadChannels.h.

◆ appendAsicDeadChannel()

void appendAsicDeadChannel ( int  channel)
inline

Add a channel number to the list of dead channels.

Parameters
channelASIC channel id

Definition at line 196 of file ARICHBadChannels.h.

◆ appendFebDeadChannel()

void appendFebDeadChannel ( int  channel)
inline

Add a channel number to the list of dead channels.

Parameters
channelFEB channel id

Definition at line 165 of file ARICHBadChannels.h.

◆ appendHapdBadChannel()

void appendHapdBadChannel ( int  ichannel)
inline

Add a channel number to the list of cut channels.

Parameters
channelHAPD channel number

Definition at line 115 of file ARICHBadChannels.h.

◆ appendHapdCutChannel()

void appendHapdCutChannel ( int  channel)
inline

Add a channel number to the list of cut channels.

Parameters
channelHAPD channel number

Definition at line 84 of file ARICHBadChannels.h.

◆ getAsicBadConnChannel()

int getAsicBadConnChannel ( 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 68 of file ARICHBadChannels.cc.

69 {
70  if (i < m_asicBadConnChannels.size()) return m_asicBadConnChannels[i];
71  else return -1;
72 }

◆ getAsicBadConnChannels()

std::vector<int> getAsicBadConnChannels ( ) const
inline

Return a list of channels with bad connections.

Returns
vector of channels

Definition at line 221 of file ARICHBadChannels.h.

◆ getAsicBadConnChannelsSize()

int getAsicBadConnChannelsSize ( ) const
inline

Return size of the list of channels with bad connections.

Returns
size

Definition at line 233 of file ARICHBadChannels.h.

◆ getAsicBadLinChannel()

int getAsicBadLinChannel ( 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 82 of file ARICHBadChannels.cc.

◆ getAsicBadLinChannels()

std::vector<int> getAsicBadLinChannels ( ) const
inline

Return a list of channels with bad linearity.

Returns
vector of channels

Definition at line 283 of file ARICHBadChannels.h.

◆ getAsicBadLinChannelsSize()

int getAsicBadLinChannelsSize ( ) const
inline

Return size of the list of channels with bad linearity.

Returns
size

Definition at line 295 of file ARICHBadChannels.h.

◆ getAsicBadOffsetChannel()

int getAsicBadOffsetChannel ( 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 75 of file ARICHBadChannels.cc.

◆ getAsicBadOffsetChannels()

std::vector<int> getAsicBadOffsetChannels ( ) const
inline

Return a list of channels with bad offset adjustment.

Returns
vector of channels

Definition at line 252 of file ARICHBadChannels.h.

◆ getAsicBadOffsetChannelsSize()

int getAsicBadOffsetChannelsSize ( ) const
inline

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

Returns
size

Definition at line 264 of file ARICHBadChannels.h.

◆ getAsicDeadChannel()

int getAsicDeadChannel ( 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 61 of file ARICHBadChannels.cc.

◆ getAsicDeadChannels()

std::vector<int> getAsicDeadChannels ( ) const
inline

Return a list of dead channels.

Returns
vector of channels

Definition at line 190 of file ARICHBadChannels.h.

◆ getAsicDeadChannelsSize()

int getAsicDeadChannelsSize ( ) const
inline

Return size of the list of dead channels.

Returns
size

Definition at line 208 of file ARICHBadChannels.h.

◆ getFebDeadChannel()

int getFebDeadChannel ( 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 54 of file ARICHBadChannels.cc.

◆ getFebDeadChannels()

std::vector<int> getFebDeadChannels ( ) const
inline

Return a list of dead channels.

Returns
vector of channels

Definition at line 159 of file ARICHBadChannels.h.

◆ getFebDeadChannelsSize()

int getFebDeadChannelsSize ( ) const
inline

Return size of the list of dead channels.

Returns
size

Definition at line 177 of file ARICHBadChannels.h.

◆ getFebListOfBadChannel()

int getFebListOfBadChannel ( 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 135 of file ARICHBadChannels.cc.

◆ getFebListOfBadChannels()

std::vector<int> getFebListOfBadChannels ( ) const
inline

Return a list of all bad channels.

Returns
vector of channels

Definition at line 314 of file ARICHBadChannels.h.

◆ getFebListOfBadChannelsSize()

int getFebListOfBadChannelsSize ( ) const
inline

Return size of the list of all bad channels.

Returns
size

Definition at line 320 of file ARICHBadChannels.h.

◆ getFebSerial()

int getFebSerial ( ) const
inline

Return FEB Serial number.

Returns
FEB Serial number

Definition at line 60 of file ARICHBadChannels.h.

◆ getHapdBadChannel()

int getHapdBadChannel ( unsigned int  i) const

Return a channel number from the list of cut channels.

Parameters
iindex of the element in the list
Returns
channel number

Definition at line 23 of file ARICHBadChannels.cc.

◆ getHapdBadChannels()

std::vector<int> getHapdBadChannels ( ) const
inline

Return a list of bad channels.

Returns
vector of channels

Definition at line 109 of file ARICHBadChannels.h.

◆ getHapdBadChannelsSize()

int getHapdBadChannelsSize ( ) const
inline

Return size of the list of cut channels.

Returns
size

Definition at line 127 of file ARICHBadChannels.h.

◆ getHapdCutChannel()

int getHapdCutChannel ( unsigned int  i) const

Return a channel number from the list of cut channels.

Parameters
iindex of the element in the list
Returns
channel number

Definition at line 16 of file ARICHBadChannels.cc.

◆ getHapdCutChannels()

std::vector<int> getHapdCutChannels ( ) const
inline

Return a list of cut channels.

Returns
vector of channels

Definition at line 78 of file ARICHBadChannels.h.

◆ getHapdCutChannelsSize()

int getHapdCutChannelsSize ( ) const
inline

Return size of the list of cut channels.

Returns
size

Definition at line 96 of file ARICHBadChannels.h.

◆ getHapdListOfBadChannel()

int getHapdListOfBadChannel ( 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 47 of file ARICHBadChannels.cc.

◆ getHapdListOfBadChannels()

std::vector<int> getHapdListOfBadChannels ( ) const
inline

Return a list of all bad channels.

Returns
vector of channels

Definition at line 140 of file ARICHBadChannels.h.

◆ getHapdListOfBadChannelsSize()

int getHapdListOfBadChannelsSize ( ) const
inline

Return size of the list of all bad channels.

Returns
size

Definition at line 146 of file ARICHBadChannels.h.

◆ getHapdSerial()

std::string getHapdSerial ( ) const
inline

Return Hapd Serial number.

Returns
Hapd Serial number

Definition at line 50 of file ARICHBadChannels.h.

◆ getID()

int getID ( ) const
inline

Return global ID.

Returns
global ID

Definition at line 40 of file ARICHBadChannels.h.

◆ setAsicBadConnChannels()

void setAsicBadConnChannels ( std::vector< int >  badConnChannels)

Set vector of bad connection channel numbers.

Parameters
channelASIC channel id

Definition at line 107 of file ARICHBadChannels.cc.

◆ setAsicBadLinChannels()

void setAsicBadLinChannels ( std::vector< int >  badLinChannels)

Set vector of bad linearity channel numbers.

Parameters
channelASIC channel id

Definition at line 126 of file ARICHBadChannels.cc.

◆ setAsicBadOffsetChannels()

void setAsicBadOffsetChannels ( std::vector< int >  badOffsetChannels)

Set vector of bad offset channel numbers.

Parameters
channelASIC channel id

Definition at line 116 of file ARICHBadChannels.cc.

◆ setAsicDeadChannels()

void setAsicDeadChannels ( std::vector< int >  deadChannels)

Set vector of dead channel numbers.

Parameters
channelASIC channel id

Definition at line 98 of file ARICHBadChannels.cc.

◆ setFebDeadChannels()

void setFebDeadChannels ( std::vector< int >  deadChannels)

Set vector of dead channel numbers.

Parameters
channelFEB channel id

Definition at line 88 of file ARICHBadChannels.cc.

◆ setFebSerial()

void setFebSerial ( const int  serial)
inline

Set Hapd Serial number.

Parameters
HapdSerial number

Definition at line 65 of file ARICHBadChannels.h.

◆ setHapdBadChannel()

void setHapdBadChannel ( std::vector< int >  channels)

Set the list of bad channels.

Parameters
channelHAPD channel numbers

Definition at line 38 of file ARICHBadChannels.cc.

◆ setHapdCutChannel()

void setHapdCutChannel ( std::vector< int >  channels)

Set the list of cut channels.

Parameters
channelHAPD channel numbers

Definition at line 29 of file ARICHBadChannels.cc.

◆ setHapdSerial()

void setHapdSerial ( const std::string &  serial)
inline

Set Hapd Serial number.

Parameters
HapdSerial number

Definition at line 55 of file ARICHBadChannels.h.

◆ setID()

void setID ( const int  id)
inline

Set global ID.

Parameters
globalID

Definition at line 45 of file ARICHBadChannels.h.


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