Project
Loading...
Searching...
No Matches
o2::raw::RawFileReader::LinkBlock Struct Reference

#include <RawFileReader.h>

Public Types

enum  { StartTF = 0x1 , StartHB = 0x1 << 1 , StartSP = 0x1 << 2 , EndHB = 0x1 << 3 }
 

Public Member Functions

 LinkBlock ()=default
 optional cache for fast access
 
 LinkBlock (int fid, size_t offs)
 
void setFlag (uint8_t fl, bool v=true)
 
bool testFlag (uint8_t fl) const
 
void print (const std::string &pref="") const
 

Public Attributes

size_t offset = 0
 
uint32_t size = 0
 where data of the block starts
 
uint32_t tfID = 0
 block size
 
IR ir = 0
 tf counter (from 0)
 
uint16_t fileID = 0
 ir starting the block
 
uint8_t flags = 0
 file id where the block is located
 
std::unique_ptr< char[]> dataCache
 different flags
 

Detailed Description

Definition at line 146 of file RawFileReader.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
StartTF 
StartHB 
StartSP 
EndHB 

Definition at line 147 of file RawFileReader.h.

Constructor & Destructor Documentation

◆ LinkBlock() [1/2]

o2::raw::RawFileReader::LinkBlock::LinkBlock ( )
default

optional cache for fast access

◆ LinkBlock() [2/2]

o2::raw::RawFileReader::LinkBlock::LinkBlock ( int  fid,
size_t  offs 
)
inline

Definition at line 159 of file RawFileReader.h.

Member Function Documentation

◆ print()

void RawFileReader::LinkBlock::print ( const std::string &  pref = "") const

Definition at line 39 of file RawFileReader.cxx.

◆ setFlag()

void o2::raw::RawFileReader::LinkBlock::setFlag ( uint8_t  fl,
bool  v = true 
)
inline

Definition at line 160 of file RawFileReader.h.

◆ testFlag()

bool o2::raw::RawFileReader::LinkBlock::testFlag ( uint8_t  fl) const
inline

Definition at line 168 of file RawFileReader.h.

Member Data Documentation

◆ dataCache

std::unique_ptr<char[]> o2::raw::RawFileReader::LinkBlock::dataCache

different flags

Definition at line 157 of file RawFileReader.h.

◆ fileID

uint16_t o2::raw::RawFileReader::LinkBlock::fileID = 0

ir starting the block

Definition at line 155 of file RawFileReader.h.

◆ flags

uint8_t o2::raw::RawFileReader::LinkBlock::flags = 0

file id where the block is located

Definition at line 156 of file RawFileReader.h.

◆ ir

IR o2::raw::RawFileReader::LinkBlock::ir = 0

tf counter (from 0)

Definition at line 154 of file RawFileReader.h.

◆ offset

size_t o2::raw::RawFileReader::LinkBlock::offset = 0

Definition at line 151 of file RawFileReader.h.

◆ size

uint32_t o2::raw::RawFileReader::LinkBlock::size = 0

where data of the block starts

Definition at line 152 of file RawFileReader.h.

◆ tfID

uint32_t o2::raw::RawFileReader::LinkBlock::tfID = 0

block size

Definition at line 153 of file RawFileReader.h.


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