| 
    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... | |
| virtual int | getSize () const | 
| Get size of object.  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 | |
| static int | sizeOf () | 
| Get size of object.  More... | |
| static int | sizeOf () | 
| Get size of object.  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 | setLength () | 
| Set length.  More... | |
| 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 | |
| JReader & | operator>> (JReader &in, JDAQSuperFrame &frame) | 
| Read JDAQSuperFrame from input.  More... | |
| JWriter & | operator<< (JWriter &out, const JDAQSuperFrame &frame) | 
| Write JDAQSuperFrame to output.  More... | |
Data frame of one optical module.
Definition at line 27 of file JDAQSuperFrame.hh.
| typedef JDAQFrame::const_iterator KM3NETDAQ::JDAQSuperFrame::const_iterator | 
Definition at line 34 of file JDAQSuperFrame.hh.
Definition at line 35 of file JDAQSuperFrame.hh.
Definition at line 36 of file JDAQSuperFrame.hh.
Definition at line 37 of file JDAQSuperFrame.hh.
      
  | 
  inline | 
Default constructor.
Definition at line 43 of file JDAQSuperFrame.hh.
      
  | 
  inline | 
Constructor.
| header | JDAQ super frame header | 
Definition at line 55 of file JDAQSuperFrame.hh.
      
  | 
  inline | 
Copy constructor.
| super_frame | JDAQ super frame | 
Definition at line 67 of file JDAQSuperFrame.hh.
      
  | 
  inline | 
Add data from same optical module.
| super_frame | JDAQ super frame | 
Definition at line 80 of file JDAQSuperFrame.hh.
      
  | 
  inline | 
Add hit.
| hit | JDAQ hit | 
Definition at line 95 of file JDAQSuperFrame.hh.
      
  | 
  inline | 
Add data.
| frame | JDAQ frame | 
Definition at line 107 of file JDAQSuperFrame.hh.
      
  | 
  inline | 
Add data.
| number_of_hits | number of hits | 
| data | pointer to data | 
Definition at line 120 of file JDAQSuperFrame.hh.
      
  | 
  inlinevirtual | 
Get size of object.
Reimplemented from KM3NETDAQ::JDAQPreamble.
Definition at line 167 of file JDAQSuperFrame.hh.
| KM3NETDAQ::JDAQSuperFrame::ClassDef | ( | JDAQSuperFrame | , | 
| 3 | |||
| ) | 
      
  | 
  inlinestaticinherited | 
      
  | 
  inherited | 
      
  | 
  inlineprotectedinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inherited | 
      
  | 
  inlineinherited | 
Get DAQ super frame header.
Definition at line 76 of file JDAQSuperFrameHeader.hh.
      
  | 
  inlineinherited | 
Set DAQ super frame header.
| header | DAQ super frame header | 
Definition at line 87 of file JDAQSuperFrameHeader.hh.
      
  | 
  inlinestaticinherited | 
      
  | 
  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 66 of file JDAQFrameStatus.hh.
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
Set DAQ frame status.
| status | DAQ frame status | 
Definition at line 92 of file JDAQFrameStatus.hh.
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
Test DAQ status of packets.
Definition at line 136 of file JDAQFrameStatus.hh.
      
  | 
  inlineinherited | 
Test TDC and White Rabbit status.
Definition at line 147 of file JDAQFrameStatus.hh.
      
  | 
  inlineinherited | 
Get number of received UDP packets.
Definition at line 158 of file JDAQFrameStatus.hh.
      
  | 
  inlineinherited | 
Get maximal sequence number of UDP packet.
Definition at line 169 of file JDAQFrameStatus.hh.
      
  | 
  inlineinherited | 
Test White Rabbit status.
Definition at line 180 of file JDAQFrameStatus.hh.
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
Test high-rate veto status.
Definition at line 202 of file JDAQFrameStatus.hh.
      
  | 
  inlineinherited | 
Test high-rate veto status.
| tdc | TDC | 
Definition at line 214 of file JDAQFrameStatus.hh.
      
  | 
  inlineinherited | 
Count high-rate veto status.
Definition at line 225 of file JDAQFrameStatus.hh.
      
  | 
  inlineinherited | 
Test FIFO status.
Definition at line 246 of file JDAQFrameStatus.hh.
      
  | 
  inlineinherited | 
Test FIFO status.
| tdc | TDC | 
Definition at line 258 of file JDAQFrameStatus.hh.
      
  | 
  inlineinherited | 
Count FIFO status.
Definition at line 269 of file JDAQFrameStatus.hh.
      
  | 
  inlineinherited | 
Count active channels.
Definition at line 288 of file JDAQFrameStatus.hh.
      
  | 
  inlineinherited | 
Get UDP trailer status.
Definition at line 310 of file JDAQFrameStatus.hh.
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
Definition at line 139 of file JDAQFrame.hh.
      
  | 
  inlineinherited | 
Definition at line 143 of file JDAQFrame.hh.
      
  | 
  inlineinherited | 
Definition at line 140 of file JDAQFrame.hh.
      
  | 
  inlineinherited | 
Definition at line 144 of file JDAQFrame.hh.
      
  | 
  inlineinherited | 
Definition at line 147 of file JDAQFrame.hh.
      
  | 
  inlineinherited | 
Definition at line 151 of file JDAQFrame.hh.
      
  | 
  inlineinherited | 
Definition at line 148 of file JDAQFrame.hh.
      
  | 
  inlineinherited | 
Definition at line 152 of file JDAQFrame.hh.
      
  | 
  inlineinherited | 
Definition at line 155 of file JDAQFrame.hh.
      
  | 
  inlineinherited | 
Definition at line 157 of file JDAQFrame.hh.
      
  | 
  inlineinherited | 
Definition at line 159 of file JDAQFrame.hh.
      
  | 
  inlineinherited | 
Definition at line 160 of file JDAQFrame.hh.
      
  | 
  inlineinherited | 
Get hit at given index.
| index | index | 
Definition at line 169 of file JDAQFrame.hh.
      
  | 
  inlineinherited | 
Get subset of data.
| i1 | first index of hit (included) | 
| i2 | last index of hit (excluded) | 
Definition at line 181 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 287 of file JDAQFrame.hh.
      
  | 
  friend | 
Read JDAQSuperFrame from input.
| in | JReader | 
| frame | JDAQSuperFrame | 
Definition at line 135 of file JDAQSuperFrame.hh.
      
  | 
  friend | 
Write JDAQSuperFrame to output.
| out | JWriter | 
| frame | JDAQSuperFrame | 
Definition at line 152 of file JDAQSuperFrame.hh.
      
  | 
  protectedinherited | 
Definition at line 79 of file JDAQAbstractPreamble.hh.
      
  | 
  protectedinherited | 
Definition at line 80 of file JDAQAbstractPreamble.hh.
      
  | 
  protectedinherited | 
Definition at line 237 of file JDAQChronometer.hh.
      
  | 
  protectedinherited | 
Definition at line 238 of file JDAQChronometer.hh.
      
  | 
  protectedinherited | 
Definition at line 239 of file JDAQChronometer.hh.
      
  | 
  protectedinherited | 
Definition at line 240 of file JDAQChronometer.hh.
      
  | 
  protectedinherited | 
Definition at line 153 of file JDAQModuleIdentifier.hh.
      
  | 
  protectedinherited | 
Definition at line 384 of file JDAQFrameStatus.hh.
      
  | 
  protectedinherited | 
Definition at line 385 of file JDAQFrameStatus.hh.
      
  | 
  protectedinherited | 
Definition at line 386 of file JDAQFrameStatus.hh.
      
  | 
  protectedinherited | 
Definition at line 387 of file JDAQFrameStatus.hh.
      
  | 
  protectedinherited | 
Definition at line 388 of file JDAQFrameStatus.hh.
      
  | 
  inherited | 
Definition at line 271 of file JDAQFrame.hh.
      
  | 
  inherited | 
Definition at line 272 of file JDAQFrame.hh.
 1.8.16