9#include <framework/logging/Logger.h>
11#include <arich/dbobjects/ARICHBiasVoltages.h>
26 return std::vector<int>(5, 0);
33 m_hapd2voltages.insert(std::pair<std::string, std::vector<int>>(hapdID, biasVoltages));
40 std::vector<int> voltages = x.second;
41 B2INFO(
"voltages: " << x.first <<
": bias A = " << voltages[0] <<
", bias B = " << voltages[1] <<
", bias C = " << voltages[2] <<
42 ", bias D = " << voltages[3] <<
", guard = " << voltages[4]);
void addVoltages(const std::string &hapdID, std::vector< int > biasVoltages)
Add new entry to the mapping table.
std::map< std::string, std::vector< int > > m_hapd2voltages
map of voltages to power supply
ARICHBiasVoltages()
Default constructor.
std::vector< int > getBiasVoltages(const std::string &hapdID) const
Get inner cable ID and type, connected to bias channel.
void print() const
Print voltages for PS channels.
Abstract base class for different kinds of events.