Project
Loading...
Searching...
No Matches
o2::tpc::sac::DecodedData Struct Reference

#include <SACDecoder.h>

Public Member Functions

void resize (size_t newSize)
 
size_t getNGoodEntries () const
 Number of good entries, for which all FEs were decoded.
 
gsl::span< const DataPointgetGoodData () const
 span of good entries for which all FEs were already decoded
 
void clearGoodData ()
 clear entries where all FEs were already decoded
 
void clear ()
 clear all data
 
void insertFront (const size_t entries)
 insert entries at the front
 
void setData (const size_t pos, uint32_t time, const DecodedDataFE &decdata, const int feid)
 copy decoded data from single FE and mark FE as received
 
 ClassDefNV (DecodedData, 1)
 

Public Attributes

double referenceTime {-1.}
 reference time when sampling clock was started
 
std::vector< DataPointdata
 decoded data
 
std::vector< std::bitset< NumberFEs > > fes
 bitmask of decoded FEs
 

Detailed Description

Definition at line 73 of file SACDecoder.h.

Member Function Documentation

◆ ClassDefNV()

o2::tpc::sac::DecodedData::ClassDefNV ( DecodedData  ,
 
)

◆ clear()

void o2::tpc::sac::DecodedData::clear ( )
inline

clear all data

Definition at line 112 of file SACDecoder.h.

◆ clearGoodData()

void o2::tpc::sac::DecodedData::clearGoodData ( )
inline

clear entries where all FEs were already decoded

Definition at line 104 of file SACDecoder.h.

◆ getGoodData()

gsl::span< const DataPoint > o2::tpc::sac::DecodedData::getGoodData ( ) const
inline

span of good entries for which all FEs were already decoded

Definition at line 98 of file SACDecoder.h.

◆ getNGoodEntries()

size_t o2::tpc::sac::DecodedData::getNGoodEntries ( ) const
inline

Number of good entries, for which all FEs were decoded.

Definition at line 85 of file SACDecoder.h.

◆ insertFront()

void o2::tpc::sac::DecodedData::insertFront ( const size_t  entries)
inline

insert entries at the front

Definition at line 119 of file SACDecoder.h.

◆ resize()

void o2::tpc::sac::DecodedData::resize ( size_t  newSize)
inline

Definition at line 78 of file SACDecoder.h.

◆ setData()

void DecodedData::setData ( const size_t  pos,
uint32_t  time,
const DecodedDataFE decdata,
const int  feid 
)

copy decoded data from single FE and mark FE as received

Definition at line 27 of file SACDecoder.cxx.

Member Data Documentation

◆ data

std::vector<DataPoint> o2::tpc::sac::DecodedData::data

decoded data

Definition at line 75 of file SACDecoder.h.

◆ fes

std::vector<std::bitset<NumberFEs> > o2::tpc::sac::DecodedData::fes

bitmask of decoded FEs

Definition at line 76 of file SACDecoder.h.

◆ referenceTime

double o2::tpc::sac::DecodedData::referenceTime {-1.}

reference time when sampling clock was started

Definition at line 74 of file SACDecoder.h.


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