Belle II Software development
ARICHHapdInfo Class Reference

Contains manufacturer data of the photo sensor - HAPD. More...

#include <ARICHHapdInfo.h>

Inheritance diagram for ARICHHapdInfo:

Public Types

enum  { c_NumberOfChips = 4 }
 Various constants. More...
 

Public Member Functions

 ARICHHapdInfo ()
 Default constructor.
 
 ARICHHapdInfo (const std::string &serial, float qe400, float hv, int gb, float I, ARICHHapdChipInfo **HAPDChipInfo, TGraph *qe, TGraph *pulseHeight)
 Constructor.
 
 ~ARICHHapdInfo ()
 Destructor.
 
std::string getSerialNumber () const
 Return HAPD Serial Number.
 
void setSerialNumber (const std::string &serial)
 Set HAPD Serial Number.
 
float getQuantumEfficiency400 () const
 Return quantum efficiency at 400 nm.
 
void setQuantumEfficiency400 (float qe)
 Set quantum efficiency at 400 nm.
 
float getHighVoltage () const
 Return operational High Voltage.
 
void setHighVoltage (float hv)
 Set operational High Voltage.
 
int getGuardBias () const
 Return operational Guard Bias.
 
void setGuardBias (int gb)
 Set operational Guard Bias.
 
float getCurrent () const
 Return Operational current.
 
void setCurrent (float I)
 Set Operational current.
 
ARICHHapdChipInfogetHapdChipInfo (unsigned int i) const
 Return HapdChipInfo of the chip i.
 
void setHapdChipInfo (unsigned int i, ARICHHapdChipInfo *chipInfo)
 Set HapdChipInfo of the chip i.
 
TGraph * getQuantumEfficiency () const
 Return Quantum Efficiency as a function of wavelength.
 
void setQuantumEfficiency (TGraph *qe)
 Set Quantum Efficiency as a function of wavelength.
 
TGraph * getPulseHeightDistribution () const
 Return pulse height distribution of one of the HAPD channels.
 
void setPulseHeightDistribution (TGraph *adc)
 Set pulse height distribution of one of the HAPD channels.
 

Private Member Functions

 ClassDef (ARICHHapdInfo, 2)
 ClassDef.
 

Private Attributes

std::string m_serial
 serial number of the sensor
 
float m_qe400
 quantum efficiency at 400 nm
 
float m_highVoltage
 Operational high voltage.
 
int m_guardBias
 guard HV (V)
 
float m_current
 Current (A)

 
ARICHHapdChipInfom_HAPDChipInfo [4]
 HapdChipInfo id of the i-th chip in the sensor.
 
TGraph * m_quantumEfficiency
 Quantum Efficiency as a function of wavelength.
 
TGraph * m_pulseHeight
 Pulse height distribution.
 

Detailed Description

Contains manufacturer data of the photo sensor - HAPD.

Definition at line 23 of file ARICHHapdInfo.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Various constants.

Enumerator
c_NumberOfChips 

number of HAPD Chips on the sensor

Definition at line 29 of file ARICHHapdInfo.h.

29 {c_NumberOfChips = 4,
30 };
@ c_NumberOfChips
number of HAPD Chips on the sensor
Definition: ARICHHapdInfo.h:29

Constructor & Destructor Documentation

◆ ARICHHapdInfo() [1/2]

ARICHHapdInfo ( )
inline

Default constructor.

Definition at line 35 of file ARICHHapdInfo.h.

35 : m_serial(""), m_qe400(0.0), m_highVoltage(0.0), m_guardBias(0), m_current(0.0), m_quantumEfficiency(NULL),
36 m_pulseHeight(NULL)
37 {
38 for (unsigned i = 0; i < 4; i++) m_HAPDChipInfo[i] = NULL;
39 }
float m_current
Current (A)
TGraph * m_pulseHeight
Pulse height distribution.
std::string m_serial
serial number of the sensor
TGraph * m_quantumEfficiency
Quantum Efficiency as a function of wavelength.
int m_guardBias
guard HV (V)
float m_highVoltage
Operational high voltage.
float m_qe400
quantum efficiency at 400 nm
ARICHHapdChipInfo * m_HAPDChipInfo[4]
HapdChipInfo id of the i-th chip in the sensor.

◆ ARICHHapdInfo() [2/2]

ARICHHapdInfo ( const std::string &  serial,
float  qe400,
float  hv,
int  gb,
float  I,
ARICHHapdChipInfo **  HAPDChipInfo,
TGraph *  qe,
TGraph *  pulseHeight 
)
inline

Constructor.

Definition at line 45 of file ARICHHapdInfo.h.

46 : m_serial(serial), m_qe400(qe400), m_highVoltage(hv), m_guardBias(gb), m_current(I), m_quantumEfficiency(qe),
47 m_pulseHeight(pulseHeight)
48 {
49 for (unsigned i = 0; i < 4; i++) m_HAPDChipInfo[i] = HAPDChipInfo[i];
50 }

◆ ~ARICHHapdInfo()

~ARICHHapdInfo ( )
inline

Destructor.

Definition at line 55 of file ARICHHapdInfo.h.

55{};

Member Function Documentation

◆ getCurrent()

float getCurrent ( ) const
inline

Return Operational current.

Returns
current

Definition at line 109 of file ARICHHapdInfo.h.

109{return m_current;}

◆ getGuardBias()

int getGuardBias ( ) const
inline

Return operational Guard Bias.

Returns
guards bias

Definition at line 97 of file ARICHHapdInfo.h.

97{return m_guardBias;}

◆ getHapdChipInfo()

ARICHHapdChipInfo * getHapdChipInfo ( unsigned int  i) const

Return HapdChipInfo of the chip i.

Parameters
iindex of the chip
Returns
HapdChipInfo

Definition at line 15 of file ARICHHapdInfo.cc.

16{
17 if (i < c_NumberOfChips) return m_HAPDChipInfo[i];
18 else return NULL;
19}

◆ getHighVoltage()

float getHighVoltage ( ) const
inline

Return operational High Voltage.

Returns
voltage

Definition at line 85 of file ARICHHapdInfo.h.

85{return m_highVoltage;}

◆ getPulseHeightDistribution()

TGraph * getPulseHeightDistribution ( ) const
inline

Return pulse height distribution of one of the HAPD channels.

Returns
pulse height distribution

Definition at line 147 of file ARICHHapdInfo.h.

147{return m_pulseHeight;}

◆ getQuantumEfficiency()

TGraph * getQuantumEfficiency ( ) const
inline

Return Quantum Efficiency as a function of wavelength.

Returns
quantum efficiency

Definition at line 135 of file ARICHHapdInfo.h.

135{return m_quantumEfficiency;}

◆ getQuantumEfficiency400()

float getQuantumEfficiency400 ( ) const
inline

Return quantum efficiency at 400 nm.

Returns
quantum efficiency

Definition at line 73 of file ARICHHapdInfo.h.

73{return m_qe400;}

◆ getSerialNumber()

std::string getSerialNumber ( ) const
inline

Return HAPD Serial Number.

Returns
serial number

Definition at line 61 of file ARICHHapdInfo.h.

61{return m_serial;}

◆ setCurrent()

void setCurrent ( float  I)
inline

Set Operational current.

Parameters
Icurrent

Definition at line 115 of file ARICHHapdInfo.h.

115{m_current = I;}

◆ setGuardBias()

void setGuardBias ( int  gb)
inline

Set operational Guard Bias.

Parameters
gbguard bias

Definition at line 103 of file ARICHHapdInfo.h.

103{m_guardBias = gb;}

◆ setHapdChipInfo()

void setHapdChipInfo ( unsigned int  i,
ARICHHapdChipInfo chipInfo 
)

Set HapdChipInfo of the chip i.

Parameters
iindex of the chip
chipInfoARICHHapdChipInfo

Definition at line 22 of file ARICHHapdInfo.cc.

23{
24 if (i < c_NumberOfChips) m_HAPDChipInfo[i] = chipInfo;
25}

◆ setHighVoltage()

void setHighVoltage ( float  hv)
inline

Set operational High Voltage.

Parameters
hvvoltage

Definition at line 91 of file ARICHHapdInfo.h.

91{m_highVoltage = hv;}

◆ setPulseHeightDistribution()

void setPulseHeightDistribution ( TGraph *  adc)
inline

Set pulse height distribution of one of the HAPD channels.

Parameters
adcpulse height distribution

Definition at line 153 of file ARICHHapdInfo.h.

153{m_pulseHeight = adc;}

◆ setQuantumEfficiency()

void setQuantumEfficiency ( TGraph *  qe)
inline

Set Quantum Efficiency as a function of wavelength.

Parameters
qequantum efficiency

Definition at line 141 of file ARICHHapdInfo.h.

◆ setQuantumEfficiency400()

void setQuantumEfficiency400 ( float  qe)
inline

Set quantum efficiency at 400 nm.

Parameters
qequantum efficiency

Definition at line 79 of file ARICHHapdInfo.h.

79{m_qe400 = qe;}

◆ setSerialNumber()

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

Set HAPD Serial Number.

Parameters
serialserial number

Definition at line 67 of file ARICHHapdInfo.h.

67{m_serial = serial; }

Member Data Documentation

◆ m_current

float m_current
private

Current (A)

Definition at line 161 of file ARICHHapdInfo.h.

◆ m_guardBias

int m_guardBias
private

guard HV (V)

Definition at line 160 of file ARICHHapdInfo.h.

◆ m_HAPDChipInfo

ARICHHapdChipInfo* m_HAPDChipInfo[4]
private

HapdChipInfo id of the i-th chip in the sensor.

Definition at line 162 of file ARICHHapdInfo.h.

◆ m_highVoltage

float m_highVoltage
private

Operational high voltage.

Definition at line 159 of file ARICHHapdInfo.h.

◆ m_pulseHeight

TGraph* m_pulseHeight
private

Pulse height distribution.

Definition at line 164 of file ARICHHapdInfo.h.

◆ m_qe400

float m_qe400
private

quantum efficiency at 400 nm

Definition at line 158 of file ARICHHapdInfo.h.

◆ m_quantumEfficiency

TGraph* m_quantumEfficiency
private

Quantum Efficiency as a function of wavelength.

Definition at line 163 of file ARICHHapdInfo.h.

◆ m_serial

std::string m_serial
private

serial number of the sensor

Definition at line 157 of file ARICHHapdInfo.h.


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