Belle II Software development
ARICHHapdChipInfo Class Reference

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

#include <ARICHHapdChipInfo.h>

Inheritance diagram for ARICHHapdChipInfo:

Public Member Functions

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

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 24 of file ARICHHapdChipInfo.h.

Constructor & Destructor Documentation

◆ ARICHHapdChipInfo() [1/2]

ARICHHapdChipInfo ( )
inline

Default constructor.

Definition at line 31 of file ARICHHapdChipInfo.h.

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

◆ ARICHHapdChipInfo() [2/2]

ARICHHapdChipInfo ( const std::string &  serial)
inlineexplicit

Constructor.

Definition at line 38 of file ARICHHapdChipInfo.h.

◆ ~ARICHHapdChipInfo()

~ARICHHapdChipInfo ( )
inline

Destructor.

Definition at line 46 of file ARICHHapdChipInfo.h.

46{};

Member Function Documentation

◆ appendBadChannel()

void appendBadChannel ( int  channel)
inline

Add a channel number to the list of bad channels.

Parameters
[in]channelHAPD channel number.

Definition at line 230 of file ARICHHapdChipInfo.h.

230{ m_badChannel.push_back(channel); }

◆ appendCutChannel()

void appendCutChannel ( int  channel)
inline

Add a channel number to the list of cut channels.

Parameters
[in]channelHAPD channel number.

Definition at line 205 of file ARICHHapdChipInfo.h.

205{m_cutChannel.push_back(channel); }

◆ getAvalancheCurrent()

TGraph * getAvalancheCurrent ( unsigned int  i) const

Get 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}

◆ getAvalancheGain()

TGraph * getAvalancheGain ( ) const
inline

Get avalanche Gain as a function of bias voltage.

Returns
Avalanche gain.

Definition at line 136 of file ARICHHapdChipInfo.h.

136{return m_avalancheGain;}

◆ getBadChannel()

int getBadChannel ( unsigned int  i) const

Get a channel number from the list of bad channels.

Parameters
[in]iIndex of the element in the list.
Returns
Channel number.

Definition at line 47 of file ARICHHapdChipInfo.cc.

48{
49 if (i < m_badChannel.size()) return m_badChannel[i];
50 else return -1;
51}

◆ getBadChannelsSize()

int getBadChannelsSize ( ) const
inline

Get size of the list of cut channels.

Returns
Size.

Definition at line 242 of file ARICHHapdChipInfo.h.

242{return m_badChannel.size();}

◆ getBiasCurrent2D()

TH2F * getBiasCurrent2D ( ) const
inline

Get bias current as a function of the channel.

Returns
2D map of the current.

Definition at line 172 of file ARICHHapdChipInfo.h.

172{return m_biasCurrent2D;}

◆ getBiasVoltage()

int getBiasVoltage ( ) const
inline

Get chip bias Voltage.

Returns
Bias voltage.

Definition at line 76 of file ARICHHapdChipInfo.h.

76{return m_biasVoltage;}

◆ getBiasVoltage2D()

TH2F * getBiasVoltage2D ( ) const
inline

Get bias voltage as a function of the channel.

Returns
2D map of the voltage.

Definition at line 160 of file ARICHHapdChipInfo.h.

160{return m_biasVoltage2D;}

◆ getBombardmentCurrent()

TGraph * getBombardmentCurrent ( unsigned int  i) const

Get bombardment current as a function of high voltage.

Returns
Current.

Definition at line 14 of file ARICHHapdChipInfo.cc.

15{
16 if (i < m_bombardmentCurrent.size()) return m_bombardmentCurrent[i];
17 else return NULL;
18}

◆ getBombardmentGain()

TGraph * getBombardmentGain ( ) const
inline

Get bombardment gain as a function of high voltage.

Returns
Bombardment gain.

Definition at line 112 of file ARICHHapdChipInfo.h.

112{return m_bombardmentGain;}

◆ getChannelNumber()

int getChannelNumber ( ) const
inline

Get channel number for the bombardment and avalanche measurements information.

Returns
Channel number.

Definition at line 185 of file ARICHHapdChipInfo.h.

185{return m_channelId;}

◆ getChipLabel()

std::string getChipLabel ( ) const
inline

Get chip label.

Returns
Chip label.

Definition at line 64 of file ARICHHapdChipInfo.h.

64{return m_chip; };

◆ getCutChannel()

int getCutChannel ( unsigned int  i) const

Get a channel number from the list of cut channels.

Parameters
[in]iIndex of the element in the list.
Returns
Channel number.

Definition at line 40 of file ARICHHapdChipInfo.cc.

41{
42 if (i < m_cutChannel.size()) return m_cutChannel[i];
43 else return -1;
44}

◆ getCutChannelsSize()

int getCutChannelsSize ( ) const
inline

Get size of the list of cut channels.

Returns
Size.

Definition at line 217 of file ARICHHapdChipInfo.h.

217{return m_cutChannel.size();}

◆ getGain()

int getGain ( ) const
inline

Get chip gain at operational voltage.

Returns
Chip gain.

Definition at line 88 of file ARICHHapdChipInfo.h.

88{return m_gain;}

◆ getHapdSerial()

std::string getHapdSerial ( ) const
inline

Get HAPD Serial number.

Returns
HAPD Serial number.

Definition at line 52 of file ARICHHapdChipInfo.h.

52{return m_serial; };

◆ getLeakCurrent()

TGraph * getLeakCurrent ( ) const
inline

Get leakeage current as a function of bias voltage.

Returns
Leakage current.

Definition at line 100 of file ARICHHapdChipInfo.h.

100{return m_leakCurrent;}

◆ setAvalancheCurrent()

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

Set avalanche current as a function of bias voltage.

Parameters
[in]acurrentAvalanche current current vs bias.

Definition at line 34 of file ARICHHapdChipInfo.cc.

35{
36 for (unsigned int i = 0; i < acurrent.size(); i++) m_avalancheCurrent.push_back(acurrent[i]);
37}

◆ setAvalancheGain()

void setAvalancheGain ( TGraph *  gain)
inline

Set avalanche Gain as a function of bias voltage.

Parameters
[in]gainAvalanche gain vs bias.

Definition at line 142 of file ARICHHapdChipInfo.h.

142{m_avalancheGain = gain;}

◆ setBadChannel()

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

Set the list of bad channels.

Parameters
[in]channelsHAPD channel numbers.

Definition at line 236 of file ARICHHapdChipInfo.h.

236{m_badChannel = channels; }

◆ setBiasCurrent2D()

void setBiasCurrent2D ( TH2F *  h2d)
inline

Set bias current as a function of the channel.

Parameters
[in]h2d2D map of the current.

Definition at line 178 of file ARICHHapdChipInfo.h.

178{ m_biasCurrent2D = h2d;}

◆ setBiasVoltage()

void setBiasVoltage ( int  voltage)
inline

Set chip bias voltage.

Parameters
[in]voltageBias voltage.

Definition at line 82 of file ARICHHapdChipInfo.h.

82{ m_biasVoltage = voltage; }

◆ setBiasVoltage2D()

void setBiasVoltage2D ( TH2F *  h2d)
inline

Set bias voltage as a function of the channel.

Parameters
[in]h2d2D map of the voltage.

Definition at line 166 of file ARICHHapdChipInfo.h.

166{ m_biasVoltage2D = h2d;}

◆ setBombardmentCurrent()

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

Set bombardment current as a function of high voltage.

Parameters
[in]bcurrentBombardment current current vs high voltage.

Definition at line 21 of file ARICHHapdChipInfo.cc.

22{
23 for (unsigned int i = 0; i < bcurrent.size(); i++) m_bombardmentCurrent.push_back(bcurrent[i]);
24}

◆ setBombardmentGain()

void setBombardmentGain ( TGraph *  gain)
inline

Set bombardment gain as a function of high voltage.

Parameters
[in]gainBombardment gain.

Definition at line 118 of file ARICHHapdChipInfo.h.

118{m_bombardmentGain = gain;}

◆ setChannelNumber()

void setChannelNumber ( int  channel)
inline

Set channel number for the bombardment and avalanche measurements information.

Parameters
[in]channelChannel number

Definition at line 192 of file ARICHHapdChipInfo.h.

192{m_channelId = channel;}

◆ setChipLabel()

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

Set Chip label.

Parameters
[in]chipChip label.

Definition at line 70 of file ARICHHapdChipInfo.h.

70{m_chip = chip; }

◆ setCutChannel()

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

Set the list of cut channels.

Parameters
[in]channelsHAPD channel numbers.

Definition at line 211 of file ARICHHapdChipInfo.h.

211{m_cutChannel = channels; }

◆ setGain()

void setGain ( int  gain)
inline

Set chip gain at operational voltage.

Parameters
[in]gainChip gain.

Definition at line 94 of file ARICHHapdChipInfo.h.

94{ m_gain = gain;}

◆ setHapdSerial()

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

Set HAPD serial number.

Parameters
[in]serialHAPD serial number.

Definition at line 58 of file ARICHHapdChipInfo.h.

58{m_serial = serial; }

◆ setLeakCurrent()

void setLeakCurrent ( TGraph *  current)
inline

Set leakeage current as a function of bias voltage.

Parameters
[in]currentLeakeage current.

Definition at line 106 of file ARICHHapdChipInfo.h.

106{m_leakCurrent = current;}

Member Data Documentation

◆ m_avalancheCurrent

std::vector<TGraph*> m_avalancheCurrent
private

Avalanche Current as a function of bias voltage.

Definition at line 253 of file ARICHHapdChipInfo.h.

◆ m_avalancheGain

TGraph* m_avalancheGain
private

Avalanche Gain as a function of bias voltage.

Definition at line 252 of file ARICHHapdChipInfo.h.

◆ m_badChannel

std::vector<int> m_badChannel
private

List of bad (cut and dead channels) on the HAPD chip.

Definition at line 258 of file ARICHHapdChipInfo.h.

◆ m_biasCurrent2D

TH2F* m_biasCurrent2D
private

Bias Current as a function of the channel.

Definition at line 255 of file ARICHHapdChipInfo.h.

◆ m_biasVoltage

int m_biasVoltage
private

chip bias voltage

Definition at line 247 of file ARICHHapdChipInfo.h.

◆ m_biasVoltage2D

TH2F* m_biasVoltage2D
private

Bias Voltage as a function of the channel.

Definition at line 254 of file ARICHHapdChipInfo.h.

◆ m_bombardmentCurrent

std::vector<TGraph*> m_bombardmentCurrent
private

Bombardment Current as a function of high voltage.

Definition at line 251 of file ARICHHapdChipInfo.h.

◆ m_bombardmentGain

TGraph* m_bombardmentGain
private

Bombardment Gain as a function of high voltage.

Definition at line 250 of file ARICHHapdChipInfo.h.

◆ m_channelId

int m_channelId
private

Channel Number for the Bombardment and Avalanche measurements information.

Definition at line 256 of file ARICHHapdChipInfo.h.

◆ m_chip

std::string m_chip
private

chip label

Definition at line 246 of file ARICHHapdChipInfo.h.

◆ m_cutChannel

std::vector<int> m_cutChannel
private

List of cut channels on the HAPD chip.

Definition at line 257 of file ARICHHapdChipInfo.h.

◆ m_gain

int m_gain
private

Total Gain at Operational Values.

Definition at line 248 of file ARICHHapdChipInfo.h.

◆ m_leakCurrent

TGraph* m_leakCurrent
private

Leakege Current as a function of bias voltage.

Definition at line 249 of file ARICHHapdChipInfo.h.

◆ m_serial

std::string m_serial
private

serial number of the sensor

Definition at line 245 of file ARICHHapdChipInfo.h.


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