Project
Loading...
Searching...
No Matches
o2::tpc::dcs::HV Struct Reference

#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

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

 noexcept
 
std::vector< RawDPsFvoltages
 voltages per GEM stack, counting is IROCs GEM1 top, bottom, GEM2 top, bottom, .. O1 ..., O2
 
std::vector< RawDPsFcurrents
 currents per GEM stack, counting is IROCs GEM1 top, bottom, GEM2 top, bottom, .. O1 ..., O2
 
std::vector< RawDPsStatestates
 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
 

Detailed Description

HV value store

Definition at line 271 of file DCS.h.

Member Typedef Documentation

◆ RawDPsState

Definition at line 304 of file DCS.h.

Member Enumeration Documentation

◆ StackState

enum class o2::tpc::dcs::HV::StackState : char
strong
Enumerator
NO_CONTROL 
STBY_CONFIGURED 
OFF 
RAMPIG_DOWN 
RAMPIG_UP 
RAMPIG_DOWN_LOW 
RAMPIG_UP_LOW 
ON 
ERROR 
INTERMEDIATE 
MIXED 
INTERLOCK 
ERROR_LOCAL 
SOFT_INTERLOCK 

Definition at line 285 of file DCS.h.

Member Function Documentation

◆ append()

void o2::tpc::dcs::HV::append ( const HV other)
inline

Definition at line 373 of file DCS.h.

◆ ClassDefNV()

o2::tpc::dcs::HV::ClassDefNV ( HV  ,
 
)

◆ clear()

void o2::tpc::dcs::HV::clear ( )
inline

Definition at line 366 of file DCS.h.

◆ fillStatus()

void o2::tpc::dcs::HV::fillStatus ( std::string_view  sensor,
const TimeStampType  time,
const uint32_t  value 
)
inline

Fill stack status information.

Definition at line 349 of file DCS.h.

◆ fillUI()

void o2::tpc::dcs::HV::fillUI ( std::string_view  sensor,
const TimeStampType  time,
const DataType  value 
)
inline

Fill voltage and current information.

Definition at line 327 of file DCS.h.

◆ getSector()

static int o2::tpc::dcs::HV::getSector ( std::string_view  sensor)
inlinestatic

Definition at line 310 of file DCS.h.

◆ getStack()

static GEMstack o2::tpc::dcs::HV::getStack ( std::string_view  sensor)
inlinestatic

Definition at line 317 of file DCS.h.

◆ sortAndClean()

void o2::tpc::dcs::HV::sortAndClean ( )
inline

Definition at line 359 of file DCS.h.

Member Data Documentation

◆ currents

std::vector<RawDPsF> o2::tpc::dcs::HV::currents

currents per GEM stack, counting is IROCs GEM1 top, bottom, GEM2 top, bottom, .. O1 ..., O2

Definition at line 307 of file DCS.h.

◆ ElectrodePos

constexpr size_t o2::tpc::dcs::HV::ElectrodePos = 15
staticconstexpr

Electrode type (T, B). OROC is +1.

Definition at line 283 of file DCS.h.

◆ GEMPos

constexpr size_t o2::tpc::dcs::HV::GEMPos = 14
staticconstexpr

GEM position. OROC is +1.

Definition at line 282 of file DCS.h.

◆ noexcept

o2::tpc::dcs::HV::noexcept

Definition at line 274 of file DCS.h.

◆ ROCPos

constexpr size_t o2::tpc::dcs::HV::ROCPos = 11
staticconstexpr

Position of the readout chamber type.

Definition at line 281 of file DCS.h.

◆ SectorPos

constexpr size_t o2::tpc::dcs::HV::SectorPos = 8
staticconstexpr

Position of the sector number.

Definition at line 280 of file DCS.h.

◆ SidePos

constexpr size_t o2::tpc::dcs::HV::SidePos = 7
staticconstexpr

Position of the side identifier.

Definition at line 279 of file DCS.h.

◆ StackStateNameMap

◆ states

std::vector<RawDPsState> o2::tpc::dcs::HV::states

HV state per sector.

Definition at line 308 of file DCS.h.

◆ voltages

std::vector<RawDPsF> o2::tpc::dcs::HV::voltages

voltages per GEM stack, counting is IROCs GEM1 top, bottom, GEM2 top, bottom, .. O1 ..., O2

Definition at line 306 of file DCS.h.


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