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

The Class for ARICH bias voltages at gain 40. More...

#include <ARICHBiasVoltages.h>

Inheritance diagram for ARICHBiasVoltages:
Collaboration diagram for ARICHBiasVoltages:

Public Member Functions

 ARICHBiasVoltages ()
 Default constructor.
 
std::vector< int > getBiasVoltages (const std::string &hapdID) const
 Get inner cable ID and type, connected to bias channel. More...
 
void addVoltages (const std::string &hapdID, std::vector< int > biasVoltages)
 Add new entry to the mapping table. More...
 
void print () const
 Print voltages for PS channels.
 

Private Member Functions

 ClassDef (ARICHBiasVoltages, 1)
 ClassDef, must be the last term before the closing {}.
 

Private Attributes

std::map< std::string, std::vector< int > > m_hapd2voltages
 map of voltages to power supply
 

Detailed Description

The Class for ARICH bias voltages at gain 40.

This class provides ARICH bias voltages at gain 40

Definition at line 24 of file ARICHBiasVoltages.h.

Member Function Documentation

◆ addVoltages()

void addVoltages ( const std::string &  hapdID,
std::vector< int >  biasVoltages 
)

Add new entry to the mapping table.

Parameters
hapdIDserial number of HAPD
biasVoltagesvector of applied bias voltages

Definition at line 31 of file ARICHBiasVoltages.cc.

32 {
33  m_hapd2voltages.insert(std::pair<std::string, std::vector<int>>(hapdID, biasVoltages));
34 }
std::map< std::string, std::vector< int > > m_hapd2voltages
map of voltages to power supply

◆ getBiasVoltages()

std::vector< int > getBiasVoltages ( const std::string &  hapdID) const

Get inner cable ID and type, connected to bias channel.

Parameters
hapdIDserial number of HAPD
Returns
biasVoltages vector of applied bias voltages

Definition at line 21 of file ARICHBiasVoltages.cc.


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