Project
Loading...
Searching...
No Matches
o2::tpc::rawreader::SyncPosition Class Reference

helper encoding of the sync position More...

#include <RawReaderCRU.h>

Public Member Functions

 SyncPosition ()=default
 default constructor
 
void setPos (uint32_t pN, uint32_t fN, uint32_t fP, uint32_t hP)
 
uint32_t getHalfWordPosition () const
 return half word position
 
uint32_t getFrameNumber () const
 
uint32_t getPacketNumber () const
 
bool synched () const
 return if sync was found
 

Friends

std::ostream & operator<< (std::ostream &output, const SyncPosition &sp)
 overloading output stream operator to output the GBT Frame and the halfwords
 

Detailed Description

helper encoding of the sync position

Definition at line 170 of file RawReaderCRU.h.

Constructor & Destructor Documentation

◆ SyncPosition()

o2::tpc::rawreader::SyncPosition::SyncPosition ( )
default

default constructor

Member Function Documentation

◆ getFrameNumber()

uint32_t o2::tpc::rawreader::SyncPosition::getFrameNumber ( ) const
inline

Definition at line 193 of file RawReaderCRU.h.

◆ getHalfWordPosition()

uint32_t o2::tpc::rawreader::SyncPosition::getHalfWordPosition ( ) const
inline

return half word position

Definition at line 191 of file RawReaderCRU.h.

◆ getPacketNumber()

uint32_t o2::tpc::rawreader::SyncPosition::getPacketNumber ( ) const
inline

Definition at line 195 of file RawReaderCRU.h.

◆ setPos()

void o2::tpc::rawreader::SyncPosition::setPos ( uint32_t  pN,
uint32_t  fN,
uint32_t  fP,
uint32_t  hP 
)
inline

set sync position for data decoding

Parameters
pNpacket number
fNframe number
fPfile position
hPhalf word position

Definition at line 181 of file RawReaderCRU.h.

◆ synched()

bool o2::tpc::rawreader::SyncPosition::synched ( ) const
inline

return if sync was found

Definition at line 198 of file RawReaderCRU.h.

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  output,
const SyncPosition sp 
)
friend

overloading output stream operator to output the GBT Frame and the halfwords

Definition at line 201 of file RawReaderCRU.h.


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