DWF frame.  
 More...
#include <TimeSlice.hh>
|  | 
| static const unsigned int | Length () | 
|  | Return length of an encoded frame preamble in bytes. 
 | 
|  | 
|  | 
| unsigned int | frameSize | 
|  | Total length of the frame in 4-byte words. 
 | 
|  | 
| unsigned short | dataType | 
|  | Data type code (DAQ_xxx) 
 | 
|  | 
| unsigned short | frameTarget | 
|  | Unique code representing the shore station for this frame. 
 | 
|  | 
| unsigned int | frameTime1 | 
|  | Frame 'time stamp' in units of 50ns (MSW) 
 | 
|  | 
| unsigned int | frameTime2 | 
|  | Frame 'time stamp' in units of 50ns (LSW) 
 | 
|  | 
| unsigned int | frameIndex | 
|  | Number of frames since start of the run. 
 | 
|  | 
| unsigned short | status | 
|  | Status of frame Xon/Xoff. 
 | 
|  | 
| unsigned short | nbItems | 
|  | Number of items actually sent in this frame. 
 | 
|  | 
| unsigned short | LCM_ID | 
|  | ID of originating LCM. 
 | 
|  | 
| unsigned short | ARS_ID | 
|  | ID of originating ARS. 
 | 
|  | 
| unsigned int | runNumber | 
|  | Run-number as given by the RunControl. 
 | 
|  | 
DWF frame. 
Definition at line 379 of file TimeSlice.hh.
◆ item_type
◆ DWF_Frame()
Default constructor. 
Definition at line 386 of file TimeSlice.hh.
Template Frame for ARS data.
 
 
 
◆ ClassDef() [1/3]
◆ getHeader()
Definition at line 18 of file frame.hh.
   19  {
   21        static_cast<const void* const>(&front()));
   22  }
 
 
◆ getPayload()
◆ getSeqNumber()
◆ getFrameLength()
Definition at line 34 of file frame.hh.
   35  {
   37  }
const DAQCommonHeader *const getHeader() const
 
 
◆ getNItems()
◆ operator+=()
operator += 
- Parameters
- 
  
  
- Returns
- this frame 
Definition at line 272 of file TimeSlice.hh.
  273  {
  277      }
  278    }
  279    
  280    return *this;
  281  }
This object holds the information from the 'preamble' of a data frame.
 
 
◆ ClassDef() [2/3]
◆ ClassDef() [3/3]
◆ frameTime()
- Returns
- 64 bit frame time 
Definition at line 40 of file FramePreamble.hh.
   41  {
   43  }
unsigned int frameTime2
Frame 'time stamp' in units of 50ns (LSW)
unsigned int frameTime1
Frame 'time stamp' in units of 50ns (MSW)
 
 
◆ lcm_id()
  
  | 
        
          | const unsigned short DaqFramePreamble::lcm_id | ( |  | ) | const |  | inlineinherited | 
 
get LCM idendifier 
- Returns
- LCM identifier 
Definition at line 67 of file FramePreamble.hh.
unsigned short LCM_ID
ID of originating LCM.
 
 
 
◆ ars_id()
  
  | 
        
          | const unsigned short DaqFramePreamble::ars_id | ( |  | ) | const |  | inlineinherited | 
 
get ARS idendifier 
- Returns
- ARS identifier 
Definition at line 73 of file FramePreamble.hh.
unsigned short ARS_ID
ID of originating ARS.
 
 
 
◆ data_type()
  
  | 
        
          | const unsigned short DaqFramePreamble::data_type | ( |  | ) | const |  | inlineinherited | 
 
get data type 
- Returns
- data type 
Definition at line 79 of file FramePreamble.hh.
unsigned short dataType
Data type code (DAQ_xxx)
 
 
 
◆ numberOfItems()
  
  | 
        
          | const unsigned short DaqFramePreamble::numberOfItems | ( |  | ) | const |  | inlineinherited | 
 
get number of items 
- Returns
- number of items 
Definition at line 85 of file FramePreamble.hh.
unsigned short nbItems
Number of items actually sent in this frame.
 
 
 
◆ getdata()
  
  | 
        
          | virtual const unsigned char * DaqFramePreamble::getdata | ( |  | ) | const |  | inlinevirtualinherited | 
 
Return a pointer to the frame data buffer. 
The returned value points to the start of the frame preamble. 
- Returns
- pointer to data 
Definition at line 92 of file FramePreamble.hh.
 
 
◆ getdatalen()
  
  | 
        
          | virtual const unsigned int DaqFramePreamble::getdatalen | ( |  | ) | const |  | inlinevirtualinherited | 
 
Return the length of the frame data buffer. 
The returned value is in bytes (not words), and includes the frame preamble. 
- Returns
- length of data 
Definition at line 100 of file FramePreamble.hh.
static const unsigned int Length()
Return length of an encoded frame preamble in bytes.
 
 
 
◆ Length()
  
  | 
        
          | static const unsigned int DaqFramePreamble::Length | ( |  | ) |  |  | inlinestaticinherited | 
 
Return length of an encoded frame preamble in bytes. 
Definition at line 111 of file FramePreamble.hh.
 
 
◆ m_seqnumber
◆ frameSize
  
  | 
        
          | unsigned int DaqFramePreamble::frameSize |  | inherited | 
 
Total length of the frame in 4-byte words. 
Definition at line 27 of file FramePreamble.hh.
 
 
◆ dataType
  
  | 
        
          | unsigned short DaqFramePreamble::dataType |  | inherited | 
 
 
◆ frameTarget
  
  | 
        
          | unsigned short DaqFramePreamble::frameTarget |  | inherited | 
 
Unique code representing the shore station for this frame. 
Definition at line 33 of file FramePreamble.hh.
 
 
◆ frameTime1
  
  | 
        
          | unsigned int DaqFramePreamble::frameTime1 |  | inherited | 
 
 
◆ frameTime2
  
  | 
        
          | unsigned int DaqFramePreamble::frameTime2 |  | inherited | 
 
 
◆ frameIndex
  
  | 
        
          | unsigned int DaqFramePreamble::frameIndex |  | inherited | 
 
 
◆ status
  
  | 
        
          | unsigned short DaqFramePreamble::status |  | inherited | 
 
 
◆ nbItems
  
  | 
        
          | unsigned short DaqFramePreamble::nbItems |  | inherited | 
 
Number of items actually sent in this frame. 
Definition at line 52 of file FramePreamble.hh.
 
 
◆ LCM_ID
  
  | 
        
          | unsigned short DaqFramePreamble::LCM_ID |  | inherited | 
 
 
◆ ARS_ID
  
  | 
        
          | unsigned short DaqFramePreamble::ARS_ID |  | inherited | 
 
 
◆ runNumber
  
  | 
        
          | unsigned int DaqFramePreamble::runNumber |  | inherited | 
 
 
The documentation for this class was generated from the following file: