![]() |
Project
|
#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 DataPoint > | getGoodData () 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< DataPoint > | data |
decoded data | |
std::vector< std::bitset< NumberFEs > > | fes |
bitmask of decoded FEs | |
Definition at line 73 of file SACDecoder.h.
o2::tpc::sac::DecodedData::ClassDefNV | ( | DecodedData | , |
1 | |||
) |
|
inline |
clear all data
Definition at line 112 of file SACDecoder.h.
|
inline |
clear entries where all FEs were already decoded
Definition at line 104 of file SACDecoder.h.
|
inline |
span of good entries for which all FEs were already decoded
Definition at line 98 of file SACDecoder.h.
|
inline |
Number of good entries, for which all FEs were decoded.
Definition at line 85 of file SACDecoder.h.
|
inline |
insert entries at the front
Definition at line 119 of file SACDecoder.h.
|
inline |
Definition at line 78 of file SACDecoder.h.
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.
std::vector<DataPoint> o2::tpc::sac::DecodedData::data |
decoded data
Definition at line 75 of file SACDecoder.h.
std::vector<std::bitset<NumberFEs> > o2::tpc::sac::DecodedData::fes |
bitmask of decoded FEs
Definition at line 76 of file SACDecoder.h.
double o2::tpc::sac::DecodedData::referenceTime {-1.} |
reference time when sampling clock was started
Definition at line 74 of file SACDecoder.h.