Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
mvtx::GBTCalibDataWord Struct Reference

#include <online_distribution/blob/master/newbasic/mvtx_decoder/GBTWord.h>

+ Inheritance diagram for mvtx::GBTCalibDataWord:
+ Collaboration diagram for mvtx::GBTCalibDataWord:

Public Member Functions

 GBTCalibDataWord ()
 
 GBTCalibDataWord (uint64_t userData, uint16_t counter=0)
 
- Public Member Functions inherited from mvtx::GBTWord
 GBTWord ()=default
 
bool isIHW () const
 check if the GBT Header corresponds to GBT payload header
 
bool isTDH () const
 check if the GBT Header corresponds to GBT payload trailer
 
bool isCDW () const
 check if the GBT Header corresponds to Calibration word
 
bool isTDT () const
 check if the GBT Header corresponds to GBT trigger word
 
bool isDDW () const
 check if the GBT Header corresponds to Diagnostic data
 
bool isDiagnosticIB () const
 check if the GBT Header corresponds to ITS IB diagnostics data (header is combined with lanes info)
 
bool isData () const
 check if the GBT Header corresponds to ITS IB data (header is combined with lanes info)
 
const uint8_t * getW8 () const
 
uint8_t getHeader () const
 
void printX () const
 
std::string asString () const
 

Additional Inherited Members

- Public Attributes inherited from mvtx::GBTWord
union {
   struct {
      uint64_t   activeLanes: 28
 
      uint64_t   na0hn: 36
 0:27 Bit map of lanes active and eligible for readout
 
      uint64_t   na1hn: 8
 28:71 reserved
 
      uint64_t   id: 8
 28:71 reserved
 
   } 
 
   struct {
      uint64_t   lanesStatus: 56
 
      uint64_t   na0t: 5
 0:55 Bit map of “Valid Lane stops received”, 1 bit per lane, NOT USED
 
      uint64_t   timeout_in_idle: 1
 56:60 reserved
 
      uint64_t   timeout_start_stop: 1
 61 = 1 if timeout waiting for a valid word from lanes
 
      uint64_t   timeout_to_start: 1
 62 = 1 if timeout waiting for end-of-packet from all lanes
 
      uint64_t   packet_done: 1
 63 = 1 if timeout waiting for first word from first lane
 
      uint64_t   transmission_timeout: 1
 64 = 1 when current trigger packets transmission done
 
      uint64_t   na1t: 1
 65 = 1 if timeout while waiting for data on lanes
 
      uint64_t   lane_starts_violation: 1
 66 reserved
 
      uint64_t   lane_timeouts: 1
 67 = 1 if at least 1 lane (eligible for readout) had a “start violation”
 
      uint64_t   na2t: 3
 68 = 1 if at least 1 lane (eligible for readout) timed out
 
   } 
 
   struct {
      uint64_t   lane_status: 56
 
      uint64_t   na3tr: 8
 
      uint64_t   na4tr: 1
 56:63 reserved
 
      uint64_t   transmission_timeouts: 1
 64 reserved
 
      uint64_t   na5tr: 1
 
      uint64_t   lane_starts_violations: 1
 66 reserved
 
      uint64_t   index: 4
 
   } 
 
   struct {
      uint64_t   diagnostic_data: 64
 
      uint8_t   lane_error_id: 8
 0:63 Error specific diagnostic data
 
   } 
 
   uint8_t   data8 [GBTWordLength]
 
}; 
 

Detailed Description

Definition at line 145 of file GBTWord.h.

View newest version in sPHENIX GitHub at line 145 of file GBTWord.h

Constructor & Destructor Documentation

mvtx::GBTCalibDataWord::GBTCalibDataWord ( )
inline

bits 0 : 47, user-written tagging fields bits 48 : 71, self-incrementing counter of CDW words bits 72 : 79, calibration indicator

Definition at line 150 of file GBTWord.h.

View newest version in sPHENIX GitHub at line 150 of file GBTWord.h

References mvtx::GBTFlagCDW.

mvtx::GBTCalibDataWord::GBTCalibDataWord ( uint64_t  userData,
uint16_t  counter = 0 
)
inline

Definition at line 151 of file GBTWord.h.

View newest version in sPHENIX GitHub at line 151 of file GBTWord.h

References mvtx::GBTFlagCDW.


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