10 "EBp",
"EBm",
"EEp",
"EEm",
"HBHEa",
"HBHEb",
"HBHEc",
"HF",
"HO",
11 "RPC",
"DT0",
"DTp",
"DTm",
"CSCp",
"CSCm",
"CASTOR",
"ZDC",
12 "TIBTID",
"TOB",
"TECp",
"TECm",
"BPIX",
"FPIX",
"ESp",
"ESm" 26 const uint32_t microseconds = (dcs.
timestamp % 1000) * 1000;
40 s <<
"timeStamp: " << asctime(localtime(&ts));
42 std::streamsize ss = s.precision();
49 s <<
"HV state per partition:" << std::endl;
51 for (
unsigned int i = 0;
i < DCSRecord::Partition::Last; ++
i) {
const uint32_t highVoltageReady
std::bitset< Partition::Last > highVoltageReady_
float magnetCurrent() const
Return the current of the CMS magnet in A.
Class to contain DCS information from soft FED 1022.
static const ParitionNames partitionNames_
std::array< std::string, Last > ParitionNames
Get the names of all high-voltage partitions.
unsigned int unixTime() const
Time in seconds since January 1, 1970.
const std::string & partitionName(const uint8_t partitionNumber) const
Return the name of the high voltage of the given parition.
unsigned long long uint64_t
const edm::Timestamp & timestamp() const
Return the time of the last change.
bool highVoltageReady(const uint8_t partitionNumber) const
Return true if the high voltage of the given parition is ready.
const float magnetCurrent
std::ostream & operator<<(std::ostream &s, const DCSRecord &dcs)
Pretty-print operator for DCSRecord.
edm::Timestamp timestamp_