ICP
1
|
#include <TCPEventStreamDefs.h>
Public Member Functions | |
TCPStreamEventDataNeutron () | |
TCPStreamEventDataNeutron (const TCPStreamEventHeader &head_) | |
bool | isValid () const |
Public Attributes | |
TCPStreamEventHeader | head |
TCPStreamEventHeaderNeutron | head_n |
details of ISIS frame data was collected in and the number of neutron events in this packet More... | |
std::vector < TCPStreamEventNeutron > | data |
list of neutron events More... | |
structure of a packet describing a set of events - all these events correspond to the same ISIS frame (as specified in TCPStreamEventHeaderNeutron) but there may be several of these structures sent for each frame. There is no guarantee that you will receive all structures for frame n before receiving some structures for frame n+1 as data is spooled immediately it is read from a detector card. In the actual network stream the data will be an array rather than a stl vector as shown in the structure The data is generated in TCPEventStreamConnection::allEventCallback() and then spooled to clients in TCPEventStreamConnection::run() See EventsToolApp::liveData() in events_tool.cpp for a client example
Definition at line 95 of file TCPEventStreamDefs.h.
|
inline |
Definition at line 101 of file TCPEventStreamDefs.h.
|
inline |
Definition at line 102 of file TCPEventStreamDefs.h.
|
inline |
Definition at line 103 of file TCPEventStreamDefs.h.
References data, head, head_n, TCPStreamEventHeader::isValid(), TCPStreamEventHeaderNeutron::isValid(), TCPStreamEventHeader::Neutron, TCPStreamEventHeaderNeutron::nevents, and TCPStreamEventHeader::type.
Referenced by TCPEventStreamConnection::allEventCallback(), and EventsToolApp::liveData().
std::vector<TCPStreamEventNeutron> TCPStreamEventDataNeutron::data |
list of neutron events
Definition at line 99 of file TCPEventStreamDefs.h.
Referenced by TCPEventStreamConnection::allEventCallback(), isValid(), and EventsToolApp::liveData().
TCPStreamEventHeader TCPStreamEventDataNeutron::head |
Definition at line 97 of file TCPEventStreamDefs.h.
Referenced by TCPEventStreamConnection::allEventCallback(), isValid(), and EventsToolApp::liveData().
TCPStreamEventHeaderNeutron TCPStreamEventDataNeutron::head_n |
details of ISIS frame data was collected in and the number of neutron events in this packet
Definition at line 98 of file TCPEventStreamDefs.h.
Referenced by TCPEventStreamConnection::allEventCallback(), isValid(), and EventsToolApp::liveData().