![]() |
Project
|
helper to store the ADC raw data More...
#include <RawReaderCRU.h>
Public Types | |
using | DataVector = std::vector< uint32_t > |
Public Member Functions | |
ADCRawData () | |
default ctor. Resesrve 520 time bins per stream | |
void | add (int stream, uint32_t v0, uint32_t v1) |
add a stream | |
void | setOutputStream (uint32_t outStream) |
select the stream for which data should be processed | |
void | setNumTimebins (uint32_t numTB) |
uint32_t | getNumTimebins () const |
number of time bin for selected stream | |
void | streamTo (std::ostream &output) const |
write data to ostream | |
const DataVector & | getDataVector (int stream) const |
get the data vector for a specific stream | |
void | reset () |
reset | |
bool | hasData () const |
Friends | |
std::ostream & | operator<< (std::ostream &output, const ADCRawData &rawData) |
overloading output stream operator | |
std::ostream & | operator<< (std::ostream &output, const ADCRawData &rawData) |
overloading output stream operator to output ADCRawData | |
helper to store the ADC raw data
Definition at line 87 of file RawReaderCRU.h.
using o2::tpc::rawreader::ADCRawData::DataVector = std::vector<uint32_t> |
Definition at line 90 of file RawReaderCRU.h.
|
inline |
default ctor. Resesrve 520 time bins per stream
Definition at line 93 of file RawReaderCRU.h.
add a stream
Definition at line 101 of file RawReaderCRU.h.
|
inline |
get the data vector for a specific stream
Definition at line 136 of file RawReaderCRU.h.
|
inline |
number of time bin for selected stream
Definition at line 123 of file RawReaderCRU.h.
|
inline |
Definition at line 151 of file RawReaderCRU.h.
|
inline |
reset
Definition at line 142 of file RawReaderCRU.h.
|
inline |
set the number of time bins for the selected stream. If the number of timebins set exceeds the maximum timebins in the stream, the maximum will be set as the limit.
Definition at line 113 of file RawReaderCRU.h.
|
inline |
select the stream for which data should be processed
Definition at line 108 of file RawReaderCRU.h.
void ADCRawData::streamTo | ( | std::ostream & | output | ) | const |
write data to ostream
Definition at line 992 of file RawReaderCRU.cxx.
|
friend |
overloading output stream operator
Definition at line 129 of file RawReaderCRU.h.
|
friend |
overloading output stream operator to output ADCRawData