Jpp 19.3.0-rc.2
the software that should make you happy
Loading...
Searching...
No Matches
daq_common_header.hh File Reference
#include <stdint.h>
#include "utctime.hh"
#include <ostream>

Go to the source code of this file.

Classes

struct  DAQCommonHeader
 
class  DAQHeaderPrinter
 

Functions

std::ostream & operator<< (std::ostream &stream, const DAQHeaderPrinter &header)
 

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream & stream,
const DAQHeaderPrinter & header )
inline

Definition at line 56 of file daq_common_header.hh.

57{
58 return stream << "FrameLenght: " << header.m_pointer->FrameLength << '\n'
59 << "DataType: " << header.m_pointer->DataType << '\n'
60 << "DetectorId: " << header.m_pointer->DetectorIdentifier << '\n'
61 << "RunNumber: " << header.m_pointer->RunNumber << '\n'
62 << "SequenceNumber: " << header.m_pointer->SequenceNumber << '\n'
63 << "UTC time:\n"
64 << "Seconds: " << header.m_pointer->Timestamp.Sec << '\n'
65 << "Tics: " << header.m_pointer->Timestamp.Tics << '\n'
66 << "DOMIdentifier: " << header.m_pointer->DOMIdentifier << '\n'
67 << "DQStatus:\n"
68 << "NumberOfPackets: " << header.m_pointer->NumberOfPackets << '\n'
69 << "HighestPktNumber: " << header.m_pointer->HighestPacketNumber << '\n'
70 << "DOMStatus 1: " << header.m_pointer->DOMStatus1 << '\n'
71 << "DOMStatus 2: " << header.m_pointer->DOMStatus2 << '\n'
72 << "DOMStatus 3: " << header.m_pointer->DOMStatus3 << '\n'
73 << "DOMStatus 4: " << header.m_pointer->DOMStatus4 << '\n'
74 << "NumberOfItems: " << header.m_pointer->NumberOfItems;
75}
const DAQCommonHeader * m_pointer
uint32_t Sec
Definition utctime.hh:14
uint32_t Tics
Definition utctime.hh:15