72 magnetCurrent_((
float)0.0),
73 magnetTemperature_((
float)0.0)
109 s <<
"DcsStatus Version: " << c.
version() <<
110 " SourceID: "<< c.
sourceID() << std::endl;
113 hora = gmtime(&ts.tv_sec);
114 strftime(zeit,
sizeof(zeit),
"%Y.%m.%d %H:%M:%S", hora);
115 sprintf(line,
" CollectionTime: %s.%9.9d", zeit,
117 s << line << std::endl;
119 sprintf(line,
" TrigType: %d EventID: %d BunchNumber: %d",
121 s << line << std::endl;
123 sprintf(line,
" MagnetCurrent: %e MagnetTemperature: %e",
125 s << line << std::endl;
127 sprintf(line,
" Ready: %d 0x%8.8X", c.
ready(), c.
ready());
128 s << line << std::endl;
140 s << line << std::endl;
unsigned int trigType() const
timespec collectionTime() const
unsigned int bunchNumber_
void set_tv_nsec(long value)
unsigned int bunchNumber() const
float magnetTemperature() const
unsigned long long header
unsigned int ready() const
unsigned int sourceID() const
unsigned int collectionTime_sec
static const char *const partitionName[]
unsigned int collectionTime_nsec
void set_tv_sec(long value)
struct DcsStatusRaw_v4 dcsStatus
float magnetCurrent() const
unsigned int eventID() const
std::ostream & operator<<(std::ostream &s, const DcsStatus &c)
Pretty-print operator for DcsStatus.
static const int partitionList[]