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

#include <RawFileReader.h>

Public Member Functions

 LinkData ()=default
 next block which should be read
 
template<typename H >
 LinkData (const H &rdh, RawFileReader *r)
 
bool preprocessCRUPage (const RDHAny &rdh, bool newSPage)
 
size_t getLargestSuperPage () const
 
size_t getLargestTF () const
 
size_t getNextHBFSize () const
 
size_t getNextTFSize () const
 
size_t getNextTFSuperPagesStat (std::vector< PartStat > &parts) const
 
int getNHBFinTF () const
 
size_t readNextHBF (char *buff)
 
size_t readNextTF (char *buff)
 
size_t readNextSuperPage (char *buff, const PartStat *pstat=nullptr)
 
size_t skipNextHBF ()
 
size_t skipNextTF ()
 
bool rewindToTF (uint32_t tf)
 
void print (bool verbose=false, const std::string &pref="") const
 
std::string describe () const
 

Public Attributes

RDHAny rdhl
 
o2::InteractionRecord irOfSOX {}
 RDH with the running info of the last RDH seen.
 
LinkSpec_t spec = 0
 
LinkSubSpec_t subspec = 0
 Link subspec augmented by its origin.
 
uint32_t nTimeFrames = 0
 subspec according to DataDistribution
 
uint32_t nHBFrames = 0
 
uint32_t nSPages = 0
 
uint64_t nCRUPages = 0
 
bool cruDetector = true
 
bool continuousRO = true
 CRU vs RORC detector.
 
o2::header::DataOrigin origin = o2::header::gDataOriginInvalid
 
o2::header::DataDescription description = o2::header::gDataDescriptionInvalid
 
int nErrors = 0
 
std::vector< LinkBlockblocks
 
std::vector< std::pair< int, uint32_t > > tfStartBlock
 
bool openHB = false
 
int nHBFinTF = 0
 
int nextBlock2Read = 0
 

Detailed Description

Definition at line 173 of file RawFileReader.h.

Constructor & Destructor Documentation

◆ LinkData() [1/2]

o2::raw::RawFileReader::LinkData::LinkData ( )
default

next block which should be read

◆ LinkData() [2/2]

template<typename H >
o2::raw::RawFileReader::LinkData::LinkData ( const H &  rdh,
RawFileReader r 
)
inline

Definition at line 198 of file RawFileReader.h.

Member Function Documentation

◆ describe()

std::string RawFileReader::LinkData::describe ( ) const

Definition at line 49 of file RawFileReader.cxx.

◆ getLargestSuperPage()

size_t RawFileReader::LinkData::getLargestSuperPage ( ) const

Definition at line 307 of file RawFileReader.cxx.

◆ getLargestTF()

size_t RawFileReader::LinkData::getLargestTF ( ) const

Definition at line 324 of file RawFileReader.cxx.

◆ getNextHBFSize()

size_t RawFileReader::LinkData::getNextHBFSize ( ) const

Definition at line 103 of file RawFileReader.cxx.

◆ getNextTFSize()

size_t RawFileReader::LinkData::getNextTFSize ( ) const

Definition at line 175 of file RawFileReader.cxx.

◆ getNextTFSuperPagesStat()

size_t RawFileReader::LinkData::getNextTFSuperPagesStat ( std::vector< PartStat > &  parts) const

Definition at line 76 of file RawFileReader.cxx.

◆ getNHBFinTF()

int RawFileReader::LinkData::getNHBFinTF ( ) const

Definition at line 245 of file RawFileReader.cxx.

◆ preprocessCRUPage()

bool RawFileReader::LinkData::preprocessCRUPage ( const RDHAny rdh,
bool  newSPage 
)

Definition at line 341 of file RawFileReader.cxx.

◆ print()

void RawFileReader::LinkData::print ( bool  verbose = false,
const std::string &  pref = "" 
) const

Definition at line 59 of file RawFileReader.cxx.

◆ readNextHBF()

size_t RawFileReader::LinkData::readNextHBF ( char buff)

Definition at line 119 of file RawFileReader.cxx.

◆ readNextSuperPage()

size_t RawFileReader::LinkData::readNextSuperPage ( char buff,
const PartStat pstat = nullptr 
)

Definition at line 261 of file RawFileReader.cxx.

◆ readNextTF()

size_t RawFileReader::LinkData::readNextTF ( char buff)

Definition at line 191 of file RawFileReader.cxx.

◆ rewindToTF()

bool RawFileReader::LinkData::rewindToTF ( uint32_t  tf)

Definition at line 231 of file RawFileReader.cxx.

◆ skipNextHBF()

size_t RawFileReader::LinkData::skipNextHBF ( )

Definition at line 154 of file RawFileReader.cxx.

◆ skipNextTF()

size_t RawFileReader::LinkData::skipNextTF ( )

Definition at line 211 of file RawFileReader.cxx.

Member Data Documentation

◆ blocks

std::vector<LinkBlock> o2::raw::RawFileReader::LinkData::blocks

Definition at line 188 of file RawFileReader.h.

◆ continuousRO

bool o2::raw::RawFileReader::LinkData::continuousRO = true

CRU vs RORC detector.

Definition at line 183 of file RawFileReader.h.

◆ cruDetector

bool o2::raw::RawFileReader::LinkData::cruDetector = true

Definition at line 182 of file RawFileReader.h.

◆ description

o2::header::DataDescription o2::raw::RawFileReader::LinkData::description = o2::header::gDataDescriptionInvalid

Definition at line 186 of file RawFileReader.h.

◆ irOfSOX

o2::InteractionRecord o2::raw::RawFileReader::LinkData::irOfSOX {}

RDH with the running info of the last RDH seen.

Definition at line 175 of file RawFileReader.h.

◆ nCRUPages

uint64_t o2::raw::RawFileReader::LinkData::nCRUPages = 0

Definition at line 181 of file RawFileReader.h.

◆ nErrors

int o2::raw::RawFileReader::LinkData::nErrors = 0

Definition at line 187 of file RawFileReader.h.

◆ nextBlock2Read

int o2::raw::RawFileReader::LinkData::nextBlock2Read = 0

Definition at line 194 of file RawFileReader.h.

◆ nHBFinTF

int o2::raw::RawFileReader::LinkData::nHBFinTF = 0

Definition at line 193 of file RawFileReader.h.

◆ nHBFrames

uint32_t o2::raw::RawFileReader::LinkData::nHBFrames = 0

Definition at line 179 of file RawFileReader.h.

◆ nSPages

uint32_t o2::raw::RawFileReader::LinkData::nSPages = 0

Definition at line 180 of file RawFileReader.h.

◆ nTimeFrames

uint32_t o2::raw::RawFileReader::LinkData::nTimeFrames = 0

subspec according to DataDistribution

Definition at line 178 of file RawFileReader.h.

◆ openHB

bool o2::raw::RawFileReader::LinkData::openHB = false

Definition at line 192 of file RawFileReader.h.

◆ origin

o2::header::DataOrigin o2::raw::RawFileReader::LinkData::origin = o2::header::gDataOriginInvalid

Definition at line 185 of file RawFileReader.h.

◆ rdhl

RDHAny o2::raw::RawFileReader::LinkData::rdhl

Definition at line 174 of file RawFileReader.h.

◆ spec

LinkSpec_t o2::raw::RawFileReader::LinkData::spec = 0

Definition at line 176 of file RawFileReader.h.

◆ subspec

LinkSubSpec_t o2::raw::RawFileReader::LinkData::subspec = 0

Link subspec augmented by its origin.

Definition at line 177 of file RawFileReader.h.

◆ tfStartBlock

std::vector<std::pair<int, uint32_t> > o2::raw::RawFileReader::LinkData::tfStartBlock

Definition at line 189 of file RawFileReader.h.


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