Class to contain DCS information from soft FED 1022. More...
#include <DCSRecord.h>
Public Types | |
typedef std::array< std::string, Last > | ParitionNames |
Get the names of all high-voltage partitions. More... | |
enum | Partition { EBp, EBm, EEp, EEm, HBHEa, HBHEb, HBHEc, HF, HO, RPC, DT0, DTp, DTm, CSCp, CSCm, CASTOR, ZDC, TIBTID, TOB, TECp, TECm, BPIX, FPIX, ESp, ESm, Last } |
Public Member Functions | |
DCSRecord () | |
DCSRecord (const online::DCS_v1 &) | |
bool | highVoltageReady (const uint8_t partitionNumber) const |
Return true if the high voltage of the given parition is ready. More... | |
float | magnetCurrent () const |
Return the current of the CMS magnet in A. More... | |
const ParitionNames & | paritionNames () const |
const std::string & | partitionName (const uint8_t partitionNumber) const |
Return the name of the high voltage of the given parition. More... | |
const edm::Timestamp & | timestamp () const |
Return the time of the last change. More... | |
virtual | ~DCSRecord () |
Private Attributes | |
std::bitset< Partition::Last > | highVoltageReady_ |
float | magnetCurrent_ |
edm::Timestamp | timestamp_ |
Static Private Attributes | |
static const ParitionNames | partitionNames_ |
Class to contain DCS information from soft FED 1022.
Definition at line 20 of file DCSRecord.h.
typedef std::array<std::string, Last> DCSRecord::ParitionNames |
Get the names of all high-voltage partitions.
Definition at line 59 of file DCSRecord.h.
enum DCSRecord::Partition |
Enumerator | |
---|---|
EBp | |
EBm | |
EEp | |
EEm | |
HBHEa | |
HBHEb | |
HBHEc | |
HF | |
HO | |
RPC | |
DT0 | |
DTp | |
DTm | |
CSCp | |
CSCm | |
CASTOR | |
ZDC | |
TIBTID | |
TOB | |
TECp | |
TECm | |
BPIX | |
FPIX | |
ESp | |
ESm | |
Last |
Definition at line 22 of file DCSRecord.h.
DCSRecord::DCSRecord | ( | ) |
Definition at line 11 of file DCSRecord.cc.
|
explicit |
Definition at line 13 of file DCSRecord.cc.
References online::DCS_v1::highVoltageReady, highVoltageReady_, online::DCS_v1::magnetCurrent, magnetCurrent_, seconds(), online::DCS_v1::timestamp, and timestamp_.
|
virtual |
Definition at line 22 of file DCSRecord.cc.
|
inline |
Return true if the high voltage of the given parition is ready.
Definition at line 66 of file DCSRecord.h.
References highVoltageReady_.
Referenced by DQMProvInfo::fillDcsBitsFromDCSRecord(), and operator<<().
|
inline |
Return the current of the CMS magnet in A.
Definition at line 69 of file DCSRecord.h.
References magnetCurrent_.
Referenced by operator<<().
|
inline |
|
inline |
Return the name of the high voltage of the given parition.
Definition at line 63 of file DCSRecord.h.
References partitionNames_.
Referenced by operator<<().
|
inline |
Return the time of the last change.
Definition at line 56 of file DCSRecord.h.
References timestamp_.
Referenced by operator<<().
|
private |
Definition at line 73 of file DCSRecord.h.
Referenced by DCSRecord(), and highVoltageReady().
|
private |
Definition at line 74 of file DCSRecord.h.
Referenced by DCSRecord(), and magnetCurrent().
|
staticprivate |
Definition at line 75 of file DCSRecord.h.
Referenced by paritionNames(), and partitionName().
|
private |
Definition at line 72 of file DCSRecord.h.
Referenced by DCSRecord(), and timestamp().