#include <SiStripFEDBufferGenerator.h>
|
| ChannelData (bool dataIsAlreadyConvertedTo8Bit, const size_t numberOfSamples, const std::pair< uint16_t, uint16_t > medians=std::make_pair< uint16_t >(0, 0)) |
|
uint16_t | get10BitSample (const uint16_t sampleNumber) const |
|
uint8_t | get8BitSample (const uint16_t sampleNumber, uint16_t nBotBitsToDrop) const |
|
std::pair< uint16_t, uint16_t > | getMedians () const |
|
uint16_t | getSample (const uint16_t sampleNumber) const |
|
uint16_t & | operator[] (const size_t sampleNumber) |
|
const uint16_t & | operator[] (const size_t sampleNumber) const |
|
void | setMedians (const std::pair< uint16_t, uint16_t > values) |
|
void | setSample (const uint16_t sampleNumber, const uint16_t adcValue) |
|
size_t | size () const |
|
Definition at line 21 of file SiStripFEDBufferGenerator.h.
◆ ChannelData()
sistrip::FEDStripData::ChannelData::ChannelData |
( |
bool |
dataIsAlreadyConvertedTo8Bit, |
|
|
const size_t |
numberOfSamples, |
|
|
const std::pair< uint16_t, uint16_t > |
medians = std::make_pair<uint16_t>(0, 0) |
|
) |
| |
|
inline |
◆ get10BitSample()
uint16_t sistrip::FEDStripData::ChannelData::get10BitSample |
( |
const uint16_t |
sampleNumber | ) |
const |
|
inline |
◆ get8BitSample()
uint8_t sistrip::FEDStripData::ChannelData::get8BitSample |
( |
const uint16_t |
sampleNumber, |
|
|
uint16_t |
nBotBitsToDrop |
|
) |
| const |
|
inline |
◆ getMedians()
std::pair< uint16_t, uint16_t > sistrip::FEDStripData::ChannelData::getMedians |
( |
| ) |
const |
|
inline |
◆ getSample()
uint16_t sistrip::FEDStripData::ChannelData::getSample |
( |
const uint16_t |
sampleNumber | ) |
const |
|
inline |
◆ operator[]() [1/2]
uint16_t & sistrip::FEDStripData::ChannelData::operator[] |
( |
const size_t |
sampleNumber | ) |
|
|
inline |
◆ operator[]() [2/2]
const uint16_t & sistrip::FEDStripData::ChannelData::operator[] |
( |
const size_t |
sampleNumber | ) |
const |
|
inline |
◆ setMedians()
void sistrip::FEDStripData::ChannelData::setMedians |
( |
const std::pair< uint16_t, uint16_t > |
values | ) |
|
|
inline |
◆ setSample()
void sistrip::FEDStripData::ChannelData::setSample |
( |
const uint16_t |
sampleNumber, |
|
|
const uint16_t |
adcValue |
|
) |
| |
◆ size()
size_t sistrip::FEDStripData::ChannelData::size |
( |
void |
| ) |
const |
|
inline |
◆ data_
std::vector<uint16_t> sistrip::FEDStripData::ChannelData::data_ |
|
private |
◆ dataIs8Bit_
bool sistrip::FEDStripData::ChannelData::dataIs8Bit_ |
|
private |
◆ medians_
std::pair<uint16_t, uint16_t> sistrip::FEDStripData::ChannelData::medians_ |
|
private |