Belle II Software development
|
The Class for information on HAPD modules installed in ARICH. More...
#include <ARICHModulesInfo.h>
Public Member Functions | |
ARICHModulesInfo () | |
Default constructor. | |
double | getChannelQE (unsigned modId, unsigned chNo) const |
Get channel quantum efficiency. | |
void | setChannelQE (unsigned modId, unsigned chId, double qe) |
Set channel quantum efficiency. | |
void | addModule (unsigned modId, std::vector< float > &qeList, bool active) |
Add installed module. | |
bool | isInstalled (unsigned modId) const |
Check if module is installed. | |
bool | isActive (unsigned modId) const |
Check if module is active. | |
void | print () const |
Dump data. | |
Private Member Functions | |
ClassDef (ARICHModulesInfo, 1) | |
ClassDef, must be the last term before the closing {}. | |
Private Attributes | |
std::vector< uint8_t > | m_ChannelQE |
Channel QE at 400nm. | |
bool | m_active [N_HAPDS] |
array of active HAPDs | |
bool | m_installed [N_HAPDS] |
array of installed HAPDs | |
The Class for information on HAPD modules installed in ARICH.
holds:
Definition at line 33 of file ARICHModulesInfo.h.
ARICHModulesInfo | ( | ) |
Default constructor.
Definition at line 18 of file ARICHModulesInfo.cc.
void addModule | ( | unsigned | modId, |
std::vector< float > & | qeList, | ||
bool | active | ||
) |
Add installed module.
modId | module ID number |
qeList | vector of channel QEs (in %!), arranged according to the channel ASIC numbers |
active | is module active |
Definition at line 42 of file ARICHModulesInfo.cc.
double getChannelQE | ( | unsigned | modId, |
unsigned | chNo | ||
) | const |
Get channel quantum efficiency.
modId | module ID number |
chNo | channel number (ASIC number) |
Definition at line 25 of file ARICHModulesInfo.cc.
bool isActive | ( | unsigned | modId | ) | const |
Check if module is active.
modId | module ID number |
Definition at line 65 of file ARICHModulesInfo.cc.
bool isInstalled | ( | unsigned | modId | ) | const |
Check if module is installed.
modId | module ID number |
Definition at line 58 of file ARICHModulesInfo.cc.
void print | ( | ) | const |
Dump data.
Definition at line 72 of file ARICHModulesInfo.cc.
void setChannelQE | ( | unsigned | modId, |
unsigned | chId, | ||
double | qe | ||
) |
Set channel quantum efficiency.
modId | module ID number |
chId | channel number (ASIC number) |
qe | channel quantum efficiency (0.35 for example) |
Definition at line 34 of file ARICHModulesInfo.cc.
|
private |
array of active HAPDs
Definition at line 87 of file ARICHModulesInfo.h.
|
private |
Channel QE at 400nm.
Definition at line 85 of file ARICHModulesInfo.h.
|
private |
array of installed HAPDs
Definition at line 88 of file ARICHModulesInfo.h.