Jpp
15.0.4
the software that should make you happy
|
DAQ frame status. More...
#include <JDAQFrameStatus.hh>
Public Member Functions | |
JDAQFrameStatus () | |
Default constructor. More... | |
JDAQFrameStatus (const int __daq, const int __status, const int __fifo, const int __status_3=0, const int __status_4=0) | |
Constructor. More... | |
const JDAQFrameStatus & | getDAQFrameStatus () const |
Get DAQ frame status. More... | |
void | setDAQFrameStatus (const JDAQFrameStatus &status) |
Set DAQ frame status. More... | |
int | getDAQStatus () const |
Get DAQ status. More... | |
int | getStatus () const |
Get TDC and White Rabbit status. More... | |
int | getFIFOStatus () const |
Get FIFO status. More... | |
bool | testDAQStatus () const |
Test DAQ status of packets. More... | |
bool | testStatus () const |
Test TDC and White Rabbit status. More... | |
int | getUDPNumberOfReceivedPackets () const |
Get number of received UDP packets. More... | |
int | getUDPMaximalSequenceNumber () const |
Get maximal sequence number of UDP packet. More... | |
bool | testWhiteRabbitStatus () const |
Test White Rabbit status. More... | |
bool | testTDCStatus () const |
Test TDC status. More... | |
bool | testHighRateVeto () const |
Test high-rate veto status. More... | |
bool | testHighRateVeto (const int tdc) const |
Test high-rate veto status. More... | |
int | countHighRateVeto () const |
Count high-rate veto status. More... | |
bool | testFIFOStatus () const |
Test FIFO status. More... | |
bool | testFIFOStatus (const int tdc) const |
Test FIFO status. More... | |
int | countFIFOStatus () const |
Count FIFO status. More... | |
int | countActiveChannels () const |
Count active channels. More... | |
bool | hasUDPTrailer () const |
Get UDP trailer status. More... | |
void | setHighRateVeto (const int tdc, const bool value) |
Set high-rate veto. More... | |
ClassDefNV (JDAQFrameStatus, 1) | |
Static Public Member Functions | |
static const JDAQFrameStatus & | getInstance () |
Get reference to unique instance of this class object. More... | |
Protected Attributes | |
int | daq |
int | status |
int | fifo |
int | status_3 |
int | status_4 |
Friends | |
size_t | getSizeof () |
Definition of method to get size of data type. More... | |
JReader & | operator>> (JReader &, JDAQFrameStatus &) |
Read DAQ frame status from input. More... | |
JWriter & | operator<< (JWriter &, const JDAQFrameStatus &) |
Write DAQ frame status to output. More... | |
DAQ frame status.
Definition at line 17 of file JDAQFrameStatus.hh.
|
inline |
|
inline |
Constructor.
__daq | DAQ status |
__status | TDC status |
__fifo | FIFO status |
__status_3 | spare |
__status_4 | spare |
Definition at line 45 of file JDAQFrameStatus.hh.
|
inlinestatic |
Get reference to unique instance of this class object.
This instance has default values which correspond to a valid DAQ frame status.
Definition at line 65 of file JDAQFrameStatus.hh.
|
inline |
|
inline |
Set DAQ frame status.
status | DAQ frame status |
Definition at line 91 of file JDAQFrameStatus.hh.
|
inline |
|
inline |
|
inline |
|
inline |
Test DAQ status of packets.
Definition at line 135 of file JDAQFrameStatus.hh.
|
inline |
Test TDC and White Rabbit status.
Definition at line 146 of file JDAQFrameStatus.hh.
|
inline |
Get number of received UDP packets.
Definition at line 157 of file JDAQFrameStatus.hh.
|
inline |
Get maximal sequence number of UDP packet.
Definition at line 168 of file JDAQFrameStatus.hh.
|
inline |
Test White Rabbit status.
Definition at line 179 of file JDAQFrameStatus.hh.
|
inline |
Test TDC status.
Definition at line 190 of file JDAQFrameStatus.hh.
|
inline |
Test high-rate veto status.
Definition at line 201 of file JDAQFrameStatus.hh.
|
inline |
Test high-rate veto status.
tdc | TDC |
Definition at line 213 of file JDAQFrameStatus.hh.
|
inline |
Count high-rate veto status.
Definition at line 224 of file JDAQFrameStatus.hh.
|
inline |
Test FIFO status.
Definition at line 245 of file JDAQFrameStatus.hh.
|
inline |
Test FIFO status.
tdc | TDC |
Definition at line 257 of file JDAQFrameStatus.hh.
|
inline |
Count FIFO status.
Definition at line 268 of file JDAQFrameStatus.hh.
|
inline |
Count active channels.
Definition at line 287 of file JDAQFrameStatus.hh.
|
inline |
Get UDP trailer status.
Definition at line 309 of file JDAQFrameStatus.hh.
|
inline |
KM3NETDAQ::JDAQFrameStatus::ClassDefNV | ( | JDAQFrameStatus | , |
1 | |||
) |
|
friend |
Definition of method to get size of data type.
This method should be specialised for each desired data type with fixed length.
|
friend |
Read DAQ frame status from input.
in | reader |
status | DAQ frame status |
Definition at line 36 of file JDAQFrameStatusIO.hh.
|
friend |
Write DAQ frame status to output.
out | writer |
status | DAQ frame status |
Definition at line 55 of file JDAQFrameStatusIO.hh.
|
protected |
Definition at line 330 of file JDAQFrameStatus.hh.
|
protected |
Definition at line 331 of file JDAQFrameStatus.hh.
|
protected |
Definition at line 332 of file JDAQFrameStatus.hh.
|
protected |
Definition at line 333 of file JDAQFrameStatus.hh.
|
protected |
Definition at line 334 of file JDAQFrameStatus.hh.