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

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

#include <ARICHHapdChipInfo.h>

Inheritance diagram for ARICHHapdChipInfo:
Collaboration diagram for ARICHHapdChipInfo:

Public Member Functions

 ARICHHapdChipInfo ()
 Default constructor.
 
 ARICHHapdChipInfo (const std::string &serial)
 Constructor.
 
 ~ARICHHapdChipInfo ()
 Destructor.
 
std::string getHapdSerial () const
 Return Hapd Serial number. More...
 
void setHapdSerial (const std::string &serial)
 Set Hapd Serial number. More...
 
std::string getChipLabel () const
 Return Chip label. More...
 
void setChipLabel (const std::string &chip)
 Set Chip label. More...
 
int getBiasVoltage () const
 Return Chip Bias Voltage. More...
 
void setBiasVoltage (int voltage)
 set Chip Bias Voltage More...
 
int getGain () const
 Return Chip Gain at Operational Voltage. More...
 
void setGain (int gain)
 set Chip Gain at Operational Voltage More...
 
TGraph * getLeakCurrent () const
 Return Leakeage Current as a function of bias voltage. More...
 
void setLeakCurrent (TGraph *current)
 set Leakeage Current as a function of bias voltage More...
 
TGraph * getBombardmentGain () const
 Return Bombardment Gain as a function of high voltage. More...
 
void setBombardmentGain (TGraph *gain)
 Set Bombardment Gain as a function of high voltage. More...
 
TGraph * getBombardmentCurrent (unsigned int i) const
 Return Bombardment Current as a function of high voltage. More...
 
void setBombardmentCurrent (std::vector< TGraph * > bcurrent)
 set Bombardment Current as a function of high voltage More...
 
TGraph * getAvalancheGain () const
 Return Avalanche Gain as a function of bias voltage. More...
 
void setAvalancheGain (TGraph *gain)
 set Avalanche Gain as a function of bias voltage More...
 
TGraph * getAvalancheCurrent (unsigned int i) const
 Return Avalanche Current as a function of bias voltage. More...
 
void setAvalancheCurrent (std::vector< TGraph * > acurrent)
 set Avalanche Current as a function of bias voltage More...
 
TH2F * getBiasVoltage2D () const
 Return Bias Voltage as a function of the channel. More...
 
void setBiasVoltage2D (TH2F *h2d)
 Set Bias Voltage as a function of the channel. More...
 
TH2F * getBiasCurrent2D () const
 Return Bias Current as a function of the channel. More...
 
void setBiasCurrent2D (TH2F *h2d)
 set Bias Current as a function of the channel More...
 
int getChannelNumber () const
 Return Channel Number for the Bombardment and Avalanche measurements information. More...
 
void setChannelNumber (int channel)
 Set Channel Number for the Bombardment and Avalanche measurements information. More...
 
int getCutChannel (unsigned int i) const
 Return a channel number from the list of cut channels. More...
 
void appendCutChannel (int channel)
 Add a channel number to the list of cut channels. More...
 
void setCutChannel (const std::vector< int > &channels)
 Set the list of cut channels. More...
 
int getCutChannelsSize () const
 Return size of the list of cut channels. More...
 
int getBadChannel (unsigned int i) const
 Return a channel number from the list of cut channels. More...
 
void appendBadChannel (int ichannel)
 Add a channel number to the list of cut channels. More...
 
void setBadChannel (const std::vector< int > &channels)
 Set the list of bad channels. More...
 
int getBadChannelsSize () const
 Return size of the list of cut channels. More...
 

Private Member Functions

 ClassDef (ARICHHapdChipInfo, 3)
 ClassDef.
 

Private Attributes

std::string m_serial
 serial number of the sensor
 
std::string m_chip
 chip label
 
int m_biasVoltage
 chip bias voltage
 
int m_gain
 Total Gain at Operational Values.
 
TGraph * m_leakCurrent
 Leakege Current as a function of bias voltage.
 
TGraph * m_bombardmentGain
 Bombardment Gain as a function of high voltage.
 
std::vector< TGraph * > m_bombardmentCurrent
 Bombardment Current as a function of high voltage.
 
TGraph * m_avalancheGain
 Avalanche Gain as a function of bias voltage.
 
std::vector< TGraph * > m_avalancheCurrent
 Avalanche Current as a function of bias voltage.
 
TH2F * m_biasVoltage2D
 Bias Voltage as a function of the channel.
 
TH2F * m_biasCurrent2D
 Bias Current as a function of the channel.
 
int m_channelId
 Channel Number for the Bombardment and Avalanche measurements information.
 
std::vector< int > m_cutChannel
 List of cut channels on the HAPD chip.
 
std::vector< int > m_badChannel
 List of bad (cut and dead channels) on the HAPD chip.
 

Detailed Description

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

Definition at line 25 of file ARICHHapdChipInfo.h.

Member Function Documentation

◆ appendBadChannel()

void appendBadChannel ( int  ichannel)
inline

Add a channel number to the list of cut channels.

Parameters
channelHAPD channel number

Definition at line 225 of file ARICHHapdChipInfo.h.

225 { m_badChannel.push_back(ichannel); }
std::vector< int > m_badChannel
List of bad (cut and dead channels) on the HAPD chip.

◆ appendCutChannel()

void appendCutChannel ( int  channel)
inline

Add a channel number to the list of cut channels.

Parameters
channelHAPD channel number

Definition at line 200 of file ARICHHapdChipInfo.h.

◆ getAvalancheCurrent()

TGraph * getAvalancheCurrent ( unsigned int  i) const

Return Avalanche Current as a function of bias voltage.

Returns
avalanche current

Definition at line 27 of file ARICHHapdChipInfo.cc.

28 {
29  if (i < m_avalancheCurrent.size()) return m_avalancheCurrent[i];
30  else return NULL;
31 }
std::vector< TGraph * > m_avalancheCurrent
Avalanche Current as a function of bias voltage.

◆ getAvalancheGain()

TGraph* getAvalancheGain ( ) const
inline

Return Avalanche Gain as a function of bias voltage.

Returns
avalanche gain

Definition at line 132 of file ARICHHapdChipInfo.h.

◆ getBadChannel()

int getBadChannel ( 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 47 of file ARICHHapdChipInfo.cc.

◆ getBadChannelsSize()

int getBadChannelsSize ( ) const
inline

Return size of the list of cut channels.

Returns
size

Definition at line 237 of file ARICHHapdChipInfo.h.

◆ getBiasCurrent2D()

TH2F* getBiasCurrent2D ( ) const
inline

Return Bias Current as a function of the channel.

Returns
2D map of the current

Definition at line 169 of file ARICHHapdChipInfo.h.

◆ getBiasVoltage()

int getBiasVoltage ( ) const
inline

Return Chip Bias Voltage.

Returns
bias voltage

Definition at line 72 of file ARICHHapdChipInfo.h.

◆ getBiasVoltage2D()

TH2F* getBiasVoltage2D ( ) const
inline

Return Bias Voltage as a function of the channel.

Returns
2D map of the voltage

Definition at line 157 of file ARICHHapdChipInfo.h.

◆ getBombardmentCurrent()

TGraph * getBombardmentCurrent ( unsigned int  i) const

Return Bombardment Current as a function of high voltage.

Returns
current

Definition at line 14 of file ARICHHapdChipInfo.cc.

◆ getBombardmentGain()

TGraph* getBombardmentGain ( ) const
inline

Return Bombardment Gain as a function of high voltage.

Returns
bombardment gain

Definition at line 108 of file ARICHHapdChipInfo.h.

◆ getChannelNumber()

int getChannelNumber ( ) const
inline

Return Channel Number for the Bombardment and Avalanche measurements information.

Returns
channel number

Definition at line 181 of file ARICHHapdChipInfo.h.

◆ getChipLabel()

std::string getChipLabel ( ) const
inline

Return Chip label.

Returns
Chip label

Definition at line 61 of file ARICHHapdChipInfo.h.

◆ getCutChannel()

int getCutChannel ( 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 40 of file ARICHHapdChipInfo.cc.

◆ getCutChannelsSize()

int getCutChannelsSize ( ) const
inline

Return size of the list of cut channels.

Returns
size

Definition at line 212 of file ARICHHapdChipInfo.h.

◆ getGain()

int getGain ( ) const
inline

Return Chip Gain at Operational Voltage.

Returns
chip gain

Definition at line 84 of file ARICHHapdChipInfo.h.

◆ getHapdSerial()

std::string getHapdSerial ( ) const
inline

Return Hapd Serial number.

Returns
Hapd Serial number

Definition at line 51 of file ARICHHapdChipInfo.h.

◆ getLeakCurrent()

TGraph* getLeakCurrent ( ) const
inline

Return Leakeage Current as a function of bias voltage.

Returns
chip gain

Definition at line 96 of file ARICHHapdChipInfo.h.

◆ setAvalancheCurrent()

void setAvalancheCurrent ( std::vector< TGraph * >  acurrent)

set Avalanche Current as a function of bias voltage

Parameters
avalanchecurrent current vs bias

Definition at line 34 of file ARICHHapdChipInfo.cc.

◆ setAvalancheGain()

void setAvalancheGain ( TGraph *  gain)
inline

set Avalanche Gain as a function of bias voltage

Parameters
gainavalanche gain vs bias

Definition at line 138 of file ARICHHapdChipInfo.h.

◆ setBadChannel()

void setBadChannel ( const std::vector< int > &  channels)
inline

Set the list of bad channels.

Parameters
channelHAPD channel numbers

Definition at line 231 of file ARICHHapdChipInfo.h.

◆ setBiasCurrent2D()

void setBiasCurrent2D ( TH2F *  h2d)
inline

set Bias Current as a function of the channel

Parameters
h2d2D map of the current

Definition at line 175 of file ARICHHapdChipInfo.h.

◆ setBiasVoltage()

void setBiasVoltage ( int  voltage)
inline

set Chip Bias Voltage

Parameters
voltagebias voltage

Definition at line 78 of file ARICHHapdChipInfo.h.

◆ setBiasVoltage2D()

void setBiasVoltage2D ( TH2F *  h2d)
inline

Set Bias Voltage as a function of the channel.

Parameters
h2d2D map of the voltage

Definition at line 163 of file ARICHHapdChipInfo.h.

◆ setBombardmentCurrent()

void setBombardmentCurrent ( std::vector< TGraph * >  bcurrent)

set Bombardment Current as a function of high voltage

Parameters
bombardmentcurrent current vs high voltage

Definition at line 21 of file ARICHHapdChipInfo.cc.

◆ setBombardmentGain()

void setBombardmentGain ( TGraph *  gain)
inline

Set Bombardment Gain as a function of high voltage.

Parameters
gainbombardment gain

Definition at line 114 of file ARICHHapdChipInfo.h.

◆ setChannelNumber()

void setChannelNumber ( int  channel)
inline

Set Channel Number for the Bombardment and Avalanche measurements information.

Parameters
channelchannel number

Definition at line 187 of file ARICHHapdChipInfo.h.

◆ setChipLabel()

void setChipLabel ( const std::string &  chip)
inline

Set Chip label.

Parameters
Chiplabel

Definition at line 66 of file ARICHHapdChipInfo.h.

◆ setCutChannel()

void setCutChannel ( const std::vector< int > &  channels)
inline

Set the list of cut channels.

Parameters
channelHAPD channel numbers

Definition at line 206 of file ARICHHapdChipInfo.h.

◆ setGain()

void setGain ( int  gain)
inline

set Chip Gain at Operational Voltage

Parameters
gainchip gain

Definition at line 90 of file ARICHHapdChipInfo.h.

◆ setHapdSerial()

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

Set Hapd Serial number.

Parameters
HapdSerial number

Definition at line 56 of file ARICHHapdChipInfo.h.

◆ setLeakCurrent()

void setLeakCurrent ( TGraph *  current)
inline

set Leakeage Current as a function of bias voltage

Parameters
currentLeakeage current

Definition at line 102 of file ARICHHapdChipInfo.h.


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