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, GEMp, GEMm, 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... | |
float | magneticField () const |
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 63 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 | |
GEMp | |
GEMm | |
Last |
Definition at line 24 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 70 of file DCSRecord.h.
References highVoltageReady_.
Referenced by operator<<().
|
inline |
Return the current of the CMS magnet in A.
Definition at line 73 of file DCSRecord.h.
References magnetCurrent_.
Referenced by operator<<().
|
inline |
Return the magnetic field of the CMS magnet in T The precision is 0.6 to 1.8 mT in the range of a current from 9500 to 18164 A (from Vyach) esla v.Kly ukhi n@cer n.ch
Definition at line 77 of file DCSRecord.h.
References magnetCurrent_.
|
inline |
|
inline |
Return the name of the high voltage of the given parition.
Definition at line 67 of file DCSRecord.h.
References partitionNames_.
Referenced by operator<<().
|
inline |
Return the time of the last change.
Definition at line 60 of file DCSRecord.h.
References timestamp_.
Referenced by operator<<().
|
private |
Definition at line 81 of file DCSRecord.h.
Referenced by DCSRecord(), and highVoltageReady().
|
private |
Definition at line 82 of file DCSRecord.h.
Referenced by DCSRecord(), magnetCurrent(), and magneticField().
|
staticprivate |
Definition at line 83 of file DCSRecord.h.
Referenced by paritionNames(), and partitionName().
|
private |
Definition at line 80 of file DCSRecord.h.
Referenced by DCSRecord(), and timestamp().