15 "EBp",
"EBm",
"EEp",
"EEm",
"HBHEa",
"HBHEb",
"HBHEc",
"HF",
"HO",
"RPC",
"DT0",
"DTp",
"DTm",
16 "CSCp",
"CSCm",
"CASTOR",
"ZDC",
"TIBTID",
"TOB",
"TECp",
"TECm",
"BPIX",
"FPIX",
"ESp",
"ESm"};
24 collectionTime_(0, 0),
26 magnetCurrent_((float)0.0),
27 magnetTemperature_((float)0.0) {}
52 constexpr
size_t kZeitBufferSize = 128;
53 char zeit[kZeitBufferSize];
54 constexpr
size_t kLineBufferSize = 157;
55 char line[kLineBufferSize];
58 s <<
"DcsStatus Version: " << c.
version() <<
" SourceID: " << c.
sourceID() << std::endl;
61 hora = gmtime(&ts.tv_sec);
62 strftime(zeit, kZeitBufferSize,
"%Y.%m.%d %H:%M:%S", hora);
63 snprintf(line, kLineBufferSize,
" CollectionTime: %s.%9.9d", zeit, (
int)ts.tv_nsec);
64 s << line << std::endl;
68 " TrigType: %d EventID: %d BunchNumber: %d",
72 s << line << std::endl;
76 s << line << std::endl;
78 snprintf(line, kLineBufferSize,
" Ready: %d 0x%8.8X", c.
ready(), c.
ready());
79 s << line << std::endl;
87 s << line << std::endl;
unsigned int trigType() const
const edm::EventSetup & c
timespec collectionTime() const
unsigned int bunchNumber_
void set_tv_nsec(long value)
unsigned int bunchNumber() const
std::ostream & operator<<(std::ostream &out, const ALILine &li)
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
static const int partitionList[]