|
Jpp
|
Data frame of one optical module. More...
#include <JDAQSuperFrame.hh>
Public Types | |
| typedef JDAQFrame::const_iterator | const_iterator |
| typedef JDAQFrame::iterator | iterator |
| typedef JDAQFrame::const_reverse_iterator | const_reverse_iterator |
| typedef JDAQFrame::reverse_iterator | reverse_iterator |
Public Member Functions | |
| JDAQSuperFrame () | |
| Default constructor. More... | |
| JDAQSuperFrame (const JDAQSuperFrameHeader &header) | |
| Constructor. More... | |
| JDAQSuperFrame (const JDAQSuperFrame &super_frame) | |
| Copy constructor. More... | |
| JDAQSuperFrame & | add (const JDAQSuperFrame &super_frame) |
| Add data from same optical module. More... | |
| JDAQSuperFrame & | add (const JDAQHit &hit) |
| Add hit. More... | |
| JDAQSuperFrame & | add (const JDAQFrame &frame) |
| Add data. More... | |
| JDAQSuperFrame & | add (const int number_of_hits, const JDAQHit *data) |
| Add data. More... | |
| ClassDef (JDAQSuperFrame, 3) | |
| ClassDef (JDAQPreamble, 1) | |
| int | getLength () const |
| Get length. More... | |
| int | getDataType () const |
| Get data type. More... | |
| ClassDefNV (JDAQAbstractPreamble, 1) | |
| const JDAQSuperFrameHeader & | getDAQSuperFrameHeader () const |
| Get DAQ super frame header. More... | |
| void | setDAQSuperFrameHeader (const JDAQSuperFrameHeader &header) |
| Set DAQ super frame header. More... | |
| ClassDef (JDAQSuperFrameHeader, 2) | |
| ClassDef (JDAQHeader, 2) | |
| ClassDef (JDAQChronometer, 3) | |
| const JDAQHeader & | getDAQHeader () const |
| Get DAQ header. More... | |
| void | setDAQHeader (const JDAQHeader &header) |
| Set DAQ header. More... | |
| const JDAQChronometer & | getDAQChronometer () const |
| Get DAQ chronometer. More... | |
| void | setDAQChronometer (const JDAQChronometer &chronometer) |
| Set DAQ chronometer. More... | |
| int | getDetectorID () const |
| Get detector identifier. More... | |
| int | getRunNumber () const |
| Get run number. More... | |
| int | getFrameIndex () const |
| Get frame index. More... | |
| JDAQUTCExtended | getTimesliceStart () const |
| Get start of timeslice. More... | |
| void | setRunNumber (const int run) |
| Set run number. More... | |
| void | setFrameIndex (const int frame_index) |
| Set frame index. More... | |
| void | setTimesliceStart (const JDAQUTCExtended ×lice_start) |
| Set timeslice start time. More... | |
| const JDAQModuleIdentifier & | getModuleIdentifier () const |
| Get Module identifier. More... | |
| void | setModuleIdentifier (const JDAQModuleIdentifier &module) |
| Set Module identifier. More... | |
| int | getModuleID () const |
| Get module identifier. More... | |
| ClassDefNV (JDAQModuleIdentifier, 1) | |
| ClassDefNV (JDAQFrameStatus, 1) | |
| 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... | |
| void | clear () |
| Clear data. More... | |
| const_iterator | begin () const |
| iterator | begin () |
| const_iterator | end () const |
| iterator | end () |
| const_reverse_iterator | rbegin () const |
| reverse_iterator | rbegin () |
| const_reverse_iterator | rend () const |
| reverse_iterator | rend () |
| bool | empty () const |
| int | size () const |
| const JDAQHit * | data () const |
| JDAQHit * | data () |
| const JDAQHit & | operator[] (int index) const |
| Get hit at given index. More... | |
| JDAQFrameSubset | subset (const int i1, const int i2) const |
| Get subset of data. More... | |
| void | swap (JDAQFrame &frame) |
| Swap data. More... | |
| ClassDef (JDAQFrame, 1) | |
Static Public Member Functions | |
| template<class T > | |
| static JDAQPreamble | getDAQPreamble (const T &object) |
| Get DAQ preamble. More... | |
| static const JDAQFrameStatus & | getInstance () |
| Get reference to unique instance of this class object. More... | |
Public Attributes | |
| int | numberOfHits |
| JDAQHit * | buffer |
Protected Member Functions | |
| void | resize (const int number_of_hits) |
| Resize internal buffer. More... | |
Protected Attributes | |
| int | length |
| int | type |
| int | detector_id |
| int | run |
| int | frame_index |
| JDAQUTCExtended | timeslice_start |
| int | id |
| int | daq |
| int | status |
| int | fifo |
| int | status_3 |
| int | status_4 |
Friends | |
| size_t | getSizeof (const JDAQSuperFrame &) |
| Get size of object. More... | |
| JReader & | operator>> (JReader &, JDAQSuperFrame &) |
| Read JDAQ super frame from input. More... | |
| JWriter & | operator<< (JWriter &, const JDAQSuperFrame &) |
| Write JDAQSuperFrame to output. More... | |
Data frame of one optical module.
Definition at line 22 of file JDAQSuperFrame.hh.
| typedef JDAQFrame::const_iterator KM3NETDAQ::JDAQSuperFrame::const_iterator |
Definition at line 29 of file JDAQSuperFrame.hh.
Definition at line 30 of file JDAQSuperFrame.hh.
Definition at line 31 of file JDAQSuperFrame.hh.
Definition at line 32 of file JDAQSuperFrame.hh.
|
inline |
Default constructor.
Definition at line 41 of file JDAQSuperFrame.hh.
|
inline |
Constructor.
| header | JDAQ super frame header |
Definition at line 53 of file JDAQSuperFrame.hh.
|
inline |
Copy constructor.
| super_frame | JDAQ super frame |
Definition at line 65 of file JDAQSuperFrame.hh.
|
inline |
Add data from same optical module.
| super_frame | JDAQ super frame |
Definition at line 78 of file JDAQSuperFrame.hh.
|
inline |
Add hit.
| hit | JDAQ hit |
Definition at line 93 of file JDAQSuperFrame.hh.
|
inline |
Add data.
| frame | JDAQ frame |
Definition at line 105 of file JDAQSuperFrame.hh.
|
inline |
Add data.
| number_of_hits | number of hits |
| data | pointer to data |
Definition at line 118 of file JDAQSuperFrame.hh.
| KM3NETDAQ::JDAQSuperFrame::ClassDef | ( | JDAQSuperFrame | , |
| 3 | |||
| ) |
|
inlinestaticinherited |
Get DAQ preamble.
This method should be used for binary I/O to get the actual data for the given object.
To this end, the following method should be overloaded for the corresponding data type.
size_t getSizeof(const T&);
| object | object |
Definition at line 76 of file JDAQPreamble.hh.
|
inherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
Get DAQ super frame header.
Definition at line 75 of file JDAQSuperFrameHeader.hh.
|
inlineinherited |
Set DAQ super frame header.
| header | DAQ super frame header |
Definition at line 86 of file JDAQSuperFrameHeader.hh.
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Set DAQ chronometer.
| chronometer | DAQ chronometer |
Definition at line 99 of file JDAQChronometer.hh.
|
inlineinherited |
Get detector identifier.
Definition at line 110 of file JDAQChronometer.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Set frame index.
| frame_index | frame index |
Definition at line 166 of file JDAQChronometer.hh.
|
inlineinherited |
Set timeslice start time.
| timeslice_start | timeslice start time |
Definition at line 177 of file JDAQChronometer.hh.
|
inlineinherited |
Get Module identifier.
Definition at line 50 of file JDAQModuleIdentifier.hh.
|
inlineinherited |
Set Module identifier.
| module | Module identifier |
Definition at line 61 of file JDAQModuleIdentifier.hh.
|
inlineinherited |
Get module identifier.
Definition at line 72 of file JDAQModuleIdentifier.hh.
|
inherited |
|
inherited |
|
inlinestaticinherited |
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.
|
inlineinherited |
|
inlineinherited |
Set DAQ frame status.
| status | DAQ frame status |
Definition at line 91 of file JDAQFrameStatus.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Test DAQ status of packets.
Definition at line 135 of file JDAQFrameStatus.hh.
|
inlineinherited |
Test TDC and White Rabbit status.
Definition at line 146 of file JDAQFrameStatus.hh.
|
inlineinherited |
Get number of received UDP packets.
Definition at line 157 of file JDAQFrameStatus.hh.
|
inlineinherited |
Get maximal sequence number of UDP packet.
Definition at line 168 of file JDAQFrameStatus.hh.
|
inlineinherited |
Test White Rabbit status.
Definition at line 179 of file JDAQFrameStatus.hh.
|
inlineinherited |
|
inlineinherited |
Test high-rate veto status.
Definition at line 201 of file JDAQFrameStatus.hh.
|
inlineinherited |
Test high-rate veto status.
| tdc | TDC |
Definition at line 213 of file JDAQFrameStatus.hh.
|
inlineinherited |
Count high-rate veto status.
Definition at line 224 of file JDAQFrameStatus.hh.
|
inlineinherited |
Test FIFO status.
Definition at line 245 of file JDAQFrameStatus.hh.
|
inlineinherited |
Test FIFO status.
| tdc | TDC |
Definition at line 257 of file JDAQFrameStatus.hh.
|
inlineinherited |
Count FIFO status.
Definition at line 268 of file JDAQFrameStatus.hh.
|
inlineinherited |
Count active channels.
Definition at line 287 of file JDAQFrameStatus.hh.
|
inlineinherited |
Get UDP trailer status.
Definition at line 309 of file JDAQFrameStatus.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 136 of file JDAQFrame.hh.
|
inlineinherited |
Definition at line 140 of file JDAQFrame.hh.
|
inlineinherited |
Definition at line 137 of file JDAQFrame.hh.
|
inlineinherited |
Definition at line 141 of file JDAQFrame.hh.
|
inlineinherited |
Definition at line 144 of file JDAQFrame.hh.
|
inlineinherited |
Definition at line 148 of file JDAQFrame.hh.
|
inlineinherited |
Definition at line 145 of file JDAQFrame.hh.
|
inlineinherited |
Definition at line 149 of file JDAQFrame.hh.
|
inlineinherited |
Definition at line 152 of file JDAQFrame.hh.
|
inlineinherited |
Definition at line 154 of file JDAQFrame.hh.
|
inlineinherited |
Definition at line 156 of file JDAQFrame.hh.
|
inlineinherited |
Definition at line 157 of file JDAQFrame.hh.
|
inlineinherited |
Get hit at given index.
| index | index |
Definition at line 166 of file JDAQFrame.hh.
|
inlineinherited |
Get subset of data.
| i1 | first index of hit (included) |
| i2 | last index of hit (excluded) |
Definition at line 178 of file JDAQFrame.hh.
|
inlineinherited |
|
inherited |
|
inlineprotectedinherited |
Resize internal buffer.
This method increases the size of the buffer if necessary. Otherwise, the current size is maintained.
| number_of_hits | total number of hits to allocate |
Definition at line 244 of file JDAQFrame.hh.
|
friend |
Get size of object.
| object | DAQ super frame |
Definition at line 23 of file JDAQSuperFrameIO.hh.
|
friend |
Read JDAQ super frame from input.
| in | reader |
| object | DAQ super frame |
Definition at line 38 of file JDAQSuperFrameIO.hh.
|
friend |
Write JDAQSuperFrame to output.
| out | writer |
| object | DAQ super frame |
Definition at line 55 of file JDAQSuperFrameIO.hh.
|
protectedinherited |
Definition at line 69 of file JDAQAbstractPreamble.hh.
|
protectedinherited |
Definition at line 70 of file JDAQAbstractPreamble.hh.
|
protectedinherited |
Definition at line 187 of file JDAQChronometer.hh.
|
protectedinherited |
Definition at line 188 of file JDAQChronometer.hh.
|
protectedinherited |
Definition at line 189 of file JDAQChronometer.hh.
|
protectedinherited |
Definition at line 190 of file JDAQChronometer.hh.
|
protectedinherited |
Definition at line 112 of file JDAQModuleIdentifier.hh.
|
protectedinherited |
Definition at line 330 of file JDAQFrameStatus.hh.
|
protectedinherited |
Definition at line 331 of file JDAQFrameStatus.hh.
|
protectedinherited |
Definition at line 332 of file JDAQFrameStatus.hh.
|
protectedinherited |
Definition at line 333 of file JDAQFrameStatus.hh.
|
protectedinherited |
Definition at line 334 of file JDAQFrameStatus.hh.
|
inherited |
Definition at line 228 of file JDAQFrame.hh.
|
inherited |
Definition at line 229 of file JDAQFrame.hh.
1.8.16