Project
Loading...
Searching...
No Matches
o2::header::RAWDataHeaderV2 Struct Reference

#include <RAWDataHeader.h>

Public Attributes

union { 
 
   uint64_t   word0 = 0x0004ffffff000002 
 
   struct { 
 
      uint64_t   version: 8 
 
      uint64_t   blockLength: 16 
 bit 0 to 8: header version More...
 
      uint64_t   feeId: 16 
 bit 9 to 23: block length More...
 
      uint64_t   linkId: 8 
 bit 24 to 39: FEE identifier More...
 
      uint64_t   headerSize: 8 
 bit 40 to 47: link identifier More...
 
      uint64_t   zero0: 8 
 bit 48 to 55: header size More...
 
   }  
 
};  
 
union { 
 
   uint64_t   word1 = 0x0 
 
   struct { 
 
      uint32_t   triggerOrbit 
 
      uint32_t   heartbeatOrbit 
 bit 0 to 31: trigger orbit More...
 
   }  
 
};  
 
union { 
 
   uint64_t   word2 = 0x0 
 
   struct { 
 
      uint64_t   triggerBC: 12 
 
      uint64_t   triggerType: 32 
 bit 0 to 11: trigger BC ID More...
 
      uint64_t   heartbeatBC: 12 
 bit 12 to 43: trigger type More...
 
      uint64_t   zero2: 8 
 bit 44 to 55: heartbeat BC ID More...
 
   }  
 
};  
 
union { 
 
   uint64_t   word3 = 0x0 
 
   struct { 
 
      uint64_t   pageCnt: 16 
 
      uint64_t   stop: 8 
 bit 0 to 15: pages counter More...
 
      uint64_t   detectorField: 16 
 bit 13 to 23: stop code More...
 
      uint64_t   par: 16 
 bit 24 to 39: detector field More...
 
      uint64_t   zero3: 8 
 bit 40 to 55: par More...
 
   }  
 
};  
 

Detailed Description

RDH v2 this is the version 2 definition which probably has not been adapted by any FEE https://docs.google.com/document/d/1FLcBrPaF3Bg1Pnm17nwaxNlenKtEk3ocizEAiGP58J8

  63     56      48      40      32      24      16       8       0
  |---------------|---------------|---------------|---------------|

0 | zero | size |link id| FEE id | block length | vers |

1 | heartbeat orbit | trigger orbit |

2 | zero |heartbeatBC| trigger type | trigger BC|

3 | zero | par | detector field| stop | page count |

Field description:

  • version: the header version number
  • block length: assumed to be in byte, but discussion not yet finalized
  • FEE ID: unique id of the Frontend equipment
  • Link ID: id of the link within CRU
  • header size: number of 64 bit words
  • heartbeat and trigger orbit/BC: LHC clock parameters, still under discussion whether separate fields for HB and trigger information needed
  • trigger type: bit fiels for the trigger type yet to be decided
  • page count: incremented if data is bigger than the page size, pages are incremented starting from 0
  • stop: bit 0 of the stop field is set if this is the last page
  • detector field and par are detector specific fields

Definition at line 478 of file RAWDataHeader.h.

Member Data Documentation

◆ [union]

◆ [union]

◆ [union]

◆ [union]

◆ blockLength

uint64_t o2::header::RAWDataHeaderV2::blockLength

bit 0 to 8: header version

Definition at line 489 of file RAWDataHeader.h.

◆ detectorField

uint64_t o2::header::RAWDataHeaderV2::detectorField

bit 13 to 23: stop code

Definition at line 517 of file RAWDataHeader.h.

◆ feeId

uint64_t o2::header::RAWDataHeaderV2::feeId

bit 9 to 23: block length

Definition at line 490 of file RAWDataHeader.h.

◆ headerSize

uint64_t o2::header::RAWDataHeaderV2::headerSize

bit 40 to 47: link identifier

Definition at line 492 of file RAWDataHeader.h.

◆ heartbeatBC

uint64_t o2::header::RAWDataHeaderV2::heartbeatBC

bit 12 to 43: trigger type

Definition at line 508 of file RAWDataHeader.h.

◆ heartbeatOrbit

uint32_t o2::header::RAWDataHeaderV2::heartbeatOrbit

bit 0 to 31: trigger orbit

Definition at line 500 of file RAWDataHeader.h.

◆ linkId

uint64_t o2::header::RAWDataHeaderV2::linkId

bit 24 to 39: FEE identifier

Definition at line 491 of file RAWDataHeader.h.

◆ pageCnt

uint64_t o2::header::RAWDataHeaderV2::pageCnt

Definition at line 515 of file RAWDataHeader.h.

◆ par

uint64_t o2::header::RAWDataHeaderV2::par

bit 24 to 39: detector field

Definition at line 518 of file RAWDataHeader.h.

◆ stop

uint64_t o2::header::RAWDataHeaderV2::stop

bit 0 to 15: pages counter

Definition at line 516 of file RAWDataHeader.h.

◆ triggerBC

uint64_t o2::header::RAWDataHeaderV2::triggerBC

Definition at line 506 of file RAWDataHeader.h.

◆ triggerOrbit

uint32_t o2::header::RAWDataHeaderV2::triggerOrbit

Definition at line 499 of file RAWDataHeader.h.

◆ triggerType

uint64_t o2::header::RAWDataHeaderV2::triggerType

bit 0 to 11: trigger BC ID

Definition at line 507 of file RAWDataHeader.h.

◆ version

uint64_t o2::header::RAWDataHeaderV2::version

Definition at line 488 of file RAWDataHeader.h.

◆ word0

uint64_t o2::header::RAWDataHeaderV2::word0 = 0x0004ffffff000002

Definition at line 481 of file RAWDataHeader.h.

◆ word1

uint64_t o2::header::RAWDataHeaderV2::word1 = 0x0

Definition at line 497 of file RAWDataHeader.h.

◆ word2

uint64_t o2::header::RAWDataHeaderV2::word2 = 0x0

Definition at line 504 of file RAWDataHeader.h.

◆ word3

uint64_t o2::header::RAWDataHeaderV2::word3 = 0x0

Definition at line 513 of file RAWDataHeader.h.

◆ zero0

uint64_t o2::header::RAWDataHeaderV2::zero0

bit 48 to 55: header size

Definition at line 493 of file RAWDataHeader.h.

◆ zero2

uint64_t o2::header::RAWDataHeaderV2::zero2

bit 44 to 55: heartbeat BC ID

Definition at line 509 of file RAWDataHeader.h.

◆ zero3

uint64_t o2::header::RAWDataHeaderV2::zero3

bit 40 to 55: par

Definition at line 519 of file RAWDataHeader.h.


The documentation for this struct was generated from the following file: