![]() |
Project
|
#include <DCS.h>
Public Types | |
| enum class | StackState : char { NO_CONTROL = 2 , STBY_CONFIGURED = 3 , OFF = 4 , RAMPIG_DOWN = 7 , RAMPIG_UP = 8 , RAMPIG_DOWN_LOW = 9 , RAMPIG_UP_LOW = 10 , ON = 11 , ERROR = 13 , INTERMEDIATE = 14 , MIXED = 19 , INTERLOCK = 24 , ERROR_LOCAL = 25 , SOFT_INTERLOCK = 29 } |
| using | RawDPsState = DataPointVector< StackState > |
Public Member Functions | |
| HV () noexcept | |
| void | fillUI (std::string_view sensor, const TimeStampType time, const DataType value) |
| Fill voltage and current information. | |
| void | fillStatus (std::string_view sensor, const TimeStampType time, const uint32_t value) |
| Fill stack status information. | |
| void | sortAndClean () |
| void | clear () |
| void | append (const HV &other) |
| ClassDefNV (HV, 1) | |
Static Public Member Functions | |
| static int | getSector (std::string_view sensor) |
| static GEMstack | getStack (std::string_view sensor) |
Public Attributes | |
| std::vector< RawDPsF > | voltages |
| voltages per GEM stack, counting is IROCs GEM1 top, bottom, GEM2 top, bottom, .. O1 ..., O2 | |
| std::vector< RawDPsF > | currents |
| currents per GEM stack, counting is IROCs GEM1 top, bottom, GEM2 top, bottom, .. O1 ..., O2 | |
| std::vector< RawDPsState > | states |
| HV state per sector. | |
Static Public Attributes | |
| static constexpr size_t | SidePos = 7 |
| Position of the side identifier. | |
| static constexpr size_t | SectorPos = 8 |
| Position of the sector number. | |
| static constexpr size_t | ROCPos = 11 |
| Position of the readout chamber type. | |
| static constexpr size_t | GEMPos = 14 |
| GEM position. OROC is +1. | |
| static constexpr size_t | ElectrodePos = 15 |
| Electrode type (T, B). OROC is +1. | |
| static const std::unordered_map< StackState, std::string > | StackStateNameMap |
| map state to string | |
|
strong |
| o2::tpc::dcs::HV::ClassDefNV | ( | HV | , |
| 1 | |||
| ) |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
| std::vector<RawDPsF> o2::tpc::dcs::HV::currents |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
static |
map state to string
| std::vector<RawDPsState> o2::tpc::dcs::HV::states |
| std::vector<RawDPsF> o2::tpc::dcs::HV::voltages |