9#include "BmnFunctionSet.h"
13using SysPoint = std::chrono::time_point<SysClock>;
15template<
typename IntType = UChar_t>
29 std::array<IntType, MSC_N_COUNTERS> iValue = {},
64 std::array<IntType, MSC_N_COUNTERS>&
GetValue() {
return fValue; }
68 TTimeStamp
GetTS()
const {
return fTS; }
76 constexpr static const UInt_t
GetNVals() {
return NVals; }
84 std::array<IntType, NVals> fValue;
std::chrono::system_clock SysClock
std::chrono::time_point< SysClock > SysPoint
const uint8_t MSC_EC_BUSY
const uint32_t MSC_N_COUNTERS
const uint8_t MSC_EC_SPILL
static SysPoint TimeStamp2TP(TTimeStamp p)
BmnMSCDigit(UInt_t iSerial, UInt_t iSlot, UInt_t evId, SysPoint time=SysPoint::min())
static constexpr const UInt_t GetNVals()
UInt_t GetLastEventId() const
std::array< IntType, MSC_N_COUNTERS > & GetValue()
BmnMSCDigit(UInt_t iSerial=0, UInt_t iSlot=0, std::array< IntType, MSC_N_COUNTERS > iValue={}, UInt_t evId=0, SysPoint time=SysPoint::min(), UChar_t ext_cond=0)
std::chrono::time_point< SysClock > SysPoint