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 22 of file DCSRecord.h.
typedef std::array<std::string,Last> DCSRecord::ParitionNames |
Get the names of all high-voltage partitions.
Definition at line 41 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 26 of file DCSRecord.h.
DCSRecord::DCSRecord | ( | ) |
Definition at line 16 of file DCSRecord.cc.
|
explicit |
Definition at line 22 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 33 of file DCSRecord.cc.
|
inline |
Return true if the high voltage of the given parition is ready.
Definition at line 48 of file DCSRecord.h.
References highVoltageReady_.
Referenced by operator<<().
|
inline |
Return the current of the CMS magnet in A.
Definition at line 51 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 45 of file DCSRecord.h.
References partitionNames_.
Referenced by operator<<().
|
inline |
Return the time of the last change.
Definition at line 38 of file DCSRecord.h.
References timestamp_.
Referenced by operator<<().
|
private |
Definition at line 57 of file DCSRecord.h.
Referenced by DCSRecord(), and highVoltageReady().
|
private |
Definition at line 58 of file DCSRecord.h.
Referenced by DCSRecord(), and magnetCurrent().
|
staticprivate |
Definition at line 59 of file DCSRecord.h.
Referenced by paritionNames(), and partitionName().
|
private |
Definition at line 56 of file DCSRecord.h.
Referenced by DCSRecord(), and timestamp().