Project
Loading...
Searching...
No Matches
o2::mch::raw::DataDecoder::SampaInfo Struct Reference

Structure storing the raw SAMPA information. More...

#include <DataDecoder.h>

Public Member Functions

uint32_t getBXTime () const
 
bool timeValid () const
 
bool operator== (const SampaInfo &) const
 
bool operator< (const SampaInfo &rhs) const
 

Public Attributes

union { 
 
   uint32_t   id = 0 
 
   struct { 
 
      uint32_t   chip: 1 
 
      uint32_t   ds: 6 
 
      uint32_t   solar: 16 
 
      uint32_t   unused: 9 
 
   }  
 
};  
 
union { 
 
   uint64_t   time = 0x0000000000000000 
 
   struct { 
 
      uint32_t   sampaTime: 10 
 
      uint32_t   bunchCrossing: 20 
 bit 0 to 9: sampa time More...
 
      uint32_t   reserved: 2 
 bit 10 to 29: bunch crossing counter More...
 
      uint32_t   orbit 
 bit 30 to 31: reserved More...
 
   }  
 
};  
 
int32_t tfTime
 

Detailed Description

Structure storing the raw SAMPA information.

Definition at line 69 of file DataDecoder.h.

Member Function Documentation

◆ getBXTime()

uint32_t o2::mch::raw::DataDecoder::SampaInfo::getBXTime ( ) const
inline

Definition at line 90 of file DataDecoder.h.

◆ operator<()

bool o2::mch::raw::DataDecoder::SampaInfo::operator< ( const SampaInfo rhs) const
inline

Definition at line 101 of file DataDecoder.h.

◆ operator==()

bool o2::mch::raw::DataDecoder::SampaInfo::operator== ( const SampaInfo other) const

Definition at line 141 of file DataDecoder.cxx.

◆ timeValid()

bool o2::mch::raw::DataDecoder::SampaInfo::timeValid ( ) const
inline

Definition at line 95 of file DataDecoder.h.

Member Data Documentation

◆ [union]

◆ [union]

◆ bunchCrossing

uint32_t o2::mch::raw::DataDecoder::SampaInfo::bunchCrossing

bit 0 to 9: sampa time

Definition at line 85 of file DataDecoder.h.

◆ chip

uint32_t o2::mch::raw::DataDecoder::SampaInfo::chip

Definition at line 73 of file DataDecoder.h.

◆ ds

uint32_t o2::mch::raw::DataDecoder::SampaInfo::ds

Definition at line 74 of file DataDecoder.h.

◆ id

uint32_t o2::mch::raw::DataDecoder::SampaInfo::id = 0

Definition at line 71 of file DataDecoder.h.

◆ orbit

uint32_t o2::mch::raw::DataDecoder::SampaInfo::orbit

bit 30 to 31: reserved

Definition at line 87 of file DataDecoder.h.

◆ reserved

uint32_t o2::mch::raw::DataDecoder::SampaInfo::reserved

bit 10 to 29: bunch crossing counter

Definition at line 86 of file DataDecoder.h.

◆ sampaTime

uint32_t o2::mch::raw::DataDecoder::SampaInfo::sampaTime

Definition at line 84 of file DataDecoder.h.

◆ solar

uint32_t o2::mch::raw::DataDecoder::SampaInfo::solar

Definition at line 75 of file DataDecoder.h.

◆ tfTime

int32_t o2::mch::raw::DataDecoder::SampaInfo::tfTime

Definition at line 94 of file DataDecoder.h.

◆ time

uint64_t o2::mch::raw::DataDecoder::SampaInfo::time = 0x0000000000000000

Definition at line 82 of file DataDecoder.h.

◆ unused

uint32_t o2::mch::raw::DataDecoder::SampaInfo::unused

Definition at line 76 of file DataDecoder.h.


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